Jaanus Sellin
3f76882465
fix: recently visit should only use main paths ( #7655 )
...
Recently visited should only be main paths, so look like this
**/segments** **/projects** and not have multiple slashes inside.
2024-07-24 15:04:33 +03:00
Jaanus Sellin
7d88b901a3
feat: remove first item selection ( #7596 )
2024-07-16 11:27:37 +03:00
Jaanus Sellin
0a4ef3b49f
feat: select first item after query ( #7592 )
...
Now after search is done, the first item will be selected
2024-07-16 09:28:34 +03:00
Jaanus Sellin
aaf66022af
feat: show all results in the same time ( #7590 )
...
Previously, when the result box was loading, it returned projects and
menu items first. After the feature search response came back, it also
showed the features, but this made the component jump around too much.
Now, everything is shown when the feature result comes back, reducing
the jumping around.
2024-07-15 16:37:11 +03:00
David Leek
9ad7266aa1
chore: use a command bar shadow thats visible in darkmode as well ( #7551 )
2024-07-05 14:54:11 +02:00
Jaanus Sellin
c802442846
feat: add solid border for contrast ( #7550 )
...
Now it is better to see the command bar.
![image](https://github.com/Unleash/unleash/assets/964450/a59bdabd-5a14-45a5-b8ca-594b62853c59 )
2024-07-05 14:01:10 +03:00
David Leek
2f9483441f
feat: command bar up down navigation ( #7546 )
2024-07-05 12:57:43 +02:00
David Leek
51a2b3aa0e
feat: hide command bar when losing focus ( #7544 )
2024-07-05 11:22:46 +02:00
David Leek
233bf0757e
chore: fix command bar key prop usage ( #7534 )
2024-07-05 08:24:51 +02:00
David Leek
96a1996b41
chore: command bar remove strategy types as page suggestion ( #7543 )
2024-07-04 15:51:37 +02:00
Jaanus Sellin
8dd77f3bbd
fix: remove focus on ESC ( #7535 )
...
Now when pressing ESC, command bar will lose focus.
![image](https://github.com/Unleash/unleash/assets/964450/9aea3b2b-bf06-4910-96be-0a67472945af )
2024-07-03 22:15:59 +03:00
Jaanus Sellin
990ea1ffb2
feat: quick suggestions click close ( #7533 )
...
Now recently visited projects, features, pages will also close the
command bar.
2024-07-03 14:41:23 +03:00
Jaanus Sellin
fc95d459d0
feat: use different cache key for command bar ( #7530 )
...
Now command bar and search do not share same cache, so they wont
conflict anymore.
2024-07-03 14:28:47 +03:00
David Leek
06971375cb
chore: fix command bar missing icons in quick suggestions ( #7522 )
2024-07-03 09:41:12 +02:00
David Leek
a463e8b1e6
chore: command bar feedback focus and text size ( #7521 )
2024-07-03 09:33:28 +02:00
David Leek
0a2f7e5a61
chore: fix searchbar styling when focus is on results ( #7517 )
2024-07-02 13:15:57 +02:00
Jaanus Sellin
f42e74e7c5
chore: rename command bar files ( #7516 )
...
Now we have nice logical naming
![image](https://github.com/Unleash/unleash/assets/964450/c24041bc-db94-463e-aa9c-d7ecd484ab12 )
2024-07-02 13:59:18 +03:00
Jaanus Sellin
1f48f9067a
fix: command menu hover ( #7515 )
...
Now command menu hover has same styling as sidebar
![image](https://github.com/Unleash/unleash/assets/964450/22dd869f-0256-4922-b56a-826f1f37ff45 )
2024-07-02 13:34:40 +03:00
Jaanus Sellin
745c5a0454
fix: improve menu styling ( #7513 )
...
Now quick suggestions padding is not bigger than for pages.
![image](https://github.com/Unleash/unleash/assets/964450/9708faab-67d4-4159-8af4-b203f7778f6b )
2024-07-02 12:33:37 +03:00
Jaanus Sellin
4eebf49423
feat: clear search string and close box after click ( #7511 )
...
Now when selecting an item from command menu, the search string is
cleared and command menu closed.
2024-07-02 11:12:08 +03:00
David Leek
85096ba3c6
feat: command bar results key down should exit/refocus input ( #7509 )
...
Refocuses command bar input field if command bar results has focus and
user starts to type. Closes if Escape button clicked
2024-07-02 09:56:25 +02:00
Jaanus Sellin
c907199d23
feat: command bar feedback ( #7485 )
...
![Screenshot from 2024-07-01
13-04-57](https://github.com/Unleash/unleash/assets/964450/4d5c96a2-0cfc-47a9-9323-f7ce1b27da3d )
![Screenshot from 2024-07-01
13-05-03](https://github.com/Unleash/unleash/assets/964450/79f9c289-4c62-4a3e-b612-c88ff8ca434d )
2024-07-01 14:15:51 +03:00
David Leek
20da40d38d
feat: move recording recently visited into separate component ( #7494 )
2024-07-01 10:35:02 +02:00
David Leek
bdce76e84a
chore: command bar refactor of search result items for consistent styling and icons ( #7483 )
2024-06-28 12:40:44 +02:00
David Leek
d01aba955a
chore: rename recent and page suggestions ( #7484 )
...
Renames and moves recently visited and page suggestions to match name
pattern
2024-06-28 13:18:27 +03:00
Jaanus Sellin
82822a735b
feat: command bar track events ( #7469 )
...
Start tracking plausible events
1. Log the search keywords that returned 0 results
2. Track all clicks, based on source(search/recents/pages), type etc.
2024-06-27 12:48:57 +03:00
Jaanus Sellin
e8511789fd
feat: command menu items can have description as tooltip now ( #7455 )
...
![image](https://github.com/Unleash/unleash/assets/964450/7a55a1a7-7aea-4f9c-96ac-46adf2edd36f )
2024-06-26 12:39:53 +03:00
Jaanus Sellin
b5e329e22d
feat: search only features when there is search string ( #7450 )
...
Now the search hook is inside another component, so we do not get
searches without search query.
Also we had 2 state variable handing the search query. Removed one of
them.
2024-06-25 16:17:17 +03:00
David Leek
ffe306714b
feat: tweak command bar UI styles to match sketches ( #7447 )
2024-06-25 14:30:39 +02:00
Jaanus Sellin
ed9d0cccbc
feat: now able to search pages ( #7446 )
...
Now can search pages
2024-06-25 15:29:36 +03:00
Jaanus Sellin
3961c1abf0
feat: now command bar will not search behind the scene ( #7443 )
...
Previously it was doing request to search behind to scenes, when noone
was using the nav bar. This fixes it.
2024-06-25 12:53:23 +03:00
Jaanus Sellin
10d2a295c7
feat: menubar is not dependant on query params anymroe ( #7399 )
...
Previously since query params were changing by global search, and
menubar was also altering them, they were conflicting. Menubar does not
need query params as state. So using search hook directly.
2024-06-14 12:26:52 +03:00
David Leek
9b789ea5ef
feat: command bar pages and name resolving ( #7397 )
2024-06-14 11:22:55 +02:00
Jaanus Sellin
09d9676d66
feat: command bar search projects ( #7388 )
...
Now can search for projects.
Also adding debounce to not spam backend with requests. Also the UI is
less flickery.
2024-06-13 14:47:34 +03:00
David Leek
50316a2f23
feat: command bar last visited: improve project/feature icons and paths ( #7383 )
2024-06-13 09:43:39 +02:00
Jaanus Sellin
21088b745d
feat: search features from command bar ( #7378 )
...
Now searching works in command bar
1. Currently piggybacking on the search hook, but I think it is not fast
enough, and also it is using the query params as the global search. This
causes some weird behaviour in UI. This probably means we will create
separate endpoint for this.
![image](https://github.com/Unleash/unleash/assets/964450/a24f41ae-93d7-4ebe-a92b-c20dfe7cb666 )
2024-06-12 21:24:22 +03:00
Jaanus Sellin
7fc87e1647
feat: clean up command bar props ( #7368 )
...
A lot of things were passed in for search, but since we only have single
command bar, we do not need them and it was bloating our component.
2024-06-12 09:24:16 +03:00
David Leek
576dd04dc5
feat: command bar poc ( #7350 )
...
Command bar PoC using clone of search
---------
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-06-11 15:27:59 +03:00