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

Create first version of dashboard closes #95 #114 #115

Merged
merged 12 commits into from
Nov 4, 2023
Merged

Conversation

SebChw
Copy link
Owner

@SebChw SebChw commented Oct 3, 2023

Please reed #95 and #114 to know what problems this PR solves

I tried to do it few times and the 3rd approach somehow succeed.
refactor to current log format This commit implements actual version of the dashboard. You can omit previous ones.

See readme.md for the instructions of running dashboard

Copy link
Collaborator

@kordc kordc left a comment

Choose a reason for hiding this comment

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

Everything seems nice so far, I left a few comments but it's definitely a good starting point

art/dashboard/assets/timeline.css Outdated Show resolved Hide resolved
art/dashboard/app.py Outdated Show resolved Hide resolved
art/dashboard/app.py Outdated Show resolved Hide resolved
art/step/step_state.py Outdated Show resolved Hide resolved
art/step/step_state.py Outdated Show resolved Hide resolved
art/dashboard/app.py Outdated Show resolved Hide resolved
art/dashboard/app.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@kordc kordc left a comment

Choose a reason for hiding this comment

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

As before, great job

from art.dashboard.help import HELP

RADIUS_AROUND = {"border-radius": "25px", "border": "2px solid #a87332"}
PAD = {"padding": "15px"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we move those 2 consts to const.py?



def prepare_steps(logs_path):
# TODO to order which steps were first is another issue for me. Should we stick to the integer inside a directory name?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Convert it to issue if you won't solve it in this PR

selected_params = {key: samples[selected_row][key] for key in parameters}
for row in samples:
if row["index"] == selected_row:
params = parameters
Copy link
Collaborator

Choose a reason for hiding this comment

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

These names params and parameters are a bit confusing. I'm a fan of self-explaining vars' names which would differentiate between both, but it's only a suggestion

@SebChw SebChw marked this pull request as ready for review November 4, 2023 09:50
Copy link
Collaborator

@kordc kordc left a comment

Choose a reason for hiding this comment

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

LGTM

@SebChw SebChw merged commit b6c39b6 into develop Nov 4, 2023
@SebChw SebChw deleted the develop_dashboard branch November 4, 2023 11:46
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