Skip to content

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

Description

@saqibmanan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions