Commit graph

134 commits

Author SHA1 Message Date
Brandon Philips
82f3c97cd3 2.7.0 2025-02-12 13:19:58 -08:00
Brandon Philips
d82542d7bb main: add file upload modal
Enable users to upload files to their Supernote via Browse and Access. https://github.com/philips/supernote-obsidian-plugin/issues/58
2025-02-12 13:14:27 -08:00
Brandon Philips
7b92498ee2 gitignore: add aider 2025-02-12 12:14:03 -08:00
Brandon Philips (aider)
c5cee5ea38 feat: add IP validation with regex pattern and visual feedback
Fixes https://github.com/philips/supernote-obsidian-plugin/issues/18
2025-02-12 12:13:58 -08:00
Brandon Philips
1104467abc main: refactor settings 2025-02-12 12:06:50 -08:00
Brandon Philips
68d27127ce FileListModal: use textContent 2025-01-22 11:50:33 -08:00
Brandon Philips
fc635f1cbe manifest: pin to 2.4.0 for now 2025-01-22 11:46:51 -08:00
Brandon Philips
be70c3211f 2.6.0 2025-01-22 11:46:14 -08:00
Brandon Philips
e586d5311f README: add browse and access video 2025-01-22 11:45:25 -08:00
Brandon Philips
72c59ec896 README: add fix 2025-01-22 11:43:16 -08:00
Brandon Philips
c8c5903198 README: add browse and access feature 2025-01-22 11:42:43 -08:00
Brandon Philips
6f2a51286c
Merge pull request #48 from philips/direct-download
FileListModal: Add a new feature to download from device
2025-01-22 11:39:56 -08:00
Brandon Philips
5f15a28807 FileListModal: Add a new feature to download from device
Download files directly from the device. No extra software or cloud
required.
2025-01-22 11:38:28 -08:00
Brandon Philips
a558fdcc29 manifest-beta: bump to 2.5.0 2025-01-22 09:41:35 -08:00
Brandon Philips
e2ebef1acc manifest.json: put 2.4.0 on main
Keep PDF export on 2.5.0 for now.
2025-01-22 09:37:54 -08:00
Brandon Philips
7ac6a674cd 2.5.0 2025-01-22 09:37:54 -08:00
Brandon Philips
96e1785bd1
Merge pull request #47 from philips/pdf
main: add PDF attachment
2025-01-22 09:34:40 -08:00
Brandon Philips
c632a3ab89 main: add PDF attachment 2025-01-22 09:29:54 -08:00
Brandon Philips
4a28f910fe main: fix file naming on save image button
Typo fix for filenames. Current filename is `Note Name}` which is
clearly wrong.
2025-01-10 23:54:02 -08:00
Brandon Philips
be776f547c manifest: put 2.4.0 on beta
The parallelization stuff needs some baking- put it on beta first.
2025-01-10 23:23:59 -08:00
Brandon Philips
3bc9b0da18 2.4.0 2025-01-10 23:23:45 -08:00
Brandon Philips
ce5c507d01
Merge pull request #39 from james-xli/feature/note-max-width
Max image width bugfix: Add margin around page containers
2025-01-10 23:09:55 -08:00
Brandon Philips
f853d0abfd
Merge pull request #44 from philips/worker
main: parallelize image processing
2025-01-10 23:06:58 -08:00
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
james-xli
0c64be7413 docs: Remove FAQ entry about resizing images
This entry was added in response to #22, my question about limiting image width. The entry is no longer relevant because the feature implemented in this branch allows adjusting the image size.
2024-12-18 23:12:42 -08:00
james-xli
7f8b4a12cf fix: Add margin around page container (#38)
Add margin around page container so that the recognized text of one page doesn't run into that of the next page. 1.2em seems like a reasonable amount for readability. Could maybe go slightly higher.

I also added some margin on the bottom of the recognized text so it's not too close to the image of the page.
2024-12-18 23:10:09 -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