Skip to content

teams: smoother survey rating scaling (fixes #9906)#9907

Merged
dogi merged 12 commits into
masterfrom
9906-surveys-ui-improvements
May 21, 2026
Merged

teams: smoother survey rating scaling (fixes #9906)#9907
dogi merged 12 commits into
masterfrom
9906-surveys-ui-improvements

Conversation

@Mutugiii
Copy link
Copy Markdown
Member

Fixes #9906

redesign exams/surveys workflow, and introduce a visual progress tracker

simplescreenrecorder-2026-04-27_16.51.37.mp4

@Mutugiii Mutugiii linked an issue Apr 27, 2026 that may be closed by this pull request
Copy link
Copy Markdown

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

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: d38688b322

ℹ️ 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/exams/exams-view.component.ts Outdated
@Mutugiii
Copy link
Copy Markdown
Member Author

Upgraded this to add a new customizable rating scale from 5 - 9

simplescreenrecorder-2026-04-28_19.51.23.mp4

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Redesigns the exams/surveys “take” workflow UI and adds a visual progress indicator, while also making rating-scale questions configurable via a per-question maximum scale value.

Changes:

  • Add scaleMax support for rating-scale questions (authoring + rendering).
  • Redesign select/selectMultiple/ratingScale interactions using card-style options, “Other” focus behavior, and slide transitions between questions.
  • Add a top progress bar and various layout/style refinements for the exams view.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/exams/exams.service.ts Adds scaleMax to question form model and initializes it (default 9).
src/app/exams/exams.model.ts Extends ExamQuestion with optional scaleMax for persistence/backward compatibility.
src/app/exams/exams-view.scss Implements new card-based option styling, progress bar styling, and slide animations.
src/app/exams/exams-view.component.ts Computes progress %, builds rating scale numbers from scaleMax, and adds “Other” focus helpers + navigation direction tracking.
src/app/exams/exams-view.component.html New progress bar, card-based selection UI, and conditional rating-scale layouts (grid vs row).
src/app/exams/exams-question.scss Updates authoring layout and adds styling for the scale selector.
src/app/exams/exams-question.component.ts Adds Material button-toggle imports and exposes scaleMaxOptions.
src/app/exams/exams-question.component.html Adds a scale selector (5–9) when authoring a rating-scale question.
src/app/exams/exams-add.component.html Updates rating-scale label text in the “add question” menu.

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

Comment thread src/app/exams/exams.model.ts
Comment thread src/app/exams/exams-view.component.html Outdated
Copy link
Copy Markdown
Member

@paulbert paulbert left a comment

Choose a reason for hiding this comment

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

Just a few things that I've noticed:

  • The progress bar is getting a little lost in the toolbar. Not sure if many people will notice it at first. If it's not really critical to see I think it's fine because this way it takes up very little space.
  • For the new rating scale I think it'd be better to move the selection below the question type. It's hard to notice pushed over to the left.
Screenshot from 2026-05-04 13-50-20
  • The animation appears to only be working the first time you go in a particular direction (i.e. clicking forward twice in a row results in one change with the animation and one without). Looks like Copilot might have a good explanation for this. Thinking this through might be best to do a follow up PR to fix rather than holding up the other key changes to the surveys.

@dogi dogi changed the title exams: improve workflow UI (fixes #9906) teams: smoother survey rating scaling (fixes #9906) May 21, 2026
@dogi dogi merged commit ed6ddc1 into master May 21, 2026
14 checks passed
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.

surveys UI improvements

5 participants