Skip to content

feat(frontend): ✨ add customizable project item state persistence in URL - #225

Merged
Waog merged 1 commit into
masterfrom
persist-customizable-project-item-in-url
Aug 11, 2026
Merged

feat(frontend): ✨ add customizable project item state persistence in URL#225
Waog merged 1 commit into
masterfrom
persist-customizable-project-item-in-url

Conversation

@Waog

@Waog Waog commented Aug 11, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 11, 2026 10:24
@Waog Waog self-assigned this Aug 11, 2026
@nx-cloud

nx-cloud Bot commented Aug 11, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 723bbb2

Command Status Duration Result
nx e2e frontend-e2e -- --project=chromium ✅ Succeeded 3m 59s View ↗
nx test-storybook frontend --url=http://localho... ✅ Succeeded 13s View ↗
nx affected -t build build-storybook -c ci ✅ Succeeded 1m 23s View ↗
nx prerender frontend --configuration=production ✅ Succeeded 1m 16s View ↗
nx affected -t test -c ci ✅ Succeeded 38s View ↗
nx affected -t lint -c ci ✅ Succeeded 4s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-11 10:30:28 UTC

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

Adds URL-backed persistence for per-project “top project” and “compact” customizations, so UI state can survive refresh/navigation and be shareable via query params.

Changes:

  • Replace local per-component signals with a shared URL-backed state service for project item customizations.
  • Introduce CustomizableProjectItemUrlService to parse/serialize per-project customizations into a single customProjItems query param and keep it synced on navigation.
  • Extend unit tests for both the component integration and the new URL service behavior.

Reviewed changes

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

File Description
libs/feature/project-list/src/lib/customizable-project-item.component.ts Switches customization storage from local signals to URL-backed service reads/writes.
libs/feature/project-list/src/lib/customizable-project-item.component.spec.ts Updates tests to mock the URL service and verify forwarding/reset behavior keyed by project id.
libs/feature/project-list/src/lib/customizable-project-item-url.service.ts New service implementing query param parse/serialize and router-navigation sync for customizations.
libs/feature/project-list/src/lib/customizable-project-item-url.service.spec.ts Adds coverage for parsing, serialization, merging, null-removal, stable ordering, and navigation sync.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Waog
Waog merged commit 81f9c77 into master Aug 11, 2026
11 checks passed
@Waog
Waog deleted the persist-customizable-project-item-in-url branch August 11, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants