Skip to content
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

[Android] Dates Screen Stylistic Updates (Icons, Present Date Assignment Time, & Locked Content) #156

Closed
Tracked by #103
moiz994 opened this issue Dec 8, 2023 · 0 comments · Fixed by #212
Closed
Tracked by #103

Comments

@moiz994
Copy link

moiz994 commented Dec 8, 2023

Further stylistic changes along with some logic updates are needed in the dates tab:

  1. Addition of icons beside course dates based on type
  2. Logic for managing assignments on present dates between Past Due and Today section
  3. Locked Content and standard course dates design

1. Addition of icons beside course dates based on type

Goal: Addition of icons based on item type in the course schedule i.e. assignments, quiz, etc.

We might need to have a look at what item type is returned from the server on course dates (i.e. assignment) first and then group icons to specific types. Refer to the Figma for icons to be used.

2. Assignment on present date logic

We need to update the logic for course dates to handle the case of showing past-due course dates on the same day.

The "Today" group will encompass current time until midnight on the user's device in its filter for course dates.

Rational: We saw some edge cases where some events were at different dates but with time less than 24 hours within them so grouping the section in under 24 hours did not make sense. We will be treating the Today section by applying a filter on course dates due from the current time till midnight on the user's device time.

Consider time when filtering course dates between Past Due and Today Section on the present date.

Rational: Since time is also being considered for grouping course dates on this screen, there is a case where a course date can be due on the same day which will result it appearing in the Past Due section and the Today section. A quick solution is to only show it in the Past Due section, however, the date above the hyperlink will be shown as today. To counter this, we will show the dates in the past due section as time instead i.e. 1 hour ago/2 hour ago. Similarly, for the Today section, we will show the time left in submission above the course date i.e. 2 hours left, 1 hour left.

3. Locked Content and Standard Course Date Designs

For locked content, we need to show the lock icon next to the course date item title and under the title, we will show a copy in a lighter font as shown in the Figma design for Verification Deadline.

For Audit Access Expires and Verification Upgrade Deadline course dates, we will treat the same as above. Lock icon on the side and content in lighter color below. Content will be the same as the current production content for these items.

Audit Access Expires
You lose all access to this course, including your progress.

Verification Upgrade Deadline
You are still eligible to upgrade to a Verified Certificate! Pursue it to highlight the knowledge and skills you gain in this course.

Standard course dates mentioned below have a graduate cap icon next to them as shown in the Figma design.

  • Course Starts
  • Course Ends
@moiz994 moiz994 converted this from a draft issue Dec 8, 2023
@moiz994 moiz994 changed the title [Android] Icon beside course content on the dates screen [Android] Dates Screen Stylistic Updates (Icons, Present Date Assignment Time, & Locked Content) Jan 4, 2024
@HamzaIsrar12 HamzaIsrar12 linked a pull request Apr 4, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from In Discovery / Definition to Done in Open edX Mobile Roadmap Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants