fix(app, app-shell) fix the purple outline rendering condition#21598
fix(app, app-shell) fix the purple outline rendering condition#21598koji wants to merge 3 commits into
Conversation
keep the outline when opening the spotlight window close AUTH-2925
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## chore_release-9.1.0 #21598 +/- ##
=======================================================
- Coverage 21.36% 21.29% -0.08%
=======================================================
Files 3865 3865
Lines 323481 323493 +12
Branches 58203 58575 +372
=======================================================
- Hits 69124 68879 -245
- Misses 251313 251588 +275
+ Partials 3044 3026 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
sfoster1
left a comment
There was a problem hiding this comment.
Let's just get some utility functions for the protocol key / window id thing, but it looks fine to me otherwise.
unrelated to merging this pr, how do changes of this kind work with the separate protocol visualizer project? does it not matter because the separate project doesn't have secondary windows?
| secondaryWindows.delete(windowId) | ||
|
|
||
| if (type === 'step-detail-viewer') { | ||
| const protocolKey = windowId.slice('step-detail-viewer-'.length) |
There was a problem hiding this comment.
we should have some shared functions that (1) set the window id from the protocol key (2) get the protocol key from the window id. this is very prone to someone making a small change and breaking things in a way that linting, typechecking, and tests will not catch
Overview
utilize the hover by adding selectedSlot to keep the purple outline when a user opens the secondary window.
i don't update protocol-visualization because of spotlight window. it is a browser base so the function to handle the purple outline would need a different implementation when closing the spotlight window.
hover_protocol-visualization.mov
Test Plan and Hands on Testing
check that the deck view displays the purple outline on the slot you clicked
check that the purple outline on the deck view will disappear
Changelog
Review requests
Risk assessment
low