-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implementation for Edit Assessment dialogue (1/2) #252
Comments
It allows the user to perform all the primary actions it was intended to do.
Is this referring to the scrolling behaviour?
It was implemented as it was defined in the prototype. The prototype since changed. Please be aware of how comments like these come across. Lastly, let's do Alternative 2: Expanding card |
For the first two points, I will reply in the comment section in #253.
For desktop Edit Assessment Panel, though several different approaches have been discussed on how the panel should present itself, the fact that the Panel should be a floating element has never been changed since the very first prototype. Currently, Edit Panel lives in For mobile Edit Assessment Panel, the prototype in fact has never been changed since the very first version either. In both versions of prototype, the Panel is transitioned from the bottom and takes the entire screen: Screen.Recording.2023-03-22.at.1.44.12.PM.movIn our current implementation, the Panel is not taking up the entire screen. The video below provides a comparison: RPReplay_Final1679514437.1.mp4From both mobile and desktop prototypes, I believed it should be fairly straight-forward for developers to come to the conclusion that the Panel is somewhat an independent page or a float dialogue. Indeed, there are similar concepts that would be applied here in Material Design 3 where a full-screen dialogue shows on mobile if the dialogue contains a form (please see the link above) - which is what the mobile version prototype exactly presents. Though #234 improves, it is not addressing the Dialogue issue described in here. This Issue is not to disqualify any work for Edit Assessment Panel. In the opposite, I realize that there is unclarity for the expected behaviour for the Panel, which leads to an unexpected implementation that causes mentioned problem previously. This Issue is to:
Up to this point, I shall also give a rough approach of how the Panel implementation should be changed:
Which is a fairly easy fix. |
Sounds good, I think in the early prototypes there was just the mobile dialogue, and I assumed it was more of a component that could be rendered into desktop or mobile screens rather than a whole screen just for mobile |
Background
The current desktop user interface is problematic, which doesn't provide a valid user experience to perform primary actions and accomplish user tasks:
These two problems must be resolved before we can publish this project as a complete product.
Editing assessment dialogue specifications
Desktop
The Dialogue should be a fixed floating panel above assessment list and must not scroll with the window scrollbar. User should be able to scroll the Dialogue independently from PDF viewer. Regardless of which assessment card user has opened, the position of the window scroll bar must not change when an assessment is clicked for editing, because user should not be jumping around within the assessment list.
Alternative 1: Regular dialogue
The simplest alternative is to open a regular big dialogue which has editing panel on the left and pdf on the right again.
Alternative 2: Expanding card
Another easier alternative is that assessment card is expanded into editing panel. Only one card will show its editing panel at a time.
Mobile
The Dialogue is a full-screen dialogue. It technically is almost an independent page but with presence transition animation from the bottom. The dialogue should be floating above the course page and must not live within course page as a child panel. The Dialogue has an
AppTopBar
component (small
version) allowing user to save or close the dialogue. The Dialogue must fill the entire screen.See: https://m3.material.io/components/dialogs/guidelines#63783a40-cb25-46d4-9cd6-6f6ed43e4650
Please leave comments if you have any questions/concerns, eg. how the expected behaviour should be looking like.
The text was updated successfully, but these errors were encountered: