-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Use schemas RPC APIs in the front end on the database page #3648
Conversation
Heads up that I just realized that |
Thanks @Anish9901, that works. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seancolsen The frontend changes look good. However, I'm facing the following issues while testing:
- When I edit a schema name, the request succeeds, but the schema name doesn't get modified in the underlying db.
- Request to delete a schema fails.
There are a number of other commits in the PR unrelated to schemas (eg., from 7c31e76 to 6d17171, and more). I assume it's because the base branch isn't upto date with develop and this branch is. Can we update the base branch so that the PR is easier for me to look commit by commit?
Ok @pavish I think you actually ran into three problems here...
|
I'll keep this labeled as |
Ok @pavish this is ready for re-review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seancolsen Looks good to me! Thanks for the fix in #3667 as well!
Notes
This PR implements the front end side of our RPC refactor for the following REST endpoints:
/api/db/v0/schemas/{schemaId}/
schemas.delete
/api/db/v0/schemas/{schemaId}/
schemas.patch
/api/db/v0/schemas/
schemas.list
/api/db/v0/schemas/
schemas.add
Working functionality
Notable user-facing changes
Exploration counts are removed from each schema card
We discussed this previously and made this choice in order to simplify implementation.
Broken functionality
Basically every other page of Mathesar is broken except for the root page which shows connections.
For example, the schema page looks like this:
Checklist
Update index.md
).develop
branch of the repositoryDeveloper Certificate of Origin
Developer Certificate of Origin