Skip to content

Support "Shortcut" buttons in the Status Bar #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
junhaoliao opened this issue Apr 28, 2025 · 0 comments
Open

Support "Shortcut" buttons in the Status Bar #258

junhaoliao opened this issue Apr 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@junhaoliao
Copy link
Member

Request

(Feature requested by @diy1 )

Add configurable shortcut buttons that auto-populate log search queries and configurations (isRegex/isCaseSensitive) to improve workflow efficiency for users who frequently search for the same log patterns.

Possible implementation

  1. Button Implementation:
    Create clickable shortcut buttons that modify URL hash / search parameters (depends on feat(URL): Share link with search parameters #173 ). Each button encodes query text and configurations (isRegex, isCaseSensitive) into URL parameters for the application.
  2. Configuration UI:
    Add an "+Add Shortcut" button in the Search tab header that captures current search settings. Each shortcut has edit/delete options accessible via icon or right-click. Store configurations in localStorage.
  3. User Control:
    Users can freely add (as proposed in 2.), modify, or delete shortcuts. Optional drag-and-drop reordering of shortcuts
  4. Presets:
    We can add some default shortcuts for demonstration purpose to first time users. Depending on the implementation of Profile management for configuration #237 , we can also define some some presets depending on the filePath.
@junhaoliao junhaoliao added the enhancement New feature or request label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant