Skip to content

courses: add courses UI revamp (fixes #9977)#9978

Open
Mutugiii wants to merge 5 commits into
masterfrom
9977-add-courses-ui-revamp
Open

courses: add courses UI revamp (fixes #9977)#9978
Mutugiii wants to merge 5 commits into
masterfrom
9977-add-courses-ui-revamp

Conversation

@Mutugiii

@Mutugiii Mutugiii commented Jun 8, 2026

Copy link
Copy Markdown
Member

Fixes #9977

  • Place the course's details section into a collapsible section, giving more screen real estate to the steps while they are in focus.
  • Update the courses step action buttons styling
image image

@Mutugiii Mutugiii linked an issue Jun 8, 2026 that may be closed by this pull request

@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: 87226202b5

ℹ️ 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 thread src/app/courses/add-courses/courses-add.component.html Outdated
Comment thread src/app/courses/add-courses/courses-add.component.html Outdated

Copilot AI 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.

Pull request overview

This PR implements the “Add Courses” UI revamp (fixes #9977) by making the course details form collapsible to prioritize step editing space, and by updating the step action UI to a card-based attachment layout.

Changes:

  • Wrap the course details form in a Material expansion panel and auto-collapse it when step editing opens.
  • Replace the step action button row (test/resource/survey) with a responsive “attach card” grid.
  • Update layout/styling in the add-courses view to support the new structure.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/app/courses/add-courses/courses-step.scss Adds styling for the new card-based step attachment action UI.
src/app/courses/add-courses/courses-step.component.ts Replaces the old “add step” output with a stepEditorOpenChange signal used to collapse course details while editing steps.
src/app/courses/add-courses/courses-step.component.html Updates step actions to a 3-card grid for adding/updating tests, resources, and surveys.
src/app/courses/add-courses/courses-add.scss Adjusts layout and styles for the new collapsible course-details panel and field layout grid.
src/app/courses/add-courses/courses-add.component.ts Adds expansion state + submit attempt state; collapses details when step editor opens and expands on invalid submit.
src/app/courses/add-courses/courses-add.component.html Introduces the expansion panel around course details and wires up step-editor open events.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Mutugiii

Mutugiii commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ 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".

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add courses UI revamp

2 participants