Ability for admins to deep link to table rows in Supabase Studio/Dashboard #15124
Unanswered
sampl
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wish Supabase used table names in dashboard URLs!
That way I could deep link right to editing a row from my admin tool--no building an editing UI and messing with admin RLS rules, or integrating Retool etc.
I can do this with Firebase already, without knowing any Firebase internal ids. Their format is this: https://console.firebase.google.com/u/0/project/my-project/firestore/data/~2Ftable_name~2Fid_goes_here
As you can see, as long as you have the project name, collection name, and an id, you can link to it.
I can almost do this in supabase. Unfortunately, it looks like the dashboard url takes an internal numeric table id, not the name of the table. Since I don't easily have access to these table ids in my app (and they're different on different environments), I think the only safe way to do this would be to maintain an env var for every table ID on every environment (oof).
Current:
Expected:
Bonus benefit: users could switch environments and keep the same table visible.
Example
Let's I have a list of "topics" in my admin tool:
Clicking "edit" on any row (highlighted in red) would take me directly here:
At which point I could edit data directly in the database.
Is there any other way to do this currently?
All reactions