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
enhance: add :graph/ready event; check search version of each repo #4232
Conversation
cnrpman
commented
Feb 16, 2022
•
edited
edited
- Add :graph/ready event
- Happens when a graph is ready to show
- Check FTS cache version on :graph/ready, rebuild search index when cache is stale
- Test on macOS
- Test on Windows
- Test on Linux
c499231
to
04a96c4
Compare
242e6a5
to
417898c
Compare
417898c
to
489cac9
Compare
@cnrpman I'd be happy to QA this if you'd like. Do you have some instructions on how I could test this? |
Cool! It's an enhancement towards Desktop app. The major idea is to automatically apply So I think the test is about:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cnrpman QAed for the case of removing a search directory and looks great! 👍 🚢 I gave some suggestions on removing commented out code and print statements but your call on what you think is worth doing
;; TODO: when "only restore the current graph instead of all the graphs" is done, | ||
;; remove invoke of :graph/ready in graph/switch and restore-and-setup! | ||
(defmethod handle :graph/ready [[_ repo]] | ||
(js/console.log "graph ready") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like leftover debugging. If it's for logging, can we use lambdaisland.glogi
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal is done
489cac9
to
f17a504
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM