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

[UI] For roles with configured knowledge graph enable autocompete in search #95

Open
AlexMikhalev opened this issue Jun 1, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@AlexMikhalev
Copy link
Contributor

Add into svelte FE if KG is not null:
Replace search bar with autocomplete:
See https://medium.com/cto-as-a-service/the-autocomplete-box-reinvented-for-the-modern-web-2848430df1e9
or https://github.com/rohitpotato/svelte-command-palette/blob/c8f0e297e61c2e65908350463e782e1917cf0005/src/lib/components/CommandPalette.svelte#L171

@AlexMikhalev AlexMikhalev added the good first issue Good for newcomers label Jun 1, 2024
@AlexMikhalev AlexMikhalev self-assigned this Jul 8, 2024
AlexMikhalev added a commit that referenced this issue Jul 8, 2024
AlexMikhalev added a commit that referenced this issue Jul 28, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
AlexMikhalev added a commit that referenced this issue Sep 26, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

* Autocomplete refreshed

Signed-off-by: AlexMikhalev <[email protected]>

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
AlexMikhalev added a commit that referenced this issue Sep 26, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

* Startup screen - WIP, doesn't work yet

Signed-off-by: Alex Mikhalev <[email protected]>

* Working startup screen - but file picker returns c:\fakepath. Abandoned until tauri 2

Signed-off-by: Alex Mikhalev <[email protected]>

* Working startup screen - but file picker returns c:\fakepath. Abandoned until tauri 2

Signed-off-by: Alex Mikhalev <[email protected]>

* Front end working

Signed-off-by: Alex Mikhalev <[email protected]>

* Commentted button in favour of input text field

Signed-off-by: Alex Mikhalev <[email protected]>

* splashscreen

Signed-off-by: Alex Mikhalev <[email protected]>

* Splashscreen working

Signed-off-by: Alexander Mikhalev <[email protected]>

* Splashscreen working

Signed-off-by: Alexander Mikhalev <[email protected]>

* Working copy

Signed-off-by: Alexander Mikhalev <[email protected]>

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant