-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update: display padlock for locked items (fixes #209) #210
Conversation
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.
👍
@kirsty-hames I prefer only showing the lock icon instead of both the lock icon and (nearly) empty progress bar.
The only drawback is that you won't see "optional content" unless the item has been unlocked, but not sure how important that is? Curious if others agree. |
Thanks @swashbuck. I agree with your points and this would also be my preference.
|
- render icon after 'optional content' so icons display vertically aligned. - justify btn content. - amend indicator margin for alignment with icons.
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.
👍 Looks and works great!
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.
👀
🎉 This PR is included in version 7.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #209
Update
As per adaptlearning/adapt-contrib-vanilla#446, locked buttons should display a padlock icon.
I considered whether the padlock icon should replace the progress indicator when locked but for now decided to keep this as supplementary.
Note, the addition of `.pagelevelprogress__item-icon` could be later used to replace progress bars with icons as per #181.