Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR polishes the Prompt Library UI/UX for the 1.3.x release line by refining the sidebar/control surfaces and improving the prompt form’s tag/model selection behavior.
Changes:
- Added a shared
LLM_MODELSconstant and wired it into the prompt form and model filter UI. - Reworked sidebar + control bar styling (new theme tokens, scroll containment, spacing, and surfaces).
- Replaced native tag datalist with a custom tag suggestion dropdown sourced from the sidebar tags.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/index.css | Introduces new theme tokens and major layout/styling changes for sidebar, control bar, and prompt cards. |
| src/constants.ts | Adds a shared list of LLM model names for reuse across the app. |
| src/components/WorkspaceManager.tsx | Adds sidebar guidance text and formatting adjustments. |
| src/components/TemplateManager.tsx | Moves template add/edit into a modal and adds “Add as Prompt” flow. |
| src/components/StorageUsage.tsx | Updates styling and adds sidebar guidance copy. |
| src/components/Sidebar.tsx | Adds sidebar guidance text for the Tags section. |
| src/components/SearchBar.tsx | Adds a search icon and improves accessibility labeling. |
| src/components/PromptList.tsx | Moves view toggle into the list header and changes prompt body rendering. |
| src/components/PromptForm.tsx | Implements custom tag suggestion dropdown and model selection via shared constants. |
| src/components/CleanupAssistant.tsx | Adds guidance copy and refines layout formatting. |
| src/App.tsx | Restructures main layout into a unified control bar; wires template->prompt creation. |
| package.json | Bumps version and adds dependencies related to datepicker/types. |
| package-lock.json | Updates lockfile for new deps, but version metadata is not aligned with package.json. |
| CHANGELOG.md | Adds release notes for 1.3.0 and a new 1.3.1 section. |
| .github/skills/web-ui-design/SKILL.md | Adds UI design skill documentation. |
| .github/skills/ux-design/SKILL.md | Adds UX design skill documentation. |
Comments suppressed due to low confidence (1)
src/index.css:1002
.prompt-list.gridis defined twice with conflicting layout strategies: earlier it uses CSS Grid (display: grid), but later it switches to multi-column layout (column-count). The later rule will override and effectively disable the grid-based independent-height behavior described in the comment above. Remove one of these approaches (or scope them to different classes) to avoid unpredictable layout.
.prompt-list.grid {
column-count: 3; /* Force the browser to use 3 columns on large resolutions */
column-gap: 1.5rem;
}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
release 1.3.1