Repository navigation
[PUI] Quick commands pallet - #6987
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6987 +/- ##
==========================================
- Coverage 84.24% 83.59% -0.65%
==========================================
Files 875 905 +30
Lines 40863 41752 +889
Branches 284 481 +197
==========================================
+ Hits 34426 34904 +478
- Misses 6364 6735 +371
- Partials 73 113 +40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This reverts commit 7771189.
with removal on page refresh
|
This is now feature complete and ready for review @wolflu05 @SchrodingersGat I still have to figure out why the keyboard-based tests keep failing but that is probably something with the testing framework |
This reverts commit 28d96e0.
|
OK the tests are solved (stupid issue on my side, is documented by playwright very clearly) - I will try to get coverage of new lines to 100% and than it should be ready |
|
Coverage of new code is at 90%+, this is ready for review @SchrodingersGat |
|
@matmair really happy with this, it looks great. In the future I would love to see some custom actions for various context (i.e. "create a new build order"). Additionally, should we update "search" panel to the same visual style (spotlight vs drawer)? Or keep them visually separate. And, potentially we could expose this to the plugins interface too - allowing custom frontend actions? In any case, happy to merge, nice work :) |
|
I think search works fine as is, I would leave it till we have the minimal function set of CUI reached in PUI. Flashing out this while there is nearly no usage seems like a waste. There could be integrated search in the command line, context actions, maybe plugins. At some point I would like this to become similar to command + shift + P in vs code or Command + K in Linear but we will probably have to shift libraries for that. |

This adds a quick command palette with (at least now) simple actions to navigate to a few parts of the UI without the mouse.
out.mp4
Clsoes #5888