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] Allow disabling Settings left pane items #20449

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Mar 13, 2024

Summary & Motivation

Add props to allow disabling side nav items in Settings. This is similar to the behavior of our tab components.

Also fix the font-size on button items, it's currently a bit too small.

How I Tested These Changes

In Cloud, set permissions checks to fail for a couple of Settings items. Verify that they appear as disabled, with tooltips.

Copy link
Member Author

hellendag commented Mar 13, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hellendag and the rest of your teammates on Graphite Graphite

Copy link

github-actions bot commented Mar 13, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-c00mrpm1a-elementl.vercel.app
https://dish-settings-disabled-item.core-storybook.dagster-docs.io

Built with commit 31c8a91.
This pull request is being automatically deployed with vercel-action

@hellendag hellendag requested review from bengotow and salazarm March 13, 2024 16:07
@hellendag hellendag marked this pull request as ready for review March 13, 2024 16:07
Copy link
Member Author

hellendag commented Mar 14, 2024

Merge activity

  • Mar 14, 9:28 AM CDT: @hellendag started a stack merge that includes this pull request via Graphite.
  • Mar 14, 9:30 AM CDT: Graphite rebased this pull request as part of a merge.
  • Mar 14, 9:31 AM CDT: @hellendag merged this pull request with Graphite.

Base automatically changed from dish/delayed-loading to master March 14, 2024 14:29
@hellendag hellendag force-pushed the dish/settings-disabled-item branch from 31199b8 to 31c8a91 Compare March 14, 2024 14:29
@hellendag hellendag merged commit 5fad20d into master Mar 14, 2024
1 of 2 checks passed
@hellendag hellendag deleted the dish/settings-disabled-item branch March 14, 2024 14:31
PedramNavid pushed a commit that referenced this pull request Mar 28, 2024
## Summary & Motivation

Add props to allow disabling side nav items in Settings. This is similar to the behavior of our tab components.

Also fix the font-size on button items, it's currently a bit too small.

## How I Tested These Changes

In Cloud, set permissions checks to fail for a couple of Settings items. Verify that they appear as disabled, with tooltips.
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.

2 participants