You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
actions: GeneratedEntrypointAction[] field now is required to have at least one element
It is now possible to specify label displayed on bottom row panel for primary action
BREAKING CHANGE: Renamed GeneratedEntrypointAction's fn field into run
It is now possible to have GeneratedEntrypointAction which opens view instead of running command by specifying view field with value of React FC type instead of run
Renamed GeneratorProps to GeneratorContext
Added pluginPreferences and entrypointPreferences properties to GeneratorContext to access preferences from Entrypoint Generator
Added get: (id: string) => GeneratedEntrypoint | undefined function to GeneratorContext to get added entrypoint
Added getAll: () => GeneratedEntrypoint[] function to GeneratorContext to get all added entrypoints
Generated Entrypoints can now have accessories similar to <List/> component
Removed pluginPreferences and entrypointPreferences helper functions
Added usePluginPreferences and useEntrypointPreferences React Hooks
Command function now receives CommandContext as first argument
Object contains pluginPreferences and entrypointPreferences properties to access preferences from Command
Unified primary and secondary action execution in <List.Item/> and <Grid.Item/>
BREAKING CHANGE: Removed onClick property on <List.Item/> and <Grid.Item/> components
BREAKING CHANGE: <List.Item/> and <Grid.Item/> now has how id: string required property
If primary or secondary action is executed when <List.Item/> and <Grid.Item/> is focused, onAction handler first parameter will be value of id prop of focused item
Added onItemFocusChange?: (itemId: string | undefined) => void property on <List.Item/> and <Grid.Item/>. Function is called when focused item changes
BREAKING CHANGE: Renamed Image type to ImageLike to avoid conflict with <Image/> component
When entrypoint is enabled/disabled or preference value is changed whole plugin runtime is restarted instead of just reloading the search index
It is now possible to control whether the action closes main window by returning { close: true } object from onAction property function
For <Inline/> view and commands (including generated commands) action always closes window without possibility to keep it open
Improved rejected promise error log
UI/UX Improvements
On macOS main window now uses native window decorations
Show name of generator entrypoint near plugin name of entrypoints generated by it in main view search results
Improved styling of action panel popup
Tweaked padding between sections
Added shadow around it
Tweak height of <List.Detail.Metadata/> to be slightly taller
Values of fields in <List.Detail.Metadata/> are now positioned on the same row as labels
Fixes
Fixed one thread having close to 100% CPU usage while main window is hidden
Fixed icons in main search view sometimes not loading when window is opened or disappearing after scrolling
Fixed commands in permissions.exec.command in Plugin Manifest not being resolved properly
Fixed zombie processes being left over after plugin runtime is stopped
Fixed npm run dev failing to reload in some cases
Fixed <Grid.EmptyView/> not displaying the image
Fixed image in <List.EmptyView/> being too big so labels are not shown
Fixed action not being run if <List/> or <Grid/> view has focused <SearchBar/>
Fixed npm run dev failing because of missing log files when run for the first time