Skip to content

Redesign Apple dashboard - #365

Merged
lastcow merged 1 commit into
mainfrom
codex/redesign-apple-dashboard
Aug 4, 2026
Merged

Redesign Apple dashboard#365
lastcow merged 1 commit into
mainfrom
codex/redesign-apple-dashboard

Conversation

@lastcow

@lastcow lastcow commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • redesign the native iPhone/iPad dashboard with a professional role-aware hero, live course scope, account status, richer component cards, and recent course access
  • add a dedicated overview page for every dashboard component with scope, capabilities, course context, and a clear path into the existing feature
  • add responsive iPad navigation support, complete English and Simplified Chinese copy, and presentation coverage tests

Why

The previous dashboard only showed an icon and feature title. It did not communicate live workspace context, component purpose, or what users would find after opening a component.

Validation

  • signed Debug build for physical iPhone 16 Pro Max on iOS 26.5.2
  • full CourseWise test suite on the connected physical iPhone
  • English and zh-Hans localization parity: 160 keys each
  • plutil -lint for both localization files
  • git diff --check
  • installed and visually verified the final build on the connected iPhone

@lastcow
lastcow merged commit d6ebb2e into main Aug 4, 2026
4 checks passed
@lastcow
lastcow deleted the codex/redesign-apple-dashboard branch August 4, 2026 13:14

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfcc7742f0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +104 to +105
} catch {
errorMessage = error.localizedDescription

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve unknown course scope after a failed fetch

When the initial /api/courses request fails, courses remains its initial empty array and isLoading becomes false, so the dashboard reports 0 visible courses and every component detail says no courses are available even though the scope is actually unknown. The error notice does not prevent these false metrics; retain an explicit unavailable state or suppress the count and empty-course claims until a request succeeds.

Useful? React with 👍 / 👎.

Comment on lines +72 to +73
if !courses.isEmpty {
RecentCoursesSection(courses: Array(courses.prefix(3)))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Select genuinely recent courses

The course API returns rows in ascending creation order (apps/api/src/routes/courses.ts:169), so taking prefix(3) consistently labels the three oldest courses as “Recent Courses.” Users with more than three courses will not see their newest courses here; sort by an appropriate descending timestamp or change the API ordering before taking the prefix.

Useful? React with 👍 / 👎.

Comment on lines +333 to +334
ForEach(Array(courses.enumerated()), id: \.element.id) { index, course in
NavigationLink(value: FeatureDestination.courses) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Open the selected recent course

Every named course row navigates with the same .courses value, which AppShellView.destinationView resolves to CoursesView; therefore tapping a specific recent course only opens the general course list and requires selecting it again. Carry the row's course into a course-detail destination so this advertised quick-access section opens the course the user tapped.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants