Skip to content

fix: page router T1331#2299

Merged
younocode merged 5 commits into
developfrom
fix/page-router
Dec 19, 2025
Merged

fix: page router T1331#2299
younocode merged 5 commits into
developfrom
fix/page-router

Conversation

@younocode

@younocode younocode commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Related Issues: T1331

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

This PR fixes a page router issue (T1331) by adding validation logic to handle invalid dashboard IDs and includes localization updates for new app-related error messages.

  • Adds validation to redirect users to valid dashboards when provided dashboard ID doesn't exist
  • Removes unnecessary schema prefix from SQL migration file
  • Adds comprehensive i18n translations for app-related error messages across 10 languages

Reviewed changes

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

File Description
apps/nextjs-app/src/features/app/base-node/DashBoardPage.tsx Adds validation logic to check if provided dashboardId exists in the dashboard list and redirects to the first available dashboard if not
packages/db-main-prisma/prisma/postgres/migrations/20251210134101_disallow_dashboard/migration.sql Removes unnecessary "public" schema prefix from INSERT statement
packages/common-i18n/src/locales/*/sdk.json Adds new "app" section with 11 error message translations for app-related operations across all supported languages (en, de, es, fr, it, ja, ru, tr, uk, zh)
apps/nestjs-backend/src/types/i18n.generated.ts Updates TypeScript type definitions to include new app error message keys

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

Comment thread apps/nextjs-app/src/features/app/base-node/DashBoardPage.tsx
Comment thread apps/nextjs-app/src/features/app/base-node/DashBoardPage.tsx
@coveralls

coveralls commented Dec 18, 2025

Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 20357722436

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 11 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.003%) to 71.807%

Files with Coverage Reduction New Missed Lines %
apps/nestjs-backend/src/features/base/base-import-processor/base-import-csv.processor.ts 3 70.87%
apps/nestjs-backend/src/features/integrity/link-integrity.service.ts 8 71.05%
Totals Coverage Status
Change from base Build 20346522118: 0.003%
Covered Lines: 59512
Relevant Lines: 82878

💛 - Coveralls

@younocode younocode merged commit 3170c34 into develop Dec 19, 2025
17 of 18 checks passed
@younocode younocode deleted the fix/page-router branch December 19, 2025 03:33
@github-actions

Copy link
Copy Markdown
Contributor

🧹 Preview Environment Cleanup

hammond-lj pushed a commit that referenced this pull request Dec 22, 2025
* fix: page router

* fix: update SQL migration to remove schema prefix from setting table

* feat: add app-related translations for multiple languages

* refactor: simplify e2e tests

* refactor: update e2e tests to use cached settings for improved performance
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.

4 participants