Skip to content

ui: select grants tab on table details page#73932

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
maryliag:grant-db
Dec 17, 2021
Merged

ui: select grants tab on table details page#73932
craig[bot] merged 1 commit intocockroachdb:masterfrom
maryliag:grant-db

Conversation

@maryliag
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 17, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
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