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

Add missing CLI endpoints for webUI, download and serve it from CLI web --web-ui parameter #3123

Closed
4 tasks
andrevmatos opened this issue May 9, 2022 · 0 comments · Fixed by #3132
Closed
4 tasks
Assignees
Labels
cli 🔤 Command-line SDK-based Node.js Client issues enhancement New feature or request feature parity ⚖️ Needed for feature parity with the Raiden Python client

Comments

@andrevmatos
Copy link
Contributor

Description

LC CLI provides almost all endpoints from PC in a schema-compatible manner. Only a few config endpoints missing, which after implemented, should allow CLI to be a drop-in replacement for Raiden webUI, a nice user interface and admin panel for a raiden REST API-compatible client. Additionally, --web-ui/--no-web-ui command line options should control serving a pre-built version of the webUI in the respective endpoints.

This should give CLI users a better perspective of current node's state in a more ergonomic way than raw REST requests.

Acceptance criteria

  • Users can use the webUI with the CLI
  • There's an easy way to serve the webUI from a CLI node

Tasks

  • Identify [possibly undocumented] endpoints needed by webUI
  • Implement those endpoints with compatible schema
  • Add build step/script to download and uncompress webUI
  • Implement --web-ui to allow serving webUI files from /
@andrevmatos andrevmatos added enhancement New feature or request cli 🔤 Command-line SDK-based Node.js Client issues feature parity ⚖️ Needed for feature parity with the Raiden Python client labels May 9, 2022
@andrevmatos andrevmatos self-assigned this May 9, 2022
@andrevmatos andrevmatos mentioned this issue May 31, 2022
3 tasks
@karlb karlb mentioned this issue Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli 🔤 Command-line SDK-based Node.js Client issues enhancement New feature or request feature parity ⚖️ Needed for feature parity with the Raiden Python client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant