-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[#10569] Missing loading icons and bugs for session edit form #11007
[#10569] Missing loading icons and bugs for session edit form #11007
Conversation
Hi, can you show some screenshot of the before/after change view? This way, it is easier to view the direct impact of the intended changes. |
Here is a before video: Here some after screenshots: |
@moziliar This should be ready for review now. Let me know if you need anything else from 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.
Thank you for your contribution!
I am not sure if this PR is linked to the right issue/PR as I cannot elicit any context from the target page. Could you check it again? Otherwise, could you fill me in with some context?
I think the spinners should be great to have.
However, the save button was being deleted before the save processed had finished.
Maybe add a slower version of this scene could be snipped for reference? The video doesn't show a UX flaw induced by this effect.
.../app/pages-instructor/instructor-session-edit-page/instructor-session-edit-page.component.ts
Show resolved
Hide resolved
.../app/pages-instructor/instructor-session-edit-page/instructor-session-edit-page.component.ts
Outdated
Show resolved
Hide resolved
0eb82f1
to
5e52c11
Compare
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.
Do revert the package-lock.json
file that is modified, probably due to an npm install that updates the hash.
Otherwise, this PR LGTM!
This reverts commit 5e52c11.
2480e6f
to
ac16d86
Compare
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.
LGTM. The changes are clean.
Some tips about the revert process is that: |
Thank you for the advice on the revert process. I will keep that in mind for next time. Sorry for the excessive commits. |
Do note that try not to overwrite the history that is in used elsewhere, e.g. in collab branch or the branch is in use elsewhere, in which case a revert commit is a wiser choice, albeit the extra commit. |
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.
LGTM
Part of #10569
Outline of Solution
I found the HTML page for the session edit form and added directives to each button to turn the spinner component on and off based on boolean values. I then went to methods of the corresponding action (delete, cancel, etc.) and boolean variables to determine if the action was still in progress. The top save button was slightly different. Someone had already added the directive. However, the save button was being deleted before the save processed had finished. I changed the HTML code to ensure the button remained throughout the saving processes.