CivicDataLab / CivicDataLab/DataSpaceFrontend

[Bug] ?tab=registered URL param from ParakhAI redirect silently ignored on AI models page

Open
#413 0 comments 0 reactions 1 assignee View on GitHub

@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 registered was 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=draft or ?tab=published matching 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.