-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Introduce Table of Content Without Intense JS Invasion #1237
base: main
Are you sure you want to change the base?
Commits on Nov 7, 2024
-
Introduce QWebEngine Javascript Infrastructure
Setup for TOC Javascript/CSS Injection
Configuration menu - View commit details
-
Copy full SHA for 09cd9d6 - Browse repository at this point
Copy the full SHA 09cd9d6View commit details -
Introduce KiwixWebChannelObject.{h, cpp}
Add channel to communicate between web page and Qt
Configuration menu - View commit details
-
Copy full SHA for 2143e92 - Browse repository at this point
Copy the full SHA 2143e92View commit details -
Enter tableofcontentbar.{h,cpp,ui}
Re-enabled ToggleTOCAction to display the bar.
Configuration menu - View commit details
-
Copy full SHA for 4620a3b - Browse repository at this point
Copy the full SHA 4620a3bView commit details -
Ensure ReadingList&TOC display states are consistency
Only one should be in checked state.
Configuration menu - View commit details
-
Copy full SHA for 5f74621 - Browse repository at this point
Copy the full SHA 5f74621View commit details -
Signal Current TOC Parsed from JS
Signal emits the collected header JSON. Parsing delegated to JS due to better DOM manipulations.
Configuration menu - View commit details
-
Copy full SHA for a60f676 - Browse repository at this point
Copy the full SHA a60f676View commit details -
Connect Sidebar to Display Table Of Content
Recursively load the header JSON.
Configuration menu - View commit details
-
Copy full SHA for 8e45c85 - Browse repository at this point
Copy the full SHA 8e45c85View commit details -
Navigate to Header On Click in TOC
Upon signaling, use JS to navigate, as helps avoid wrong url setting given the asynchronism.
Configuration menu - View commit details
-
Copy full SHA for 77a5e56 - Browse repository at this point
Copy the full SHA 77a5e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdfbffa - Browse repository at this point
Copy the full SHA bdfbffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a07518 - Browse repository at this point
Copy the full SHA 3a07518View commit details -
Configuration menu - View commit details
-
Copy full SHA for df59543 - Browse repository at this point
Copy the full SHA df59543View commit details -
Configuration menu - View commit details
-
Copy full SHA for f389411 - Browse repository at this point
Copy the full SHA f389411View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4aca1 - Browse repository at this point
Copy the full SHA 6d4aca1View commit details