Commit graph

149 commits

Author SHA1 Message Date
Andrea Alberti
4c77b281b6
fix: support Obsidian 1.13 community plugins tab redesign
Obsidian 1.13.0 rewrote the community-plugins settings tab: the plugin
list is now a declarative schema, renderInstalledPlugin's signature is
(setting, manifest), the installedPlugins container and its
.installed-plugins-container class are gone (list is now
.setting-group.mod-list), the name element gained version/author spans,
and the render() method was removed.

Retarget the monkey-patch at the new API: take settingEl and the plugin
id straight from the render arguments, place the lock icon in the
installed-plugins group heading, and fix the bulk re-scan and
theme-observer selectors. Raise minAppVersion to 1.13.0 accordingly;
older Obsidian keeps being offered 1.7.11 via versions.json.
2026-07-10 10:34:49 +02:00
Andrea Alberti
6ffeebb771
Fix github icon appearing with the correct light/dark theme 2026-02-25 15:01:25 +01:00
Andrea Alberti
3ba82f30c8
Merge branch 'main' into testing_annotation_control 2026-01-24 20:57:13 +01:00
Andrea Alberti
4a8f777602 Handle nested link clicks in annotations 2026-01-24 20:44:31 +01:00
Stef Nado
4845905453 Fix mobile annotation focus and touch handling (refs #24, PR #25) 2026-01-24 20:14:45 +01:00
Andrea Alberti
5740615518 Fix community plugins hook for Obsidian 1.11.5 (refs #26) 2026-01-24 19:36:40 +01:00
Stef Nado
6974fd0c3d
Update annotation_control.ts 2025-10-13 20:07:08 -04:00
Andrea Alberti
84d646d7b7 Improved visualization preference pane 2024-10-20 16:15:06 +02:00
Andrea Alberti
b5e9663b5d Detect changes to data.json which can be caused by the synchronization engine or an external editor and update the setting pane automatically. 2024-10-20 15:37:25 +02:00
Andrea Alberti
62c403a316 Detect changes to data.json made from synchronization engine or any external editor. 2024-10-20 14:12:05 +02:00
Andrea Alberti
66c9a31e36 Streamlined code and remove potential weak spot where openTab was called with asynchronous mechanism. 2024-10-20 10:36:25 +02:00
Andrea Alberti
bdc60e6c1f Fixed bug where it was conflicting with https://github.com/pjeby/hotkey-helper plugin. 2024-10-19 21:27:50 +02:00
Andrea Alberti
99836806a7 Fixed bug where it was conflicting with https://github.com/pjeby/hotkey-helper plugin. 2024-10-19 21:04:43 +02:00
Andrea Alberti
854549a38c - Fixed bug where a warning was shown when a new plugin was installed. 2024-10-18 22:11:30 +02:00
Andrea Alberti
f1b9ac1d77 Improved debounced saving 2024-10-18 21:24:30 +02:00
Andrea Alberti
442b7e4cbb - Fixed small bugs which makes the code more efficient, i.e., avoid repeating unnecessary operations
- Corrected a bug where by enabling the plugin, the personal annotations were not immediately shown in the preference pane, but required to exit the pane and enter it again.
2024-10-18 21:12:43 +02:00
Andrea Alberti
cfcbaf3efc Fix 2024-10-18 18:40:20 +02:00
Andrea Alberti
56de2c7d4b Comment 2024-09-15 11:18:02 +02:00
Andrea Alberti
7b08899845 Select text when receiving focus 2024-08-26 18:00:20 +02:00
Andrea Alberti
48d9d730da Select the text of annotations to be edited. 2024-08-26 17:41:29 +02:00
Andrea Alberti
49b6b9e5e5 Small changes 2024-08-26 10:42:06 +02:00
Andrea Alberti
256fd095d3 Another bug 2024-08-26 01:17:45 +02:00
Andrea Alberti
80cf07ab0e Fixed bug 2024-08-26 01:09:16 +02:00
Andrea Alberti
f7861bdb1b fixed bug patching multiple times. 2024-08-26 00:47:00 +02:00
Andrea Alberti
15c0e0972c Improved rendering of annotations and icons 2024-08-26 00:30:15 +02:00
Andrea Alberti
d71db186fa New version 1.7.0 2024-08-25 19:04:45 +02:00
Andrea Alberti
f8e562f5a7 Finished factory of debounced functions 2024-08-25 16:23:21 +02:00
Andrea Alberti
cec5b3bfb8 Simplified 2024-08-25 14:12:59 +02:00
Andrea Alberti
59da6411e4 Attempting to switch to a factory of debounced functions. 2024-08-25 13:53:02 +02:00
Andrea Alberti
7a34e8c98f Removed colons 2024-08-21 22:36:34 +02:00
Andrea Alberti
1f697fdb6e - Fixed bug where annotations could not be added when some text is provided in the search field to restrict the range of annotations displayed. 2024-08-21 10:58:06 +02:00
Andrea Alberti
594b9e0dda Fixed problem of double icons 2024-08-20 10:17:27 +02:00
Andrea Alberti
f1cc2a84c4 Fixed bug where buttons resetting to default conditions did not properly save the new setting. 2024-08-20 01:08:47 +02:00
Andrea Alberti
a98f44e142 small fix 2024-08-19 22:43:19 +02:00
Andrea Alberti
f5e42dad89 Improved debounced saving. Fixed a bug when switching between preference pane and community plugins pane, where the settings were not stored properly. 2024-08-19 01:23:47 +02:00
Andrea Alberti
393d40054a Small fix 2024-08-18 23:55:47 +02:00
Andrea Alberti
9d61276e37 Update all controls dynamically 2024-08-18 23:11:38 +02:00
Andrea Alberti
f936cacc94 Update annotations 2024-08-18 21:31:42 +02:00
Andrea Alberti
a37d259d0c Improved explanations 2024-08-18 20:02:09 +02:00
Andrea Alberti
02187ee6a3 Fixed bug where importing from an external file deletes the backups. 2024-08-18 19:30:35 +02:00
Andrea Alberti
8e38d8e305 Added lock icons to the preference pane. 2024-08-18 18:19:19 +02:00
Andrea Alberti
3493f37018 Fix several minor bugs 2024-08-18 16:10:24 +02:00
Andrea Alberti
fc3765ef82 Refactored code. Solved bugs. 2024-08-18 14:01:53 +02:00
Andrea Alberti
d00935d1f5 Small improvement 2024-08-18 04:48:56 +02:00
Andrea Alberti
9b97a54f27 Small fixes 2024-08-18 04:32:33 +02:00
Andrea Alberti
8d460d8ecf Finished correcting bugs on editing annotations 2024-08-18 04:30:54 +02:00
Andrea Alberti
38c8665f77 sort the notes alphabetically 2024-08-18 02:24:40 +02:00
Andrea Alberti
d9c384d35e New import routines 2024-08-18 01:57:08 +02:00
Andrea Alberti
cf977f7e73 fixed a bug where we could not click on Markdown links when the annotation are not editable. 2024-08-17 22:37:54 +02:00
Andrea Alberti
400e4033e1 Converted tabs to spaces 2024-08-17 22:02:13 +02:00