[#72945] Backlogs container header (Sprint/Bucket/Inbox) restyling#23215
Draft
myabc wants to merge 7 commits into
Draft
Conversation
Introduces op-flag icon. See opf/openproject-octicons#203
Icons: :play -> :rocket, :check -> :op-flag. Labels: "Start" -> "Start sprint", "Complete" -> "Complete sprint". https://community.openproject.org/wp/72945
Adds SprintStatusBadgeComponent with opaque bg: backgrounds following the Jira import StatusBadgeComponent pattern. https://community.openproject.org/wp/72945
Deploying openproject with ⚡ PullPreview
|
Adds `collapsible:` (default `false`) to BorderBoxListComponent. When true, the header renders a CollapsibleHeader with toggle. When false, title/count/description render as plain components. https://community.openproject.org/wp/72945
Adds `scheme: :flat` to BorderBoxListComponent with CSS overrides for transparent header background and no separator line. Backlogs callers adopt the flat scheme. https://community.openproject.org/wp/72945
Restructures the non-collapsible header branch to mirror CollapsibleHeader's HTML structure: title+count on one row, description on a second row. Reuses upstream CSS classes. https://community.openproject.org/wp/72945
5 tasks
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.
Note
This PR is based off #23074. Please review that PR first.
Ticket
https://community.openproject.org/wp/72945
What are you trying to accomplish?
Restyle sprint, bucket, and inbox container headers per the Figma spec. This PR covers the quick-win changes:
:play→:rocket,:check→op-flagPrimer::Beta::LabelviaSprintStatusBadgeComponent)BorderBoxListComponent::HeaderBuilt on top of the
BorderBoxListComponentextraction from #74684 (PR #23074).What approach did you choose and why?
SprintStatusBadgeComponentfollows the Jira importStatusBadgeComponentpattern — usesbg:system argument for opaque label backgrounds rather thanscheme:(which renders transparent).Merge checklist