Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to the Askman Chrome extension. The changes focus on enhancing keyboard shortcut management, improving user interface elements, and updating configuration settings.
Enhancements to Keyboard Shortcut Management:
BlockConfig
class to manage pages where keyboard shortcuts are disabled, and integrated it into theAskPanel
andApp
components (src/utils/BlockConfig.ts
,src/components/ask-panel.tsx
,src/pages/content/ui/app.tsx
). [1] [2] [3]StorageManager
to support saving and retrievingSHORTCUT_DISABLED_PAGES
from user preferences (src/utils/StorageManager.ts
). [1] [2] [3] [4]User Interface Improvements:
Notification
component to display messages to users (src/components/base/Notification.tsx
).BaseDropdown
component to conditionally apply styles and added logging for debugging (src/components/base/BaseDropdown.tsx
). [1] [2]KeyBinding
component to accept children elements for more flexible usage (src/components/icons.tsx
).Configuration Updates:
external-links.toml
to change the documentation link (src/assets/conf/external-links.toml
).ASK_BUTTON_BLOCK_PAGE
and introducedSHORTCUT_DISABLED_PAGES
inpreferences.toml
(src/assets/conf/preferences.toml
).Miscellaneous Changes:
package.json
version from 0.0.13 to 0.0.15 (package.json
).BlockConfig
import and initialization inask-panel.tsx
(src/components/ask-panel.tsx
). [1] [2]These changes collectively improve the extension's usability by better managing keyboard shortcuts, enhancing user notifications, and updating configuration settings.