This repository was archived by the owner on Nov 18, 2026. It is now read-only.
Repository navigation
Fix blank pages at /organizations and /organizations/columns - #131
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Both redirects are tested only with stubs, leaving navigation to the real lazy-loaded, backend-driven pages unverified.
No open issues 🎉
What changed in this PR
Fixes blank organization pages in the Angular frontend by adding default redirects and safely handling missing route data.
Changes:
- Redirect
/organizationsto Settings and/organizations/columnsto the property Column List. - Handle empty URL segments and missing column-page metadata without throwing.
- Add regression tests for redirects, existing deep links, and page metadata.
| File | Description |
|---|---|
src/app/modules/organizations/organizations.routes.ts |
Adds the Settings redirect and guards matchers against empty segments. |
src/app/modules/organizations/organizations.routes.spec.ts |
Tests matchers, default redirects, and preserved deep links. |
src/app/modules/organizations/columns/columns.routes.ts |
Redirects the bare columns URL to the property list. |
src/app/modules/organizations/columns/columns.component.ts |
Provides fallback metadata when no child route matches. |
src/app/modules/organizations/columns/columns.component.spec.ts |
Tests fallback and matched-page metadata. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/organizationsnow redirects to Settings. The route matchers readsegments[0].pathon an empty URL, which threw and left a blank splash screen until a full reload. They now handle empty segments./organizations/columnsnow redirects to the property Column List instead of showing an empty panel.ColumnsComponent.setPageInfoalso no longer throws when no child route matches.