-
Notifications
You must be signed in to change notification settings - Fork 301
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
General
: Enhance exercise buttons with exercise type icons
#7216
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.
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.
Code LGTM
Tested on ts2 and works as expected
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 good over all and I personally like the icons behind the text better as you already did.
Can you also add these icons to the course exercise page? Additionally I noticed that the import and create option in the exam page is the other way round compared to the course page. You could unify that order as well (I'd suggest creation above/before import)
b06bfc3
General
: enhance exercise-group controls with exercise type icons on desktopGeneral
: enhance create/import exercise button with exercise type icons on desktop
Thank you for your feedback, I sticked to the exercise icon at the end, added the icon also in the course exercise views and unified the order of create/import buttons. Please have another look at the PR. |
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.
Thanks for unifying the two occurrences.
Code looks good to me
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.
Tested on TS5. The icons are visible for exam exercise groups and course exercises 👍
General
: enhance create/import exercise button with exercise type icons on desktopGeneral
: Enhance exercise buttons with exercise type icons
src/main/webapp/app/exercises/shared/manage/exercise-create-buttons.component.ts
Outdated
Show resolved
Hide resolved
7d8a8b0
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.
Reapprove after unification
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.
Tested on ts1. Works as expected
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.
Re-tested on TS5 and reapproved
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.
tested on ts1, icons are displayed as expected
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.
Recent code changes lgtm
Checklist
General
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
Stephan suggested adding exercise-type icons for the Create/Import Exercise buttons in the exercise group management view to improve UX.
Description
These icons are already displayed on mobile, when the button label is not displayed anymore. This PR displays them also on desktop after the label.
Edit: Same goes for the course exercise create/import buttons and the order of create and import buttons is unified to first the "Create" Button and then the "Import" Button.
Steps for Testing
Prerequisites:
Review Progress
Code Review
Manual Tests
Test Coverage
Screenshots
Desktop:
Mobile:
course exercises: