-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New: completion icon added to progress indicators (fixes #288) #301
Conversation
- set progress indicator variables for consistent sizing - progress margin replaced with variable (same 0.25rem value) - progress border and .is-selected styles added - progress .is-visited icon style added
When _hasNavigationInTextArea and _isTextBelowImage/_isMobileTextBelowImage are enabled, the additional margin offsets the vertical display of the indicators within the controls for mobile view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
FYI @oliverfoster and @StuartNicholls as you were involved in the issue discussion. |
Those ticks should be white. Missing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# [7.9.0](v7.8.1...v7.9.0) (2024-04-19) ### Chore * e2e tests on narrative component (Issue/280) (#299) ([748f3d4](748f3d4)), closes [#299](#299) ### New * completion icon added to progress indicators (fixes #288) (#301) ([f41ab76](f41ab76)), closes [#288](#288) [#301](#301) ### Upgrade * Bump ip from 1.1.8 to 1.1.9 (#300) ([b2520b0](b2520b0)), closes [#300](#300)
Fixes #288
New
border
and.is-selected
styles added..is-visited
icon style added. Tick icon displayed for consistency with other visited component item states.The overall
.narrative__progress
size has increased from 12px to 16px. The screen shots shared in the issue have larger icons (@icon-size
1.5rem
for consistency with other component item visited ticks) however this limits the amount of items we can comfortably fit visually and the preference was to keep these small.Update
_hasNavigationInTextArea
is enabled, displaying the indicators within the controls limits the space available for the indicators. Instead, display these consistently, below the image, across the various layout views. See issue for discussion.0.25rem
value).Dependency
Vanilla narrative.less will need updating to include
color
andborder-color
styles. I'll update the testing instructions when a Vanilla PR has been raised. Issue raised.Testing
.narrative__progress
background-color
styles in Vanilla narrative.less. For example:In component.json, default layout:
Enable
_hasNavigationInTextArea
:Enable
_hasNavigationInTextArea
and_isMobileTextBelowImage
:^ mobile view (based on 375px screen width) supports 9 items before progress indicators are wrapped.