Skip to content
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

ui: select grants tab on table details page #73932

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

maryliag
Copy link
Contributor

Previosuly, when the grants view was selected on the Database
Details page, it was going to the Table Details with the Overview
tab selected.
With this commit, if the view mode selected is Grant, the grant
tab is selected on the Table Details page.

Fixes #68829

Release note: None

@maryliag maryliag requested a review from a team December 16, 2021 17:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previosuly, when the grants view was selected on the Database
Details page, it was going to the Table Details with the Overview
tab selected.
With this commit, if the view mode selected is Grant, the grant
tab is selected on the Table Details page.

Fixes cockroachdb#68829

Release note: None
Copy link
Contributor

@lindseyjin lindseyjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, and LGTM!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @lindseyjin)


pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx, line 306 at r1 (raw file):

  ];

  render(): React.ReactElement {

Btw, what does this do? Are you just adding in the type?

Copy link
Contributor Author

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @lindseyjin)


pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx, line 306 at r1 (raw file):

Previously, lindseyjin (Lindsey Jin) wrote…

Btw, what does this do? Are you just adding in the type?

Is just showing what is the return type for the function, in this case a React Element :)

@maryliag
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Dec 17, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Dec 17, 2021

Build succeeded:

@craig craig bot merged commit 089affc into cockroachdb:master Dec 17, 2021
@maryliag maryliag deleted the grant-db branch December 17, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui: database details page in "grants" mode should link to database table page in "grants" mode
3 participants