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

Command management UI #74

Open
xepozz opened this issue Oct 8, 2023 · 0 comments
Open

Command management UI #74

xepozz opened this issue Oct 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@xepozz
Copy link
Member

xepozz commented Oct 8, 2023

Yii dev panel supports running project and vendor commands from UI.

One layer

Here we have 3 different type of command view:

Test view

image image

Analyse view

image image

General view

image image

So every three type of result view are used in different pages, but any commands can be ran from one layout.

It would be great to merge all of these commands into one page (Commands) and split groups on the tabs.

Result cache

Every page refresh one run another command clears the results were got from previous run.
It's not convenient to use it because you can't compare commands results with the ones from history.

I'd add storing results to some client storage (local storage, session storage, indexeddb storage, memory storage) and let users manipulate the history size in MB or records number.

Async command result

When you run a command from UI it makes HTTP request to a server and uses the response to render result.
But if a user changed page to another, the change cancels the HTTP request and the result won't be shown.

I'm thinking about creating a WebWorker to delegate the request and using Result cache to render the result when the user change the page back to Commands

@samdark samdark added the enhancement New feature or request label Oct 12, 2023
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

2 participants