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 about dialog to dashboard #1082

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Add about dialog to dashboard #1082

merged 1 commit into from
Nov 29, 2024

Conversation

jraddaoui
Copy link
Collaborator

@jraddaoui jraddaoui commented Nov 27, 2024

  • Update API generated code and client to include about service.
  • Add info icon to the header to open a dialog with about information.
  • Show information from the about API endpoint (version, pres. system,
    child workflow names), include the same text from the homepage and
    buttons to documentation, license and contributing.

Unrelated changes:

  • Make sure padding is not added to the body when a dialog is shown.
  • Bold "Enduro" in the header to match dialog.
  • Update homepage text to match dialog.
  • Redirect to signin page after API authentication error.

Refs #1062.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.82%. Comparing base (be6554c) to head (6ecb34b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1082      +/-   ##
==========================================
+ Coverage   54.69%   54.82%   +0.12%     
==========================================
  Files         105      105              
  Lines        7696     7696              
==========================================
+ Hits         4209     4219      +10     
+ Misses       3228     3221       -7     
+ Partials      259      256       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jraddaoui
Copy link
Collaborator Author

Work in progress:

Screenshot from 2024-11-27 21-45-49

Clicking on the top-right info icon will show that dialog. I still need to add some template and style to get closer to the wireframes from the issue. Moving the user menu to a drop-down including a link to the dialog will probably happen in another PR.

@jraddaoui jraddaoui self-assigned this Nov 27, 2024
Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I don't really understand how the code to hide / show the dialog works. I'm sure it's fine.

dashboard/src/components/AboutDialog.vue Outdated Show resolved Hide resolved
Copy link
Contributor

@mcantelon mcantelon left a comment

Choose a reason for hiding this comment

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

I had the same question Dave had about that one bit of Vue TS (given that I've not worked with Vue). The OpenApi code generation seems very cool... I'll have to look more into how that code generation works. All seems good though!

@jraddaoui jraddaoui force-pushed the dev/issues-1062-about-ui branch from e9d1e6a to 5cc9617 Compare November 28, 2024 20:31
@jraddaoui jraddaoui changed the title WIP: Add about dialog to dashboard Add about dialog to dashboard Nov 28, 2024
@jraddaoui jraddaoui force-pushed the dev/issues-1062-about-ui branch from 5cc9617 to 53ed84b Compare November 28, 2024 20:33
@jraddaoui jraddaoui marked this pull request as ready for review November 28, 2024 20:33
@jraddaoui jraddaoui force-pushed the dev/issues-1062-about-ui branch from 53ed84b to 006eb3b Compare November 28, 2024 21:00
Copy link
Collaborator Author

@jraddaoui jraddaoui left a comment

Choose a reason for hiding this comment

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

@djjuhasz @mcantelon ready for another review if you have some time. Check #1062 (comment) for more details and screenshots.

dashboard/src/components/AboutDialog.vue Show resolved Hide resolved
dashboard/src/client.ts Show resolved Hide resolved
Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

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

Looks good to me @jraddaoui 👍

- Update API generated code and client to include about service.
- Add info icon to the header to open a dialog with about information.
- Show information from the about API endpoint (version, pres. system,
child workflow names), include the same text from the homepage and
buttons to documentation, license and contributing.

Unrelated changes:
- Make sure padding is not added to the body when a dialog is shown.
- Bold "Enduro" in the header to match dialog.
- Update homepage text to match dialog.
- Redirect to signin page after API authentication error.
@jraddaoui jraddaoui force-pushed the dev/issues-1062-about-ui branch from 006eb3b to 6ecb34b Compare November 29, 2024 00:07
@jraddaoui jraddaoui merged commit 6ecb34b into main Nov 29, 2024
14 checks passed
@jraddaoui jraddaoui deleted the dev/issues-1062-about-ui branch November 29, 2024 00:18
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