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

[Asset graph sidebar] Minor improvements #16729

Merged
merged 4 commits into from
Sep 26, 2023
Merged

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Sep 22, 2023

Summary & Motivation

  • Set the cursor to Pointer on hover on the sidebar items
  • [Nit] The active state background color for sidebar items should be blue.50
  • [Nit] Change the arrow icon back to the … icon because it feels a little odd to have two arrow icons
    [Nit] Remove the gray line on the left side of the top level here
  • [Usability] Replace the query instead of appending it.
  • Change “repository” to “Code location” in the filter dropdown
  • Fix buggy search by using Suggest instead

How I Tested These Changes

locally in OSS

@github-actions
Copy link

github-actions bot commented Sep 22, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-edmkn4876-elementl.vercel.app
https://salazarm-sidebar-nits.core-storybook.dagster-docs.io

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

@@ -84,7 +84,7 @@ export const AssetGraphExplorerSidebar = React.memo(
if (!assetGraphData.nodes[id]) {
try {
const path = JSON.parse(id);
const nextOpsQuery = `${explorerPath.opsQuery} \"${tokenForAssetKey({path})}\"`;
const nextOpsQuery = `\"${tokenForAssetKey({path})}\"`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like this switch!

@salazarm salazarm merged commit fd0cbdf into master Sep 26, 2023
@salazarm salazarm deleted the salazarm/sidebar-nits branch September 26, 2023 17:45
clairelin135 pushed a commit that referenced this pull request Sep 26, 2023
## Summary & Motivation
- [x]  Set the cursor to `Pointer` on hover on the sidebar items
- [x] [Nit] The active state background color for sidebar items should
be blue.50
- [x] [Nit] Change the arrow icon back to the … icon because it feels a
little odd to have two arrow icons
[Nit] Remove the gray line on the left side of the top level here 
- [x]  [Usability] Replace the query instead of appending it. 
- [x]  Change “repository” to “Code location” in the filter dropdown
- [x] Fix buggy search by using Suggest instead

## How I Tested These Changes
locally in OSS
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