Brandon Philips
9f3ed397d4
main: parallelize image processing
...
This reduces the procsesing time of the 1to10.note from about 7 seconds
to 1.5s. It should be significant for anyone with note files with many
pages.
2025-01-10 22:59:34 -08:00
Brandon Philips
439506b58e
2.3.0
2024-12-18 17:21:48 -08:00
Brandon Philips
97caef4bbe
Merge remote-tracking branch 'james-xli/feature/note-max-width'
2024-12-18 17:14:57 -08:00
Brandon Philips
f3224f1937
2.2.9
2024-12-18 16:47:21 -08:00
Brandon Philips
825fa26cc0
supernote-typescript: bump to v0.2.4
2024-12-18 16:44:21 -08:00
Brandon Philips
895fc5775e
2.2.8
2024-12-18 10:24:20 -08:00
Brandon Philips
078f53bb15
supernote-typescript: bump to 0.2.3
2024-12-18 10:22:27 -08:00
james-xli
101ff45702
Add container for each page. Setting now limits both width and height instead of just width. Multiple pages can be visible horizontally.
...
I think this should play nice with horizontal pages, but am unable to test because horizontal pages aren't working quite yet.
Also changed the default setting to 800px, which is a nice medium size to be legible but not too big. Max setting now goes to 1900 px (slightly larger than the 1872 px long edge of a Nomad page).
2024-06-08 21:09:10 -07:00
james-xli
abc8f3b0b0
Fix errors introduced during rebase; update supernote-typescript to match current version in main
2024-06-08 17:49:34 -07:00
james-xli
47084d5c94
Clarify settings description
2024-06-08 17:20:32 -07:00
james-xli
67de896d3b
Update settings description: Remove reference to 0px behavior
...
I removed the special 0px behavior in the previous commit but forgot to update this text in the settings description.
2024-06-08 17:20:32 -07:00
james-xli
4e7b98a92e
Remove special behavior when set to 0px; set default to 1400px
...
I think this makes the setting behavior more intuitive, because the slider value now always means what it seems to mean.
Previously, setting to 0px allowed the page to go to its full 1404px width, but that's basically the same as just setting 1400px for the max width.
I set the lower bound at 100px so that a user can't accidentally make the pages disappear entirely.
Note: I know pages in landscape orientation would have a width of 1872px, but I'm going with 1400px for now because:
- This plugin doesn't seem to be parsing landscape notes correctly at the moment
- 1400px is already very wide
2024-06-08 17:20:32 -07:00
james-xli
ad0ec7489c
Add setting for max image width when viewing .note files
...
Per issue #22 , adds a max px width setting in the settings pane. Notes are still responsive to window size below the max width.
2024-06-08 17:20:18 -07:00
Brandon Philips
9da9551e2c
2.2.7
2024-05-21 21:52:34 -07:00
Brandon Philips
c7d37d7e3e
gitignore: add node_modules
2024-05-21 20:40:43 -07:00
Brandon Philips
6b51cb65d6
supernote-typescript: bump versions
2024-05-21 19:34:00 -07:00
Brandon Philips
e0b460c74e
2.2.6
2024-05-21 18:00:39 -07:00
Brandon Philips
85b13ae402
github: styles not style
2024-05-21 18:00:18 -07:00
Brandon Philips
237f217e8a
2.2.5
2024-05-21 17:58:56 -07:00
Brandon Philips
6a3249dc85
github: add style.css as part of the release
2024-05-21 17:58:43 -07:00
Brandon Philips
313f816a2a
2.2.4
2024-05-21 17:50:52 -07:00
Brandon Philips
ed3dbc1573
node_modules: remove node_modules
2024-05-21 17:50:39 -07:00
Brandon Philips
235421c62b
2.2.3
2024-05-21 17:45:58 -07:00
Brandon Philips
ed97d5818f
github: bump release to node 21
2024-05-21 17:45:40 -07:00
Brandon Philips
92d25be901
2.2.2
2024-05-21 17:42:54 -07:00
Brandon Philips
8818271788
package.json: use correct module name
2024-05-21 17:42:37 -07:00
Brandon Philips
1f2717f43a
2.2.1
2024-05-21 17:39:10 -07:00
Brandon Philips
db6a1782f6
github: update to node 20
2024-05-21 17:39:03 -07:00
Brandon Philips
712df8d096
2.2.0
2024-05-21 17:33:48 -07:00
james-xli
737f63e9a9
settings: add features to hide UI elements
...
This adds three features to hide UI elements on the .note view:
- Toggle the TOC and page headings
- Hide export buttons (there is a command pallete tool as well)
- Collapse recognized text
2024-05-21 17:12:23 -07:00
Brandon Philips
517ee256fb
main: format code
2024-05-11 08:37:52 -07:00
Brandon Philips
d665e33bec
main: invert images automatically based on light/dark mode
...
This adds a feature and setting to invert images when Dark mode is
enabled.
Fixes https://github.com/philips/supernote-obsidian-plugin/issues/23
2024-05-11 08:36:49 -07:00
Brandon Philips
a48ca02a77
README.md: a handful of small updates
2024-05-10 10:15:54 -07:00
Brandon Philips
e5600da224
README: add link to Organizing for Change video
...
This is a good overview of the plugin- add a link.
2024-04-14 01:37:28 -07:00
Brandon Philips
e06165ef1d
CODE_OF_CONDUCT.md: create
2024-04-06 08:53:39 -07:00
Brandon Philips
2518e666d2
node_modules: initial import
...
Since there is no native code I am just checking all of the dependencies
in to simplify life and avoid a hard dependency on npm working on any
given day.
2024-04-05 23:08:52 -07:00
Brandon Philips
cff4ddcb35
README: official store information
2024-04-05 13:42:26 -07:00
Brandon Philips
14862f587d
2.1.10
2024-04-04 07:28:19 -07:00
Brandon Philips
1633a8d83b
main: Use sentence case in UI
...
Follow Obsidian style guide:
https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Use+sentence+case+in+UI
2024-04-04 07:27:29 -07:00
Brandon Philips
dbe58b55e8
main: remove unused import
2024-04-04 07:22:48 -07:00
Brandon Philips
446c814576
manifest: set minAppVersion to current version
...
Review feedback: You are using newer API's, set this to the latest public build number.
2024-04-04 07:22:07 -07:00
Brandon Philips
3558352379
manifest: update funding URL to README
2024-04-03 10:29:29 -07:00
Brandon Philips
20c485db32
README: add funding note
2024-04-03 10:28:23 -07:00
Brandon Philips
0f8bc55c75
README.md: update to new URL
2024-03-31 08:18:08 -07:00
Brandon Philips
3980cdf85a
2.1.9
2024-03-31 07:30:01 -07:00
Brandon Philips
f83f43c0a6
manifest: update funding and author URL
2024-03-31 07:29:31 -07:00
Brandon Philips
37ae69d10a
2.1.8
2024-03-31 07:22:54 -07:00
Brandon Philips
4c7e195f95
manifest.json: update github URL
2024-03-31 07:22:40 -07:00
Brandon Philips
9a750dde8c
2.1.7
2024-03-31 07:14:52 -07:00
Brandon Philips
c4ca3ccf67
main: cleanup coding style stuff
...
Using innerHTML, outerHTML or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: https://docs.obsidian.md/Plugins/User+interface/HTML+elements
- You should not cast this, instead use a instanceof check to make sure that it's actually a file/folder.
2024-03-31 07:13:54 -07:00