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

[PLAN] Agenda for disqussion. #5

Open
2 tasks done
iberdinsky-skilld opened this issue Mar 3, 2024 · 5 comments
Open
2 tasks done

[PLAN] Agenda for disqussion. #5

iberdinsky-skilld opened this issue Mar 3, 2024 · 5 comments

Comments

@iberdinsky-skilld
Copy link
Contributor

iberdinsky-skilld commented Mar 3, 2024

Current application, Open API, Swagger.

https://refine.dev/

https://axios-http.com/

https://chakra-ui.com/

https://www.openapis.org/

https://swagger.io/tools/swagger-ui/

https://rjsf-team.github.io/react-jsonschema-form/docs/

Extend json form with:

Alternatives. Webcomponents (Lit client)

https://github.com/json-schema-form-element/jsfe

https://jsfe.js.org/Sink/AllFeatures

https://shoelace.style/

Websockets (Async API) Refine Live provider.

  • Dynamic lists.
  • Dynamic running actions
  • Stdout example.

https://www.asyncapi.com/en

https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API

https://refine.dev/docs/realtime/live-provider/

TODO.

  • Define app core technology.

  • Define rest/async workflow.

@davidferlay
Copy link
Contributor

davidferlay commented Mar 5, 2024

Ideas of feartures / roadmap :

  • list actions list/page/run/stdout etc > Kind of done
  • list launchr commands brought by native plugins (as opposed to action file)
  • action should bring it's "UI" file ?
  • action to start web-ui (listed in a special way in UI) > plasmactl action to start UI
  • platform configuration files (require some special domain behavior)
    • for init stuff > see kb
    • for regularly updated configs > see integration skills
  • integration/cognition workflow low code
  • package management (compose.yaml)

@iberdinsky-skilld iberdinsky-skilld changed the title Agenda for disqussion. [PLAN] Agenda for disqussion. Mar 5, 2024
@iberdinsky-skilld
Copy link
Contributor Author

iberdinsky-skilld commented Apr 10, 2024

Refactor current code.

We have added some changes to the existing backend code. They need to be tested and refactoring may be necessary.

PRs:

Also, the original code contains a lot of "to do" tags, they are also worth noting.

Launchr/plasma features to disquss for next iteration for web ui.

Action to start web-ui (listed in a special way in UI) > plasmactl action to start UI

plasmactl build -p github.com/launchrctl/launchr@latest,github.com/launchrctl/web@latest -n plasmactl -o plasmactl

This command not working yet. We need to load client assets into build.

List launchr commands brought by native plugins (as opposed to action file)

@davidferlay

integration/cognition workflow low code

@davidferlay

Async Api

I added proof of concept here
#37

Everything works but definitely needs to be done by a more advanced backender.
We also may need to use go channels to know when action started and when finished.

It can use same as OpenApi code generator https://github.com/lerenn/asyncapi-codegen

We can continue this work in parallel with development in OpenApi because working with an asynchronous backend is very simple in refine.dev so client app can be switched pretty easy.

Flows

I added a few ideas of what the home page could look like

  • We can display them in groups using the action ID.
  • We can add interactive elements inside cards
  • We can add effects as we run, synchronously or asynchronously https://attio.com/product/automations nice effect for inspiration. more ideas: https://reactflow.dev/showcase
  • We can add a configuration file ui-compose.yaml with actions group hierarchy.

Brand customisation.

If we suppose this app be used by various people/companies we should be able to provide different levels of ui customisation.
Can be optional file web-ui.yaml with option to setup

  • Logo
  • Branding colors
  • Fonts
  • etc.

@iberdinsky-skilld
Copy link
Contributor Author

iberdinsky-skilld commented Apr 22, 2024

Flow disqussion

  • Platforms switcher
  • Structure of tree.
  • Edges start/finish.
  • Colors of groups.
  • Rignt off-canvas bar. Data source. Tags. UI Form

@iberdinsky-skilld
Copy link
Contributor Author

iberdinsky-skilld commented May 2, 2024

Sidebar behaviour.

  • Directory structure. 3 level types now: Directory/Application/Action
  • Iteraction. On click directory/application/Action. When second for sidebar shoud be opened? What display in every type?
  • Actions Tab. Iterations/search
  • Should second sidebar be modal?

ReactFlow behaviour.

  • Kostia Demo.
  • Autolayout.
  • Iteractions.

Flow tab.

  • Config.
  • Order sequence / Sequence indicator

Terminal styles approach.

Current state of backend.

TBD

@iberdinsky-skilld
Copy link
Contributor Author

launchrctl/launchr#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants