-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
feat(explorer): collapsible mobile explorer #1471
Conversation
@aarnphm I suppose this is another PR with a breaking change, as the |
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.
cc jacky on this.
Thanks for the review. I think most of your feedback is valid. I'll do some more experimenting to reduce redundant code/hacks. I have another implementation that is a lot more sophisticated, but requires the navigation tree to be included twice. I remember that this is something we explicitly want to avoid, mostly due to accessibility concerns. I'll ping you once I am satisfied with my changes. |
@aarnphm I believe I have addressed your feedback. Once the code changes are approved, I'll update the documentation and restore the default configuration ( |
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.
cc jacky on this as well 😄
Co-authored-by: Aaron Pham <[email protected]>
Screencast.from.2024-10-26.17-58-29.webm |
Bug report: Because explorer is hidden in folder index pages, the mobile explorer button also disappears from title bar. |
Can you check if this stil l occurs when the explorer is added to listpages in |
Sorry that was a careless bug report. My setup mistake while testing the PR in different cases. I forgot I made explorer |
The implementation comes from the following pull request, which has not been merged at the time of this commit: jackyzha0/quartz#1471
Big fan of this PR 📣 |
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.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
Files not reviewed (1)
- quartz/components/styles/explorer.scss: Language not supported
Comments suppressed due to low confidence (1)
quartz/components/Explorer.tsx:47
- The variable 'jsonTree' is being used without being declared in the scope of the 'constructFileTree' function. Ensure 'jsonTree' is declared in the appropriate scope.
let jsonTree: string
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.
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
Files not reviewed (1)
- quartz/components/styles/explorer.scss: Language not supported
@aarnphm this should be ready now. |
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.
I have one comments,otherwise LGTM
* Added plugin to support image captions * Added plugin to support image lightbox * Fixed style issues to resolve build failure * GLightbox shows close button by default * Fixed GLightbox not reloaded in SPA mode * chore(styles): omit sass deprecation warnings (jackyzha0#1737) update to newer API * chore(deps): bump the production-dependencies group across 1 directory with 3 updates (jackyzha0#1744) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(graph): enable radial mode (jackyzha0#1738) * feat(explorer): collapsible mobile explorer (jackyzha0#1471) Co-authored-by: Aaron Pham <[email protected]> * 测试效果 --------- Co-authored-by: Stephen Tse <[email protected]> Co-authored-by: Anton Bulakh <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aaron Pham <[email protected]> Co-authored-by: Emile Bangma <[email protected]> Co-authored-by: Aaron Pham <[email protected]>
Co-authored-by: Aaron Pham <[email protected]>
Co-authored-by: Aaron Pham <[email protected]>
Co-authored-by: Aaron Pham <[email protected]>
Screencast.from.2024-10-01.23-34-59.webm
Progress