Skip to content

Command management UI #74

@xepozz

Description

@xepozz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions