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

ui: add tour to admin and info banner #2838

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

miguelgrc
Copy link
Contributor

@miguelgrc miguelgrc commented Jul 21, 2023

Closes #2831, #2832

  • Added a basic tour to CAP admin using React Joyride. Steps and texts are to be reviewed
  • Added initial doc pages for admin, collections and news
  • Added an intervention/info banner that can be configured by setting the VITE_CAP_BANNER to a JSON object with the properties indicated in MessageBanner.js

Signed-off-by: Miguel Garcia Garcia <[email protected]>
Signed-off-by: Miguel Garcia Garcia <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2023

Codecov Report

Merging #2838 (3bfaa89) into master (83582cb) will decrease coverage by 0.71%.
Report is 48 commits behind head on master.
The diff coverage is 55.41%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2838      +/-   ##
==========================================
- Coverage   77.22%   76.52%   -0.71%     
==========================================
  Files         187      187              
  Lines        7373     7530     +157     
==========================================
+ Hits         5694     5762      +68     
- Misses       1679     1768      +89     
Files Changed Coverage Δ
cap/modules/schemas/cli.py 60.30% <13.13%> (-20.67%) ⬇️
cap/modules/schemas/models.py 89.16% <30.00%> (-2.65%) ⬇️
cap/modules/schemas/utils.py 85.04% <82.14%> (-1.17%) ⬇️
cap/modules/schemas/views.py 86.95% <93.82%> (+8.30%) ⬆️
cap/modules/deposit/permissions.py 89.34% <100.00%> (+0.08%) ⬆️
cap/modules/deposit/validators/__init__.py 100.00% <100.00%> (ø)
cap/modules/records/validators.py 100.00% <100.00%> (ø)
cap/modules/schemas/validators.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@miguelgrc miguelgrc changed the title ui: add tour to admin ui: add tour to admin and info banner Jul 26, 2023
@@ -9,6 +9,8 @@
</head>
<body>
<div id="app"></div>
<!-- Needed for react-joyride with Vite -->
<script>window.global = window;</script>
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we try this way? react-simple-code-editor/react-simple-code-editor#86 (comment) from vite.config?

@pamfilos pamfilos merged commit 5d01cdf into cernanalysispreservation:master Sep 6, 2023
1 check 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.

docs: update docs with new features
3 participants