* feat(menu): Make menu responsive
* feat(menu): make vertical menu opt-out by specifying custom CSS classes
* feat(menu): Add option to style the menu as a bottom-bar on mobile
* fix(settings): rename values for mobileMenuStyle
* Fix legacy support for navigation
* Fixes timing issue with document editors
If silverbullet was directly loaded into a document editor it would set
the darkmode after loading the editor, causing a wrong value to be
passed
* Add basic `image-viewer`
This add adds a basic image viewer using the panzoom library from Timmy
Willison
* Svgs somehow don't accept 100% width
* Make `internal` a property of a message
* Add `editor.sendMessage` syscall
* Update forgotten internal syscall
* Add small info command to image-viewer
* Change indent to two spaces
* Move zoom in button to the right
* Switch rotation direction
* Display mime type instead of file extension
* Vim Mode and Read Only Fixes
- remove client.focus call from global keydown handler. This call causes
issues with vim mode. For instance typing j with the editor not
focused would insert a j before properly going to normal mode instead
of just moving down a line as expected
- add client.reloadPage call to setUiOption syscall. This appears to fix
read only mode that is broken without the above focus call. In
particular when switching between vim and regular mode read only mode
was previously broken even with the client.focus call
- add client.focus call to CommandPalette onTrigger if no cmd is
selected. Without the client.focus call above, the editor is no longer
selected when exiting the command palette with escape - this call
fixes that
- add watch-all task to deno.json to run all 3 watches in 1 terminal
window
* Update watch-all
Fix watch-all order so that arguments get passed to watch-server
decorators to tags.
This patch enables decorations for user specified tags - starting
with handling only a single decoration - a 'prefix' to be added
to the page name. Prefix is handled in the top bar title,
page navigator, wiki-links appearing within a page as well as
page autocomplete suggestions.
* use import_map.json instead of per-file import
* remove test_deps.ts in favor of import_map
* remove common/deps.ts in favor of import_map
* use import_map instead of server/deps.ts
* make all plug-api files usable without an import_map
* make all lib files usable without an import_map
* remove web/deps.ts in favor of import_map
* fix plug build
* remove plug-api/deps.ts in favor of lib/deps.ts
* fix server deps bundled in client deps