Commit graph

150 commits

Author SHA1 Message Date
Noah Boos
6a8d62e703 Features - Turned code block's heading's code to @legacy and disabled it 2025-04-23 20:39:39 +02:00
Noah Boos
f9264d4473 Code Review - Refactored all "codeblock" as either "codeBlock" or "code block", depending on the use case 2025-04-23 20:25:52 +02:00
Noah Boos
d0292ee409 Code Review - Updated main.ts documentation using JSDoc 2025-04-23 20:15:15 +02:00
Noah Boos
b1323e6e1d Features - Added Markdown Codeblock Processor that hides / reveal AnIn codeblock in preview mode depending on setting choice 2025-04-22 23:25:11 +02:00
Noah Boos
c95251308c Features - "Enable invisible codeblock" setting added 2025-04-22 22:31:50 +02:00
Noah Boos
41a36065f2 Code Review - Changed AutoAssignDeck(), AutoAssignModel() and AutoGenerateFields() from asynchronous to synchronous functions 2025-04-22 18:21:13 +02:00
Noah Boos
c8abfad182 Code Review - Commented utils function behavior with JSDoc 2025-04-22 17:54:35 +02:00
Noah Boos
e62bf2dba0 Code Review - Commented AddNoteFromCodeblockModal's method behavior with JSDoc 2025-04-22 17:37:07 +02:00
Noah Boos
7d578778fd Code Review - Commented AddNoteFromCodeblockModal's onOpenAsync()'s inner behavior with JSDoc 2025-04-22 17:28:07 +02:00
Noah Boos
6f6877e4a9 Code Review - Commented AddNoteFromCodeblockModal's onClose() with JSDoc 2025-04-22 17:28:07 +02:00
Noah Boos
3c10638fce Code Review - Commented AddNoteFromCodeblockModal's GetCodeBlockParameters()'s inner behavior with JSDoc 2025-04-22 17:28:06 +02:00
Noah Boos
84fa1976bd Refactoring - JSDoc and variable names changes for better clarity 2025-04-21 22:58:01 +02:00
Noah Boos
34124df636 Refactoring - AddNoteFromMetadataModal's AddFieldsGroupToModal() now handles the data container instead of receiving ready-to-use data 2025-04-21 22:57:12 +02:00
Noah Boos
128be3ba8b Refactoring - AddNoteFromMetadataModal now trigger an onOpenAsync() method that handles values auto assignment 2025-04-21 22:56:07 +02:00
Noah Boos
7ba9ec8222 Refactoring - AddNoteFromCodeblockModal's AddFieldsGroupToModal() now handles the data container instead of receiving ready-to-use data 2025-04-21 22:54:38 +02:00
Noah Boos
d2336dee74 Refactoring - AutoGenerateFields() now trigger modal.AddFieldsGroupsToModal by using noteParameters instead of noteParameters["field"]
Allows an independent handling of noteParameters attributes and enhances function compatibility for different data container
2025-04-21 22:53:14 +02:00
Noah Boos
30914d780d Features - User can now create a note using a code block 2025-04-21 20:09:09 +02:00
Noah Boos
9087cfe8c2 Features - Added "Add a new note from codeblock" command 2025-04-21 20:06:48 +02:00
Noah Boos
5139b8f836 Merge remote-tracking branch 'origin/main' 2025-04-21 13:48:03 +02:00
Noah Boos
664a57cf9d Patch - Issue #2 2025-04-21 13:47:48 +02:00
Noah Boos
56878fc909 Patch - "Bug - Fields not disappearing after unselecting a model." 2025-04-21 13:40:45 +02:00
Noah Boos
a06aa9a477 Features - Added "SHIFT + ENTER" shortcut to trigger deck and notes creation 2025-04-21 13:19:59 +02:00
Noah Boos
f372a3f132 Releases - 1.1.0 - Updated manifest.json, package.json 2025-04-18 16:56:55 +02:00
Noah Boos
ca15a1b589 Releases - 1.1.0 2025-04-18 16:53:52 +02:00
Noah Boos
cb290a6314 Patch - Now check if the two first field are filled and display a notice + returns if not 2025-04-18 16:50:23 +02:00
Noah Boos
ba510bf7ab Code Review - AddNoteFromMetadataModal ; Features - Created AddFieldsGroupsToModal method ; Implemented error handler ; Patch - Now add fields related to the pre-selected model 2025-04-18 16:49:22 +02:00
Noah Boos
a7fdafe699 Features - Added deck and model pre-selection thanks to Yaml Parsing 2025-04-18 16:06:28 +02:00
Noah Boos
00ced430b3 QoL - AddNoteFromMetadataModal now fetch Yaml metadata at onOpen() start 2025-04-18 15:31:43 +02:00
Noah Boos
cce32cfdbe Refactoring - Removed useless for statement 2025-04-18 15:29:24 +02:00
Noah Boos
495a63c2ad Features - Added AddNoteFromMetadataModal ; Refactored code in AddNoteModal and in some utils methods 2025-04-18 13:27:43 +02:00
Noah Boos
666489e5c7 Features - Added "Add a new note from metadata" command to Obsidian 2025-04-18 13:26:53 +02:00
Noah Boos
f7e551ec93 Merge remote-tracking branch 'origin/main' 2025-04-04 22:11:40 +02:00
Noah Boos
b4e7e674bc Code review - Updated plugin description by removing "Obsidian". 2025-04-04 22:10:59 +02:00
Noah Boos
17f1005051
Minor changes for submitting the plugin
Removed "with Anki" as asked.
2025-03-31 23:38:28 +02:00
Noah Boos
90ee6dd675 Code review - Updated README.md to explain what AnIn really bring to people compared to other solutions 2025-03-26 18:31:15 +01:00
Noah Boos
a155edf916 Code review - Updated plugin description 2025-03-26 18:23:26 +01:00
Noah Boos
b58e678284 Code review - Removed default setting 2025-03-26 18:14:30 +01:00
NoahBoos
10c73dea76 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	manifest.json
2025-03-14 23:44:49 +01:00
NoahBoos
c682f84bdc Releases - 1.0.0 - Set up "manifest.json" for submission to the Obsidian Team 2025-03-14 23:44:10 +01:00
NoahBoos
c0648cea1e Releases - 1.0.0 - Set up "manifest.json" for submission to the Obsidian Team 2025-03-14 23:28:46 +01:00
NoahBoos
5b73978f7e Merge remote-tracking branch 'origin/main' 2025-03-14 23:10:12 +01:00
NoahBoos
6a2d2cc2e2 Releases - 1.0.0 2025-03-14 23:09:43 +01:00
NoahBoos
e9e7a1b23a Releases - 1.0.0 2025-03-14 22:40:13 +01:00
NoahBoos
07d0e6aefc Updated .gitignore 2025-03-14 21:22:47 +01:00
NoahBoos
a4a4e393f1 Reverted NPM Script 2025-03-14 21:16:18 +01:00
NoahBoos
1ad68e4c5d Editing NPM Script 2025-03-14 21:12:21 +01:00
NoahBoos
38c9ffdfae Release - Add release workflow 2025-03-14 20:57:18 +01:00
NoahBoos
cbce428f94 Code Review - Changing the title of the AddNoteModal 2025-03-14 20:56:58 +01:00
Noah Boos
a657746290
Create README.md 2025-03-13 21:58:13 +01:00
NoahBoos
6cee164a2a Features - Implemented "AddNote()" ; Implemented behavior for the submit button in AddNoteModal.ts 2025-03-13 20:20:57 +01:00