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

Web GUI for jobflow remote #241

Merged
merged 18 commits into from
Jan 14, 2025
Merged

Web GUI for jobflow remote #241

merged 18 commits into from
Jan 14, 2025

Conversation

fraricci
Copy link
Collaborator

@fraricci fraricci commented Jan 13, 2025

I'm proposing here a simple GUI for jobflow remote.
The GUI is a web application implemented with the recent
fasthtml python library by Jeremy Howard.

At the moment, it is a preliminary draft, with very simple looking, but it is usable and can do the following:

  • Handle more projects
  • Show a general reports about the jobs and flows status
  • Query jobs and flows according different criteria and show them in a table with pagination
  • Some actions (Rerun, Play, Pause, Stop, Retry for jobs; Delete for flows) can be performed on selected jobs/flows
  • Details of each job/flow are available through a popup dialog
  • Show the mermaid graph for flows in the same dialog
  • Show the current status of the Runner and can Start/Stop it

Hope you like it!
Please, if you're interested, give it a try and provide any feedback.
Hopefully, we can start from here to build something more complete, robust, and better looking.

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2025

Codecov Report

Attention: Patch coverage is 0.88889% with 223 lines in your changes missing coverage. Please review.

Project coverage is 71.15%. Comparing base (14b0ab9) to head (02df810).

Files with missing lines Patch % Lines
src/jobflow_remote/webgui/webgui.py 0.00% 223 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #241      +/-   ##
===========================================
- Coverage    73.61%   71.15%   -2.46%     
===========================================
  Files           48       49       +1     
  Lines         6454     6677     +223     
  Branches      1039     1074      +35     
===========================================
  Hits          4751     4751              
- Misses        1336     1559     +223     
  Partials       367      367              
Files with missing lines Coverage Δ
src/jobflow_remote/jobs/jobcontroller.py 79.94% <100.00%> (ø)
src/jobflow_remote/webgui/webgui.py 0.00% <0.00%> (ø)

Copy link
Contributor

@gpetretto gpetretto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. Thanks a lot!

@gpetretto gpetretto merged commit 1add6b9 into Matgenix:develop Jan 14, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

3 participants