CivicDataLab / CivicDataLab/DataSpaceFrontend
[Bug] ?tab=registered URL param from ParakhAI redirect silently ignored on AI models page
Open
@Abhishekfm is already working on this.
Since Jun 22, 2026.
bug
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 19
Description
Summary
When a user clicks "Add A New Model" on ParakhAI, they are redirected to:
https://dev.civicdataspace.in/dashboard/organization/{org}/aimodels?tab=registered
The CivicDataSpace AI models page only has Draft and Published tabs. The ?tab=registered param does not match any tab and is silently discarded — the page defaults to the Draft tab.
Impact
- Minor UX inconsistency: the intended landing tab is unknown
- If
registeredwas meant to select the "Published" tab (models registered for evaluation), the redirect is landing on the wrong tab
Fix Recommendation
Either:
- (a) Update the ParakhAI redirect URL to use
?tab=draftor?tab=publishedmatching the actual tab values - (b) If a "Registered" tab is planned, implement it; otherwise update the ParakhAI redirect
Note: The ParakhAI side of this is in the ParakhAI-frontend repo. This issue covers the CivicDataSpace side (unrecognised param not defaulting gracefully or logging a warning).
Environment
- URL:
https://dev.civicdataspace.in/dashboard/organization/civicdatalab/aimodels?tab=registered - Discovered: 2026-06-22 via QA audit
- Report ref: CDS-004
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.