Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integration of DAISY Knowledge Base (#41)
Main features: * DAISY KB source material is included as Git submodule ( https://github.com/daisy/kb/ ) * KB resources are served via an HTTPS server on `localhost`/`127.0.0.1` (self-signed certificate) * The local server enables HTTP caching, but resources cached/stored for the browsing session are flushed every time the app exits. * KB webpages are displayed inside Electron BrowserWindows (multiple concurrent ones are allowed) * This is an exact copy of the online version (i.e. styles / visual branding, information structure, etc.) * External links (i.e. outside of `localhost`/`127.0.0.1`) are loaded in the user's registered web browser. * A "go online" link is dynamically injected in each visited local/offline webpage, so that the user can decide to browse the live web version at any point in time. * The application top-level menu bar contains menu items to directly access the root of the KB (offline, and online versions). * The reports generated by Ace 'core' contain HTTP online KB links, but these are intercepted so that the user reaches the local/offline first. Additionally: * Added missing copy/paste/select-all commands in menu bar(s) * Fixed keyboard shortcuts (MacOS vs. Windows/Linux key modifiers) * Fixed drag and drop for hyperlinks (not files) * Fixed issues related to managing the application state with main Electron window vs. secondary ones (e.g. about box, and KB browsers). * Fixed main window positioning on Windows (maximized state is now correctly unmaximized)
- Loading branch information