Skip to content

feat(focus-group): migrate manager view to dashboard layout#2176

Merged
KarinePistili merged 5 commits into
ruxailab:developfrom
mohi-devhub:feat/focus-group-manager-dashboard
Jul 15, 2026
Merged

feat(focus-group): migrate manager view to dashboard layout#2176
KarinePistili merged 5 commits into
ruxailab:developfrom
mohi-devhub:feat/focus-group-manager-dashboard

Conversation

@mohi-devhub

Copy link
Copy Markdown
Member

What & Why

Rebuilds the Focus Group manager view on the shared ManagerDashboardLayout, with a real study dashboard that is consistent with the User Test and Heuristic manager dashboards.

Builds on the discussion-guide work merged in #2147 and adopts the menu/route renaming from #2154 (/focusGroup/dashboard/:id, "Dashboard" nav item).


Changes

  • Study overview metrics (StudyOverview.vue): four metric cards — Discussion Topics, Total Duration (summed from the guide), Max Participants, and Team (accepted cooperators).
  • Management modules: Discussion Guide card (topic preview + count, links to the guide editor), Session Configuration card (max participants + waiting-room / consent / hidden-observers flags), plus placeholders for Live Session and Results & Reports.
  • Status chip fix: the dashboard now reads the study's real status field (previously read a non-existent testStatus, so it was stuck on "Active" and did not reflect changes made in Settings). Status label is translated via the existing studyCreation.details.status.* keys.
  • Shared statusUtils: added icon/color/text coverage for the finished and upcoming statuses (offered in Settings but previously unmapped, so they rendered a fallback ? icon).
  • i18n: new Focus Group dashboard strings in en and es.

Related Images

ManagerViewUpdate

Notes

  • The same testStatus field mistake exists in the Heuristic and UserTest dashboards; left out of scope here.

Copilot AI review requested due to automatic review settings July 9, 2026 06:48
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

⚠️ PR Description Issues Detected

Please update the PR description to address these issues.

@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
6.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Migrates the Focus Group manager experience to the shared ManagerDashboardLayout dashboard pattern, aligning it with other study dashboards and adding Focus Group–specific overview/module cards.

Changes:

  • Rebuilds FocusGroup ManagerView into a dashboard layout with overview metrics and module cards (guide/config + placeholders).
  • Adds a new Focus Group StudyOverview metric component.
  • Extends shared status utilities for finished/upcoming and adds EN/ES i18n strings for the new dashboard UI.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/ux/FocusGroup/views/ManagerView.vue Replaces the legacy “under construction” view with ManagerDashboardLayout, adds modules/metrics wiring, and updates status display to use status.
src/ux/FocusGroup/components/manager/StudyOverview.vue New metric-card overview (topics, total duration, max participants, team).
src/shared/utils/statusUtils.js Adds icon/color/text mappings for finished and upcoming.
src/app/plugins/locales/en.json Adds Focus Group dashboard/module/overview strings (EN).
src/app/plugins/locales/es.json Adds Focus Group dashboard/module/overview strings (ES).

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

Comment on lines +264 to +267
const hasAccess =
accessLevel.value === ACCESS_LEVEL.ADMIN ||
accessLevel.value === ACCESS_LEVEL.EVALUATOR ||
accessLevel.value === ACCESS_LEVEL.GUEST
},
"modules": {
"guideTitle": "Discussion Guide",
"topicCount": "{count} topics",
},
"modules": {
"guideTitle": "Guía de Discusión",
"topicCount": "{count} temas",
@KarinePistili KarinePistili self-requested a review July 15, 2026 13:12
@KarinePistili KarinePistili merged commit 775ef1d into ruxailab:develop Jul 15, 2026
8 of 9 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.

3 participants