Skip to content
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

🚀 Feature request: Quick command parameter presets #1

Open
megastary opened this issue Aug 12, 2021 · 2 comments
Open

🚀 Feature request: Quick command parameter presets #1

megastary opened this issue Aug 12, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request nice to have A functionality that would improve application

Comments

@megastary
Copy link
Member

Describe the solution you'd like
It would be cool if both user and administrator could define parameter presets, which could be launched with single click from main page.

Additional context
In previous version of Lazy Admin, there was each command with parameters, which were to be filled by user. To reuse same parameters, user had to search in history to reopen command window with previous parameters and go through the whole process.

@megastary megastary added the enhancement New feature or request label Aug 12, 2021
@megastary megastary self-assigned this Aug 12, 2021
@megastary
Copy link
Member Author

megastary commented Aug 18, 2021

Command row could be expanded to show subrows, where is each preset shown with parameters.
Two buttons on each row

  • Edit (Where we can change and run once, save permanently, delete)
  • Quick Launch

Could be achieved using QExpansionItem API

@megastary megastary added the nice to have A functionality that would improve application label Aug 23, 2021
@megastary
Copy link
Member Author

Presets could be of two types.

  • Semi-predefined commands, which has to be edited before launching (quick launch disabled)
  • Fully defined commands, which passed form validation and may be quick launched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nice to have A functionality that would improve application
Projects
None yet
Development

No branches or pull requests

1 participant