-
Notifications
You must be signed in to change notification settings - Fork 176
fix: display actual schema file name in Schema tab #3752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Pass schemaFilePath and format from SchemaPage to SchemaHeader - Extract filename using path.basename for display - Remove TabsList from SchemaHeader since there's only one tab - Remove unused SCHEMA_TABS constant and CSS classes Fixes route06/liam-internal#5778 Co-Authored-By: [email protected] <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Unexpected error on running flow
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Updates to Preview Branch (devin/1760095832-fix-schema-tab-display) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Check changeset necessityStatus:
Reason:
Changeset (copy & paste):# Not required — this PR only changes @liam-hq/app (ignored package) |
Issue
Why is this change needed?
The Schema tab was displaying a hardcoded schema file name ("schema1.in.rb") instead of the actual linked schema file name from the database. Additionally, the issue requested removing the "ERD" tab navigation since there's only one tab.
Summary of Changes
schemaName
andformat
props instead of using hardcoded valuesSCHEMA_TABS
constant and related CSS classes🚨 RUNTIME ERROR: Missing Import
path.basename()
but thepath
module is not imported inSchemaPage.tsx
Review Checklist
path
import in SchemaPage.tsxschema_file_paths
can be avoided (same query exists ingetERDEditorContent
)Link to Devin Run
https://app.devin.ai/sessions/7f9b8efaefa34ffd825682d5482c625e
Requested by @MH4GF