kgabryje opened a new pull request, #20111: URL: https://github.com/apache/superset/pull/20111
### SUMMARY This PR makes the chart title in dashboard clickable - redirects to Explore on click. It's basically a shortcut for clicking options -> Edit chart. On hover the title gets underlined + tooltip appears with prompt to click "Click to edit _chart name_ in a new tab". This effect is active only in non edit mode and when user has access to Explore ### BEFORE/AFTER SCREENSHOTS https://user-images.githubusercontent.com/15073128/169046626-aa1ab0e6-cf6c-43fe-b329-202cc3d78a1a.mov ### TESTING INSTRUCTIONS Flow 1 1. Go to dashboard 2. Hover over a chart title - it should get underlined and a tooltip should appear 3. Click and verify that you got redirected to Explore in a new tab Flow 2 1. Go to dashboard's edit mode 2. Hover over chart title - no underline or tooltip should appear 3. Click chart title - you should be able to edit the title, click doesn't redirect to Explore Flow 3 1. Login as a user without access to Explore and go to dashboard 2. Nothing should happen when you hover over a chart title ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
