Commit Graph

491 Commits (main)

Author SHA1 Message Date
Zef Hemel b7c56a8379 Fix some things with transclusions, and added a renderWidgets page decoration 2024-08-12 20:12:28 +02:00
onespaceman 7c23e8d622
Widget buttons for transclusions (#942) (#1013)
Widget buttons for transclusions
2024-08-08 20:19:41 +02:00
Zef Hemel 6b69449d05
More JSR (#1027)
* Move all syscalls to JSR-style package naming
* Eliminating some prefixes in import maps
2024-08-06 20:11:38 +02:00
Zef Hemel ea6e4ce079 Emit config:loaded event 2024-08-03 20:59:53 +02:00
Zef Hemel 47f504f2ce deno fmt 2024-08-02 17:14:40 +02:00
Zef Hemel 64b6d9e2df
Space config (#1011)
Space config + a whole bunch of other tweaks
2024-08-02 16:47:36 +02:00
onespaceman 45166ccd93
Embed video, audio and pdf (#1008) 2024-08-02 16:30:39 +02:00
Zef Hemel 357a50f820 Fix JS error 2024-07-31 13:06:10 +02:00
onespaceman 70cb0fc226
Per-tag page styling (#945)
PageDecorator add cssClasses

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-07-31 11:28:31 +02:00
Zef Hemel c111f72e09 Lint error removal 2024-07-30 17:33:33 +02:00
Zef Hemel 9f353f7de1 More JSR dependency moves 2024-07-30 17:24:17 +02:00
Zef Hemel 64e116f75e lint cleanup 2024-07-30 15:17:34 +02:00
Zef Hemel 75471fa86b
Object decorators (#995)
Implemented objectDecorators to replace pageDecorations in SETTINGS
2024-07-29 21:21:16 +02:00
Marek S. Łukasiewicz a0f3f7ef41
Support linking to and moving to line number in pages (#988)
Support linking to and moving to line number in pages
2024-07-28 20:31:37 +02:00
Joe Krill 86bee00e5e
Use aliased preact import in Panel (#989) 2024-07-28 17:03:32 +02:00
Zef Hemel 830ae9c83d Fix meta picker breaking with broken links 2024-07-27 11:01:28 +02:00
Zef Hemel ec88543a14 Fix meta picker breaking with broken links 2024-07-27 10:55:45 +02:00
Zef Hemel 161cd004a7 Cleaning e2e encryption stuff 2024-07-25 20:29:13 +02:00
Zef Hemel 3ca132e16a Fixes #154 2024-07-25 15:19:06 +02:00
Zef Hemel cff343a66b Import clean 2024-07-25 15:19:06 +02:00
Ross 7fa1aabf3e
Unified the size of headers and sb-line-headers (#972)
* Unified the size of headers and sb-line-headers
2024-07-23 21:10:36 +02:00
Zef Hemel 234a17c608 Fixes #955 2024-07-23 16:49:27 +02:00
Zef Hemel 731e246264 Fixes #967 2024-07-23 14:53:36 +02:00
Zef Hemel c81237d93c Fix late settings loading 2024-07-20 06:25:04 +02:00
Marek S. Łukasiewicz e2cb2ab6e7
Add setting for smart quotes (#960) 2024-07-19 19:08:49 +02:00
Marek S. Łukasiewicz 1fc061ac6a
Auto complete folder in Page Picker (#961) 2024-07-19 17:10:39 +02:00
Marek S. Łukasiewicz 75cd4b1383
Hide pages from auto complete with Page Decorations (#962) 2024-07-19 17:06:40 +02:00
onespaceman 5fe77083ae
Fix #850 (#964) 2024-07-19 17:00:13 +02:00
Zef Hemel 11967b82a6
Meta links (#954)
Add carret page link support (for meta pages)
2024-07-17 17:03:25 +02:00
Ross 5162ea7bf2
chore: Update index.html to include norefer (#951) 2024-07-17 07:37:05 +02:00
Zef Hemel e050c7a4cf Support creating a slashCommand as a command shortcut 2024-07-14 19:57:06 +02:00
Zef Hemel e4da0b7849 Refined implementation of #560 2024-07-14 11:29:43 +02:00
Zef Hemel 71b2199dd4 Include prefix in browser title 2024-07-13 15:00:04 +02:00
Zef Hemel dcde6aaf7c Better updating of decorations 2024-07-13 14:55:35 +02:00
Deepak Narayan 850c06fd70
Fixes #560 and provides an initial implementation for assigning (#940)
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.
2024-07-13 13:56:00 +02:00
Zef Hemel f3a84e35c0 Cleaned up path file extension checking and handling conflicting copies 2024-07-13 13:51:49 +02:00
onespaceman be8c3303a4
fix serving files with numbers in extension (#931) 2024-07-11 22:37:58 +02:00
Zef Hemel 25d14031c9
Fixes #926
Libraries have been rethought, see associated documentation.
2024-07-11 20:36:26 +02:00
Ethan Yoo 776206db90
Check only the primary pointing device's accuracy (#929) 2024-07-11 06:03:33 +02:00
Zef Hemel c7f5645075 Fixes #927 2024-07-10 08:50:54 +02:00
Zef Hemel fb21377bef
Transclosure support for pages (#925)
Transclusion implementation
2024-07-09 09:22:08 +02:00
Zef Hemel d6f0f61d30 Rebrand Template Picker to Meta Picker
As well as associated documentation changes
2024-07-07 12:12:05 +02:00
Zef Hemel 7ddd7c4011 Style a line containng only "#" as if it were to become a tag instead of a header 2024-07-07 10:32:13 +02:00
Zef Hemel 25720c63e0 Fixes #822 2024-07-06 20:29:38 +02:00
Zef Hemel 104b6356df Fixes #902 2024-07-06 15:45:04 +02:00
Zef Hemel a6450d3179 Fixes #704 implementing read-only mode and mobile only button 2024-07-04 21:22:37 +02:00
MrMugame c412bed98e
Add `drawSelection()` (#917) 2024-07-04 07:05:58 +02:00
MrMugame 5c28b1a73f
Change selection behaviour (#904)
* Change selection behaviour
* turn mouseup/mousedown events into click
* Remove `drawSelection()`
* Add custom cursor
2024-07-03 19:13:54 +02:00
Zef Hemel 1e58d220eb Fixes #911 2024-07-02 20:13:41 +02:00
MrMugame 1ea652a730
Hides the '\' from escaped characters (#901) 2024-06-26 15:55:56 +02:00
MrMugame 2a2cdef0f4
Added automatic quote insertion (#897) 2024-06-23 05:33:16 +02:00
MrMugame b6d95ec632
Redirect to initial url after authentication (#893) 2024-06-22 12:45:23 +02:00
Zef Hemel bd3e91ba65 Fix regression reloading pages changed "on disk" 2024-06-14 08:44:46 +02:00
Zef Hemel bb8f594a68 Fixes #888 regression in #boot url 2024-06-13 12:10:12 +02:00
Zef Hemel 78be20c24f Fix regression where the index would no longer be cleared in sync mode 2024-06-13 11:46:52 +02:00
MrMugame 892849c30b
Fixes the white flash for widget iframes & Make use of panel api (#882)
* Fix widget iframes flashing when loading

* Set the data-theme attribute for all panels
2024-06-08 13:32:35 +02:00
MrMugame 442133ea2b
Add subscript and superscript (#879)
* Added superscript and subscript to markdown

* Added docs for Superscript and subscript

* Remove leftover brace
2024-06-07 08:21:16 +02:00
MrMugame 8524c0f96f
Fix for flashing markdown preview (#880) 2024-06-07 08:19:26 +02:00
onespaceman 1f949158e9
Index []() style links (#827) 2024-05-27 20:33:41 +02:00
pihentagy 0e3c5587f5
Delete line command (#866) 2024-05-25 23:12:48 +02:00
Florent 827b08c21f
Support size for images (#833)
* Support size for images

* Also support dimensions while rendering markdown

* Parser - ImageWithSize: Comment regexp with examples
2024-05-19 11:05:48 +02:00
Zef Hemel 75d3277885 Fixes #864 2024-05-14 13:24:33 +02:00
s1gnate-sync 4390f6ebc2
Window controls overlay (#837)
* Update main.scss

Make page header a title bar

* Update manifest.json

Allow custom titlebar

* Resize page header so it won't overlap titlebar controls
2024-05-14 11:49:10 +02:00
MrMugame f683a4570a
Fixed panel border (#863) 2024-05-14 09:22:52 +02:00
Dobli 2472d34f29
Add support for Material Design Icons (#848)
* Add support for Material Design Icons

* Re-export selected material icons to reduce bundle size
2024-04-20 16:24:34 +02:00
Daniel Michel cb6ee137f2
Improve modals (#840)
* Adjust picker input to take up all remaining space

* Improve modals and buttons

* Remove confusing focus of scrollable result list in Firefox

* Adjust css for dark themes, add background for text field in prompt

Seperate accent color for text to increase contrast in dark theme
Set css color-scheme to dark for dark theme

* Fix buggy when entering very long text in picker

* Prevent key events from propagating outside of modals

* Always show focus on button

* Add the keydown event listener directly to the mini editor

* Do not refocus the mini editor when it loses focus and refactoring of the AlwaysShownModal.

* Fix reference to button and mini editor focus in chrome

* Fix selected option index capping in filter when using page down
2024-04-20 16:22:02 +02:00
Zef Hemel 27ef256674 Fixes #853 with dependency version bump 2024-04-20 16:20:13 +02:00
Thomas Michelat c75598cc80
use configurable file size for drag and drop too (#846) 2024-04-11 18:06:57 +02:00
Zef Hemel 82e431d358 Revert font part of #831 back to iA Mono 2024-04-09 09:28:12 +02:00
onespaceman b292b5f336
fix completion colors (#843) 2024-04-08 21:06:39 +02:00
Daniel Michel 3806513ba0
Allow middle click to open link (#841) 2024-04-07 15:10:58 +02:00
onespaceman f193a73e39
New font and css fixes (#831) 2024-04-03 22:09:47 +02:00
Maks 8a3782e946
improve dependency management (#770)
* 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
2024-03-16 15:29:24 +01:00
Zef Hemel ca5b6803eb More reload fix attempts 2024-03-14 13:02:34 +01:00
Zef Hemel 221e9e859c Potential fox to file reload race condition 2024-03-12 16:33:38 +01:00
Zef Hemel 34af1b1bb6 Added tracing for reloads 2024-03-12 14:24:46 +01:00
Zef Hemel 0959a37a83 Optimize sync slightly 2024-03-11 20:56:29 +01:00
onespaceman 95ae722a50
Implement space-style (#796)
* Implement space-style
* Add reloading styles to System: Reload

---------

Co-authored-by: Zef Hemel <zef@zef.me>
2024-03-09 12:26:58 +01:00
onespaceman 2705fff52e
Fix admonitions without style (#797) 2024-03-07 18:52:04 +01:00
Zef Hemel 4d2006d7e4 Fixes #785 2024-03-04 19:50:59 +01:00
onespaceman 6230c8ab83
Custom admonitions (#786) 2024-03-04 18:35:02 +01:00
Zef Hemel e6faaca67c Remove console.logs 2024-03-02 15:23:25 +01:00
Zef Hemel 398e452308 Attempt to address #479 2024-03-02 15:21:36 +01:00
Zef Hemel 89e2e7a37c Fixes #621 with improved snippets for page links 2024-03-02 14:48:02 +01:00
Zef Hemel 03ee9adc86 Fixes #644 2024-03-02 12:14:27 +01:00
Zef Hemel e919aa82e9 0.7.4 2024-02-29 15:23:05 +01:00
Zef Hemel ec858b8b8f Fix notification positioning 2024-02-28 16:22:28 +01:00
Zef Hemel e046415f05 First iteration of new take on sharing 2024-02-28 12:16:51 +01:00
Zef Hemel f3a252b5dc Reindex tweaks 2024-02-28 10:55:25 +01:00
onespaceman 35128cc591
Change top bar to flexbox (#762) 2024-02-27 22:43:39 +01:00
Zef Hemel de2d1089d4
New space script APIs (#761)
New space script APIs: registerEventListener and registerAttributeExtractor
2024-02-27 20:05:12 +01:00
Zef Hemel a98299e8b3
Revert "Change top bar to flexbox (#753)" (#760)
This reverts commit e3a2dbdd11.
2024-02-27 19:32:40 +01:00
onespaceman e3a2dbdd11
Change top bar to flexbox (#753) 2024-02-26 18:10:31 +01:00
Matthew Pietz e290245621
Relax hashtag pattern matching (Support Emoji) (#752)
Adjust the RegExp for matching tags in order to better support compatibility
with other PKM systems. Though not the exact matcher used in Obsidian (since
its source is closed), this matcher is modeled mostly after it and allows most
non-whitespace characters, including Emoji.

I use a task line like `- [ ] Gift Idea #🎁 #Person-Name` to denote gift ideas
for friends and family. This patch allows SilverBullet to recognize the emoji.
2024-02-26 18:03:55 +01:00
Zef Hemel 5904326f0c Minor bug fix in service worker 2024-02-25 13:46:02 +01:00
Marek S. Łukasiewicz c53a6cec76
Exclude copy code button from more code widgets (#748) 2024-02-24 15:52:22 +01:00
Zef Hemel 6f897f6f6e Make slash command API compatible with regular completions 2024-02-24 09:26:00 +01:00
Zef Hemel 7e82a1b278 cliboard -> clipboard 2024-02-23 13:54:51 +01:00
Zef Hemel 60a42048ba Hopefully addresses #742 2024-02-23 13:42:02 +01:00
Zef Hemel cfd1e53f62 Fixes #734 2024-02-23 13:26:10 +01:00