Skip to content

feat: move data copilot under overview - #5456

Merged
skwowet merged 2 commits into
mainfrom
feat/issue-483-data-copilot-under-overview
Nov 26, 2026
Merged

skwowet merged 2 commits into
mainfrom
feat/issue-483-data-copilot-under-overview

Conversation

@skwowet

@skwowet skwowet commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Data Quality Copilot now sits under Overview in the sidebar and opens without a project group. With no group selected, it lists issues across all projects. With a group selected, it stays scoped to that group as before.

  • The menu item is always clickable and links to /data-quality-assistant. The router still adds ?projectGroup= when a group is selected.
  • The route uses optionalSelectedProjectGroup instead of redirecting to /project-groups.
  • Without a group, the page header doesn't show a group name and the in-page project dropdown is hidden, since it has no projects to list.
  • The bot, fake company, and people issue lists send no segment when there's no group, like the merge suggestion lists already did.
  • fetchBotSuggestions and fetchFakeOrganizationSuggestions no longer default to getSelectedProjectGroup()!.id, which threw without a group. auth-axios already sends the selected group when a request has no segments.

The backend support landed in #5436 and #5437. A way to clear the sidebar selection back to all issues, and where the project filter should live, wait on the new design.

Closes linuxfoundation/lfx-cdp-insights-ops#483

@skwowet
skwowet requested review from a team and lfx-one as code owners November 26, 2026 18:47
Copilot AI balanced review requested due to automatic review settings November 26, 2026 18:47
@lfx-one

lfx-one commented Nov 26, 2026 •

Copy link
Copy Markdown

@skwowet I'm starting review 1 of this pull request now (started 2026-11-26 18:48 UTC using review agent v0.1.34). This usually takes a few minutes. I'll update this comment with the summary when I'm done. If there's no summary here after about 45 minutes, the review stopped: push a new commit, or post a comment that begins with a mention of me followed by re-review, to start another. For help with the review agent, see https://github.com/linuxfoundation/lfx-review-agent/issues.


Hi Yeganathan S, thanks for the clear PR description.

Summary

This moves Data Quality Copilot under Overview in the sidebar and lets it open without a project group, so it lists issues across all projects. The change is small and consistent, with one open question about group changes made on the page.

Decision

⏸️ Not approved, new commits pushed during review

❔ 1 question

Commits pushed after ed71432 were not reviewed. The next push, a comment that begins with a mention of me followed by re-review, or converting the PR to a draft and marking it ready again starts a follow-up review that covers them. I found no blocking issues in ed71432.

Details

Overall impression: The PR makes the project group optional across the route, the page header, the project dropdown and the member and organization issue lists. It also removes the getSelectedProjectGroup()!.id defaults that threw when no group was selected. The [question] is whether the lists follow a group picked in the sidebar after the page has opened, since projectGroup is read once from the route query. I found no correctness, security or privacy problems in the diff.

❔ Question: 1 item: Does the list follow a sidebar group change made on this page?

Other reviewers and CI checks: No other reviewer comments. The required DCO check passed on ed71432.

Documentation reminder: changed Data Quality Copilot, /data-quality-assistant. Please check product pages and external docs; the author and maintainers own those updates.

Rule files: read frontend/CLAUDE.md, AGENTS.md; skipped CONTRIBUTING.md (not read); .claude/rules/ not read

Questions, problems, or feedback: https://github.com/linuxfoundation/lfx-review-agent/issues

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Moves Data Quality Copilot below Overview and lets users open it without selecting a project group.

  • Data Quality Copilot opens from Overview with or without a project group.
  • Issue lists use all projects when no project group is selected.

Reviews (3) · Last reviewed commit: "fix: keep the selected group in the data..." · Reviewed by Greptile

…group

Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
@skwowet skwowet self-assigned this Nov 26, 2026
@skwowet
skwowet force-pushed the feat/issue-483-data-copilot-under-overview branch from ed71432 to ee4c213 Compare November 26, 2026 18:50

@lfx-one lfx-one 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.

New commits were pushed while this review ran; this review covers ed71432 only.

The change is small and consistent: the optional project group is handled in the route, the page header, the dropdown and the three list components, and the segment defaults that threw without a group are gone. No blocking findings; one open question is below.

Documentation

This pull request changes behavior that may also be described outside this repository, such as product pages or an external docs site. I can't read those, so please check them; the author and maintainers own those updates. Changed here:

  • Data Quality Copilot (sidebar entry moved under Overview)
  • /data-quality-assistant (route now opens without a project group)

Findings outside the diff

[question] Does the list follow a sidebar group change made on this page? (frontend/src/modules/data-quality/components/data-quality-member.vue:58)

Issue: projectGroup is a one-time snapshot of route.query.projectGroup, while the page header now follows the live selectedProjectGroup store value.
Proof: with no group selected the page opens with projectGroup undefined, so the in-page dropdown is hidden (v-if="projectGroup") and the lists get no segment. If a group is then picked in the sidebar, nothing in this component updates projectGroup from the route or the store.
Why it matters: the header could show a group name while the lists stay unscoped, unless the route change remounts the page or auth-axios adds the group on reload. I couldn't confirm either from the diff.
Fix: if a remount or the auth-axios fallback already covers this, no change is needed. Otherwise, sync projectGroup from route.query.projectGroup with a watch. The same applies in data-quality-organization.vue.

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.

🟡 Changes recommended

The menu link omits the selected projectGroup query parameter, so opening it in a new tab shows global issues instead of the selected group's issues.

1 open issue
What changed in this PR

Moves Data Quality Copilot below Overview in the sidebar and enables cross-project issue browsing without a selected project group, using the backend support from #5436 and #5437.

Changes:

  • Makes the Copilot link available without a project group and changes the route to accept an optional selection.
  • Hides group-specific headers and project filters when no group is selected.
  • Updates suggestion requests and component types to support unscoped queries.
File Description
frontend/​src/​modules/​organization/​services/​organization.api.service.ts Removes the required group lookup for fake-company suggestions.
frontend/​src/​modules/​member/​services/​member.api.service.ts Removes the required group lookup for bot suggestions.
frontend/​src/​modules/​layout/​components/​menu/​menu.vue Moves Copilot below Overview and removes its disabled state.
frontend/​src/​modules/​data-quality/​pages/​data-quality.page.vue Shows the group header only when a group is selected.
frontend/​src/​modules/​data-quality/​data-quality.routes.ts Makes project-group selection optional.
frontend/​src/​modules/​data-quality/​components/​shared/​data-quality-project-dropdown.vue Allows an undefined project selection.
frontend/​src/​modules/​data-quality/​components/​organization/​data-quality-fake-organization-suggestions.vue Supports fake-company requests without a segment.
frontend/​src/​modules/​data-quality/​components/​member/​data-quality-member-issues.vue Supports people-issue requests without a segment.
frontend/​src/​modules/​data-quality/​components/​member/​data-quality-member-bot-suggestions.vue Supports bot requests without a segment.
frontend/​src/​modules/​data-quality/​components/​data-quality-organization.vue Hides the company project filter without a selection.
frontend/​src/​modules/​data-quality/​components/​data-quality-member.vue Hides the people project filter without a selection.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 26, 2026 18:51
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
@skwowet

skwowet commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator Author

Does the list follow a sidebar group change made on this page?

No change needed. Picking a group in the sidebar calls updateSelectedProjectGroup(projectGroup) with the default sendToDashboard = true, which navigates to the People page. The Copilot page never stays open across a group change, and it mounts fresh with the group in the URL when you come back.

@lfx-one

lfx-one commented Nov 26, 2026

Copy link
Copy Markdown

@skwowet A recent review was posted within the last 5 minutes: #5456 (comment). I won't re-review yet. Push another update after 5 minutes if you want another pass.

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.

🟡 Changes recommended

The menu link omits the selected project group from its query, so opening it in a new tab loses that scope and displays issues across all projects.

1 open issue
1 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 26, 2026 18:55

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.

🟢 Approval recommended

No active review issues remain for the changes enabling Data Quality Copilot access without a selected project group.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@skwowet
skwowet requested a review from lfx-one November 26, 2026 18:58
@skwowet
skwowet merged commit 74d5343 into main Nov 26, 2026
15 checks passed
@skwowet
skwowet deleted the feat/issue-483-data-copilot-under-overview branch November 26, 2026 19:04
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