Commit graph

74 commits

Author SHA1 Message Date
James Alexandre
19cbea6d27 fix: address remaining plugin review warnings (v1.5.3)
- Add descriptions to eslint-disable-next-line comments on prototype
  captures, satisfying the "undescribed directive comment" rule
- Use window.setTimeout() instead of activeWindow.setTimeout() per
  reviewer preference for timer functions
- Remove heading name from settings tab (was "Quick Select Settings");
  heading text must not include the plugin name or the word "settings"
- Remove builtin-modules devDependency; esbuild config now uses
  builtinModules from Node's native module package
2026-05-13 08:39:24 +10:00
James Alexandre
4f33895d88 fix: resolve all Obsidian plugin review warnings (v1.5.2)
Type safety
- Replace all `any` types with proper interfaces: WindowWithPlugin,
  SuggestModalInternal, PopoverSuggestInternal
- Change Map<any, Scope> to Map<object, Scope> for both scope stacks

Popout window compatibility
- Replace all bare `document` references with `activeDocument`
- Replace `setTimeout()` with `activeWindow.setTimeout()`

Code quality
- Remove `const self = this` aliasing in patchSuggestModal and
  patchPopoverSuggest; use destructured refs and arrow-function closures
  instead (e.g. const { modalScopeStack } = this, const getModifier =
...)
- Fix expression-statement anti-pattern: split `?? ...` optional-chain
  into explicit if/else blocks
- Add eslint-disable-next-line comments on the four prototype captures
  (origSuggestOpen/Close, origPopoverOpen/Close) which are intentionally
  unbound for monkey-patching and must be stored then called via .call()

Settings UI
- Replace createEl("h1") with new
Setting(containerEl).setName(...).setHeading()
  for consistent Obsidian UI
- Fix document references in settings dropdown onChange handler

Manifest
- Remove "Obsidian" from plugin description per review guidelines

Build / dependencies
- Replace deprecated `builtin-modules` package with Node's native
  builtinModules from the built-in `module` package
- Update @typescript-eslint/eslint-plugin and parser to 8.59.3,
  obsidian to 1.12.3, builtin-modules to 5.2.0
- npm audit now reports 0 vulnerabilities
2026-05-13 08:30:26 +10:00
James Alexandre
f231d64919 chore: Version Bump 2026-03-02 22:09:33 +11:00
James Alexandre
bfc4c409bf fix: Fix Suggestor Text Misalignment 2026-03-02 22:02:45 +11:00
itsonlyjames
d1b6b36194 release: 1.5.0 (Improving new architecture) 2025-09-04 12:20:27 +10:00
itsonlyjames
64ae6e8814 feat: Clean Up Modifier Key Listener 2025-09-04 12:18:34 +10:00
itsonlyjames
233d0cc0e9 feat: Restore Initial Modal Prototypes on Unload 2025-09-04 12:12:02 +10:00
itsonlyjames
fc80c3bded fix: Correctly Scope Index Value for Suggestions Containing Groups 2025-09-04 12:09:21 +10:00
itsonlyjames
0c34ee7ddc feat: Register Scope using Settings Keymap 2025-09-04 09:43:48 +10:00
itsonlyjames
8d0224ec78 feat: Fix absolute positioning not respecting parent 2025-09-04 09:36:26 +10:00
itsonlyjames
8e404bdf21 feat: Rearchitect Plugin (Scope for Keymaps / Direct Modal Access)
No more observing, we're monkey patching our way in!
2025-09-03 13:06:38 +10:00
itsonlyjames
699ba17637 Remove Hotkey Interceptors and Improve Key Listeners
This commit removes the problematic process of disabling/enabling
default hotkeys to make the plugin work. Instead, we now intercept the
keys (no matter what they are) when we open a window.
2025-07-24 12:29:32 +10:00
itsonlyjames
725525703c Format Main 2025-07-24 12:01:04 +10:00
itsonlyjames
8d066ec017 Check hotkey object validity prior to baking 2025-05-22 23:09:48 +10:00
itsonlyjames
eadb4e160a chore: version bump 2025-04-22 18:11:04 +10:00
itsonlyjames
3491018826 Fix hotkeyManager null access and restore hotkeys conditionally 2025-04-22 16:28:23 +10:00
itsonlyjames
af90f40360 chore: Package updates 2025-04-22 16:27:16 +10:00
itsonlyjames
c9e6df0021 Fix Counter Background Color 2024-10-25 11:47:28 +11:00
itsonlyjames
06bc4abb33 Chore: bump version 2024-10-25 11:35:56 +11:00
itsonlyjames
3cca8e1327 Styling fix for suggestion fade transition 2024-10-25 11:32:20 +11:00
itsonlyjames
53485ebb41 Add "Permanent" Transition Setting 2024-10-25 11:30:38 +11:00
itsonlyjames
a089e3a5c0 Add Transition Styles to Results Counters 2024-10-24 19:56:39 +11:00
itsonlyjames
04a050ab11 Hide Increment Counters by Default and Slide in When Mod Key Active 2024-10-24 15:44:52 +11:00
itsonlyjames
57f2eeb61b Optimise Plugin for Better Event Handling / Reduce Listeners 2024-10-24 14:56:21 +11:00
itsonlyjames
65dad255fa Run Keyboard Layout Map Func to Detect Physical Keyboard Presence 2024-10-23 13:47:24 +11:00
itsonlyjames
16c8552f99 Disable Functionality on Mobile and Simply Enable for Tablet/Desktop 2024-10-22 09:40:34 +11:00
itsonlyjames
df6ac983a3 Change Tablet Detection / Add Enable For Tablet Setting 2024-10-19 20:39:05 +11:00
itsonlyjames
83622dab63 Chore: bump version 2024-10-19 14:18:47 +11:00
itsonlyjames
914fc76a56 Allow usage on mobile (iPad) / Check for keyboard prior to injecting functionality 2024-10-19 14:18:18 +11:00
itsonlyjames
0870ff0f0b Add Setting to Change Modifier Key (as well as insitu tester)
Fixes #4
2024-10-11 18:25:07 +11:00
itsonlyjames
55c29d4a3b Add Styling Fix for Modal Highlight Centering 2024-09-24 11:16:06 +10:00
itsonlyjames
6efc580371 README Updates 2024-08-24 09:40:28 +10:00
itsonlyjames
ddf89f6262 Align nth numbers center 2024-08-23 22:15:58 +10:00
itsonlyjames
20ac6112a6 chore: version bump 2024-08-23 22:08:18 +10:00
itsonlyjames
cbdf5b7346 Fix issue with mod-group items being selectable elements 2024-08-23 22:04:40 +10:00
itsonlyjames
e804d44b10 Final removal of last quick open reference 2024-08-21 14:36:06 +10:00
itsonlyjames
f35b408ccc chore: version bump 2024-08-21 14:30:58 +10:00
itsonlyjames
850e30e67f Rename plugin to better reflect extended functionality 2024-08-21 14:21:20 +10:00
itsonlyjames
730c6aaf60 Minify prod build 2024-08-18 19:06:43 +10:00
James Alexandre
cfdfcdb1f2
Merge pull request #2 from itsonlyjames/feature/slashCommand
Implement Quick Open functionality on slash command modals
2024-08-18 18:40:49 +10:00
itsonlyjames
8dcd35075b Merge branch 'master' into feature/slashCommand
# Conflicts:
#	src/main.ts
2024-08-18 18:39:44 +10:00
itsonlyjames
6c65d6952c chore: types 2024-08-18 18:30:31 +10:00
itsonlyjames
f703f2144e Release 1.1.0! 2024-08-18 18:11:51 +10:00
itsonlyjames
45dceebc21 Update README 2024-08-18 18:10:39 +10:00
itsonlyjames
c51f386abf Add Quick Select Functionality to Slash Commands Modal 2024-08-18 17:47:10 +10:00
itsonlyjames
0d09e4522f Add Prettier File 2024-08-18 17:15:57 +10:00
itsonlyjames
b1a009659b Only Stack Tabs if not Outline (for UI reasons) 2024-08-16 09:01:49 +10:00
itsonlyjames
292868d42b Add Listener to Suggestion Container / Remove Key Listener on Close
Prepare for dealing with hotkey manager for default funcs
2024-08-12 10:03:16 +10:00
itsonlyjames
3f6d2e3d2d Init Slash Command Functionality 2024-08-11 18:48:34 +10:00
itsonlyjames
6de66d2ad7 Update set-output / Remove zip creation 2024-07-30 22:25:39 +10:00