Giter Club home page Giter Club logo

symfony-console-ui's People

Contributors

dzavaletadrinksco avatar kpicaza avatar vividhpandey003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

symfony-console-ui's Issues

[PHP]: Accept Global Input Arguments

Is your feature request related to a problem? Please describe.
We can't pass global options form UI

Describe the solution you'd like
Hydrate command object from src/ReadModel/Command.php to allow mapping console global input options

[TS]: Cover the Web Component with unit tests

Is your feature request related to a problem? Please describe.
We haven't any unit test implemented on the Console UI web component

Describe the solution you'd like
We have to unit test|refactor each component in assets/components/ folder

Additional context

  • Don't have to test everything at once
  • Get a case, test|refactor it make a pull request. (We will mere it separately)
  • Ask everything you need to get the context

[PHP]: Symfony Messenger Support

Is your feature request related to a problem? Please describe.
Symfony Framework uses Symfony Messenger as the default queue system. We will consider using it as default too.

Describe the solution you'd like
As a first step, we need to support Symfony Messenger to execute the user-requested commands.

Describe alternatives you've considered
Actually, we are using PHP-Enqueue package. See it in src/Queue directory.

[Bug]: mercure.hub.default doesn't exists.

What happened?

If you haven't installed the symfony mercure bundle you get:

The service "Drinksco\ConsoleUiBundle\EventListener\CommandWatcher" has a d
!! ependency on a non-existent service "mercure.hub.default".

Installing the bundle solves it, but maybe it could be added as a dependency?

Edit:

I also encountered the following problems:

Warning: Undefined array key "MERCURE_HOST"

and after setting a dummy host in my .env file

sh: 1: exec: ./mercure: not found

Steps To Reproduce

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow our user Code of Conduct

[PHP]: Accept Global Input Arguments

Is your feature request related to a problem? Please describe.
We can't pass global arguments form UI

Describe the solution you'd like
Hydrate command object from src/ReadModel/Command.php to allow mapping console global input arguments

[PHP]: Create Symfony Flex recipe

Is your feature request related to a problem? Please describe.
Symfony allows installing all required configs, environment variables, dependencies,and so on using Flex package manger recipes

Describe the solution you'd like
Create a recipe to setup the console UI out of the box with the default config and environment variables.

[TS]: Accept Global Input Arguments

Is your feature request related to a problem? Please describe.
We can't pass global arguments form UI

Describe the solution you'd like
Append new input fields for global arguments in assets/components/TestForm.ts component as another level of inputs

[TS]: Accept Global Input Options

Is your feature request related to a problem? Please describe.
We can't pass global options form UI

Describe the solution you'd like
Append new input fields for global arguments in assets/components/TestForm.ts component as another level of inputs

[PHP]: Kill Command execution

Is your feature request related to a problem? Please describe.
Once the user request a command, and ints execution starts, there is no way to kill that command

Describe the solution you'd like
We need to create a new endpoint to receive the kill command request within the PID of the command the user wants to kill. then send a job to the queue to kill the process.

SPIKE: Try implement all pieces using react php

Is your feature request related to a problem? Please describe.
In the current implementation, the installation is too "hard" it is composed of at least 5 different installation and configuration steps. Also, we need to run 4 services at the same time.

Describe the solution you'd like
Maybe by using react-php we can implement the HTTP server, the queue, and the socket server.

[Bug]: Refactor the socket connection to avoid http1 limit of 6 concurrent connections

What happened?

Using the http1 protocol(the default in the local server) we can't do more than 6 concurrent persistent connections between the socket server and the browser.

Steps To Reproduce

  1. Open some tab with more than six commands
  2. Open the seventh command and launch it
  3. the command is executed, but the command output never arrives to the client

Relevant log output

No response

Code of Conduct

  • I agree to follow our user Code of Conduct

[TS]: Copy Command Line to Clipboard

Is your feature request related to a problem? Please describe.
When you are watching the command line you will run in command form in the console. You cant copy and paste it.

Describe the solution you'd like
We can add a helper to "copy to clipboard" the contents of a <pre> tag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.