Skip to content

♻️(frontend) change favorite to star - #2539

Open
AntoLC wants to merge 2 commits into
mainfrom
refacto/favorite-star
Open

♻️(frontend) change favorite to star#2539
AntoLC wants to merge 2 commits into
mainfrom
refacto/favorite-star

Conversation

@AntoLC

@AntoLC AntoLC commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Change the favorite to star, it will be part of the grid list as the others, we can select them directly from a filter in the url.

Ref: #2364

Demo

image

@AntoLC AntoLC self-assigned this Jul 27, 2026
@AntoLC AntoLC added enhancement improve an existing feature frontend feature add a new feature labels Jul 27, 2026
@AntoLC AntoLC changed the title Refacto/favorite star ♻️(frontend) change favorite to star Jul 27, 2026
@AntoLC
AntoLC force-pushed the refacto/favorite-star branch from 7ecbcc1 to 6f31010 Compare July 29, 2026 12:53
@AntoLC
AntoLC force-pushed the refacto/favorite-star branch from 6f31010 to aa64e4a Compare July 29, 2026 13:06
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Size Change: +2.63 kB (+0.06%)

Total Size: 4.37 MB

📦 View Changed
Filename Size Change
apps/impress/out/_next/static/4fb946fb/_buildManifest.js 673 B +673 B (new file) 🆕
apps/impress/out/_next/static/73f75398/_buildManifest.js 0 B -677 B (removed) 🏆
apps/impress/out/_next/static/chunks/4749.js 62.2 kB +2.63 kB (+4.42%)

compressed-size-action

@AntoLC
AntoLC force-pushed the refacto/favorite-star branch from aa64e4a to 9ab929e Compare July 29, 2026 14:04
@AntoLC
AntoLC marked this pull request as ready for review July 29, 2026 14:08
@AntoLC
AntoLC requested a review from Ovgodd July 29, 2026 14:37
@AntoLC

AntoLC commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The PR replaces document pinning terminology and visuals with starring, adds a STARRED document filter backed by a favorite-documents query, and displays star indicators in document headers and grid items. The home left panel now presents target filters instead of pinned favorites. End-to-end tests are updated for Recent, Starred, and star/unstar workflows, alongside logo sizing and changelog adjustments.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Suggested reviewers: ovgodd

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and clearly matches the main frontend change from favorite to star.
Description check ✅ Passed The description is directly related to the changeset and explains the star/filter behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refacto/favorite-star

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@src/frontend/apps/impress/src/features/docs/docs-grid/components/DocsGridItem.tsx`:
- Around line 205-225: Move the access-state labels out of the aria-hidden Icon
content in DocsGridItem, keeping the appropriate translated label for public and
authenticated access visible to screen readers through a separate accessible
element. Preserve the existing icons and visual styling while ensuring both
access states have an accessible label outside Icon.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 70434a5c-f03b-4b3c-b505-fc22bdf37147

📥 Commits

Reviewing files that changed from the base of the PR and between eed828d and 9ab929e.

⛔ Files ignored due to path filters (12)
  • src/frontend/apps/impress/public/assets/icon-docs-dsfr-v4.png is excluded by !**/*.png
  • src/frontend/apps/impress/public/assets/icon-docs.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/doc-all.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/clock.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/globe-lock.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/globe.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/star-filled.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/star-slash.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/star.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/trash.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/assets/icons/ui-kit/user.svg is excluded by !**/*.svg
  • src/frontend/apps/impress/src/features/docs/doc-management/assets/pinned-document.svg is excluded by !**/*.svg
📒 Files selected for processing (21)
  • CHANGELOG.md
  • src/backend/impress/configuration/theme/default.json
  • src/frontend/apps/e2e/__tests__/app-impress/auth.setup.ts
  • src/frontend/apps/e2e/__tests__/app-impress/doc-grid.spec.ts
  • src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts
  • src/frontend/apps/e2e/__tests__/app-impress/doc-trashbin.spec.ts
  • src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts
  • src/frontend/apps/e2e/__tests__/app-impress/left-panel.spec.ts
  • src/frontend/apps/impress/src/features/docs/doc-header/components/DocHeaderInfo.tsx
  • src/frontend/apps/impress/src/features/docs/doc-header/components/DocToolBox.tsx
  • src/frontend/apps/impress/src/features/docs/doc-management/components/SimpleDocItem.tsx
  • src/frontend/apps/impress/src/features/docs/doc-management/hooks/useTrans.tsx
  • src/frontend/apps/impress/src/features/docs/doc-management/types.tsx
  • src/frontend/apps/impress/src/features/docs/doc-search/components/DocSearchItem.tsx
  • src/frontend/apps/impress/src/features/docs/docs-grid/components/DocsGrid.tsx
  • src/frontend/apps/impress/src/features/docs/docs-grid/components/DocsGridActions.tsx
  • src/frontend/apps/impress/src/features/docs/docs-grid/components/DocsGridItem.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LefPanelTargetFilters.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LeftPanelContent.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFavorites.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LeftPanelHeader.tsx
💤 Files with no reviewable changes (3)
  • src/frontend/apps/impress/src/features/docs/doc-search/components/DocSearchItem.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LeftPanelFavorites.tsx
  • src/frontend/apps/impress/src/features/left-panel/components/LeftPanelContent.tsx

AntoLC added 2 commits July 30, 2026 10:49
Change the favorite to star, it will be part of
the grid list as the others, we can select them
directly from a filter in the url.
The logo Docs seems to have again changed in the
design system. We update the logo part accordingly
to the new design system logo.
@AntoLC
AntoLC force-pushed the refacto/favorite-star branch from 9ab929e to 5337072 Compare July 30, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve an existing feature feature add a new feature frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant