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

VADC-446: Use a modified datetime of the themeoverrides.css to pull most recent version #1254

Merged
merged 9 commits into from
Mar 23, 2023

Conversation

vzpgb
Copy link
Contributor

@vzpgb vzpgb commented Mar 15, 2023

Jira Ticket: VADC-446

This PR uses the last modified date of the themeoverrides.css file at build time to set the version. This change allows performing automatic CSS pull after the gitops.css update.

Improvements

  • Use last modified datetime of the themeoverrides.css to pull the css version

@vzpgb vzpgb changed the base branch from master to feat/vadc_sprint05 March 21, 2023 15:16
Base automatically changed from feat/vadc_sprint05 to master March 21, 2023 20:10
@vzpgb vzpgb marked this pull request as ready for review March 21, 2023 20:40
boot.js Show resolved Hide resolved
webpack.config.js Outdated Show resolved Hide resolved
jarvisraymond-uchicago and others added 9 commits March 23, 2023 10:11
* feat(resultAppSetupFE): setup home page

* feat(resultsAppSetupFE): added useContext hook to maintain state

* feat(resultsAppSetupFE): Setup Results and Execution data to display using useContext

* feat(resultsAppSetupFE): simplified rand num code

* feat(resultsAppSetupFE): fixed linter issues

* feat(resultsAppSetupFE): fixed table layout issues

* feat(resultsAppSetupFE): fixed style formatting

* feat(resultsAppSetupFE): Created placeholder file for stoybook

* feat(resultsAppSetupFE): Fixed broken storybook file

* feat(resultsAppSetupFE): added multiple storybooks

* feat(resultsAppSetupFE): added spinner and updated storybook

* feat(resultsAppSetupFE): updated storybook to use null

* feat(resultsAppSetupFE): cleaned up code

* feat(resultsAppSetupFE): removed ref to deleted CSS file in ReturnHomeButton

* feat(resultsAppSetupFE): added explanatory comment in GWASResultsContainer.jsx

* feat(resultsAppSetupFE): made buttons more like design

* feat(resultsAppSetupFE): reset poll timer to 5 seconds

* feat(resultsAppSetupFE): ran eslint-new

* feat(resultsAppSetupFE): addressed PR reviews comments, added ENUM for storing Views

* feat(resultsAppSetupFE): fixed linting issues with proptypes

* feat(resultsAppSetupFE): formatted code in HomeTable.jsx
* feat(resultsTableApiConnect): Added Pieter's code for GWASWorkflowList and got it to log data

* feat(resultsTableApiConnect): Updated table component to print results

* feat(resultsTableApiConnect): Fixed ESLINT-new issues

* feat(resultsTableApiConnect): added results and execution data placeholders

* feat(resultsTableApiConnect): Simplified app to use a single state to track selectedRowData

* feat(resultsTableApiConnect): Ran ESLINT new and removed unneeded console statement

* feat(resultsTableApiConnect): Removed comment in code

* feat(resultsTableApiConnect): Removed unneeded directory and files

* feat(resultsTableApiConnect): Wrote test for Home.jsx

* feat(resultsTableApiConnect): Added tests

* feat(resultsTableApiConnect): Fixed ESLINT issues

* feat(resultsTableApiConnect): Created test data and fixed tests

* feat(GwasAppSubmissionSpinner): Got storybook working for Home component

* feat(resultsTableApiConnect): Added startedAt field to generated test data

* feat(resultsTableApiConnect): rewrote Home.stories.jsx

* feat(resultsTableApiConnect): cleaned up code in Home.stories.jsx

* feat(resultsTableApiConnect): Formatted Home.stories.jsx

* feat(resultsTableApiConnect): Simplified Home.stories.jsx via JS implicit return

* feat(resultsTableApiConnect): Refactored Home.test.jsx to use shared test data

* feat(resultsTableApiConnect): Ran eslint formatting

* feat(resultsTableApiConnect): Formatted code for clarity

* feat(resultsTableApiConnect): Edited comment for clarity
@vzpgb vzpgb changed the base branch from master to feat/vadc_sprint06 March 23, 2023 15:22
@vzpgb vzpgb changed the title VADC-446: Add a datetime to the themeoverrides.css VADC-446: Use a modified datetime of the themeoverrides.css to pull mostr recent version Mar 23, 2023
Copy link
Contributor

@pieterlukasse pieterlukasse 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 👍

I can also confirm I've seen it working when @vzpgb tested it on our QA server.

Copy link
Collaborator

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

pretty cool

@vzpgb vzpgb changed the title VADC-446: Use a modified datetime of the themeoverrides.css to pull mostr recent version VADC-446: Use a modified datetime of the themeoverrides.css to pull most recent version Mar 23, 2023
@vzpgb vzpgb merged commit 035db9a into feat/vadc_sprint06 Mar 23, 2023
@vzpgb vzpgb deleted the feat/css branch March 23, 2023 20:04
jarvisraymond-uchicago added a commit that referenced this pull request Apr 3, 2023
…ost recent version (#1254)

* Feat/results app setup fe (#1248)

* feat(resultAppSetupFE): setup home page

* feat(resultsAppSetupFE): added useContext hook to maintain state

* feat(resultsAppSetupFE): Setup Results and Execution data to display using useContext

* feat(resultsAppSetupFE): simplified rand num code

* feat(resultsAppSetupFE): fixed linter issues

* feat(resultsAppSetupFE): fixed table layout issues

* feat(resultsAppSetupFE): fixed style formatting

* feat(resultsAppSetupFE): Created placeholder file for stoybook

* feat(resultsAppSetupFE): Fixed broken storybook file

* feat(resultsAppSetupFE): added multiple storybooks

* feat(resultsAppSetupFE): added spinner and updated storybook

* feat(resultsAppSetupFE): updated storybook to use null

* feat(resultsAppSetupFE): cleaned up code

* feat(resultsAppSetupFE): removed ref to deleted CSS file in ReturnHomeButton

* feat(resultsAppSetupFE): added explanatory comment in GWASResultsContainer.jsx

* feat(resultsAppSetupFE): made buttons more like design

* feat(resultsAppSetupFE): reset poll timer to 5 seconds

* feat(resultsAppSetupFE): ran eslint-new

* feat(resultsAppSetupFE): addressed PR reviews comments, added ENUM for storing Views

* feat(resultsAppSetupFE): fixed linting issues with proptypes

* feat(resultsAppSetupFE): formatted code in HomeTable.jsx

* Feat/results table api connect (#1253)

* feat(resultsTableApiConnect): Added Pieter's code for GWASWorkflowList and got it to log data

* feat(resultsTableApiConnect): Updated table component to print results

* feat(resultsTableApiConnect): Fixed ESLINT-new issues

* feat(resultsTableApiConnect): added results and execution data placeholders

* feat(resultsTableApiConnect): Simplified app to use a single state to track selectedRowData

* feat(resultsTableApiConnect): Ran ESLINT new and removed unneeded console statement

* feat(resultsTableApiConnect): Removed comment in code

* feat(resultsTableApiConnect): Removed unneeded directory and files

* feat(resultsTableApiConnect): Wrote test for Home.jsx

* feat(resultsTableApiConnect): Added tests

* feat(resultsTableApiConnect): Fixed ESLINT issues

* feat(resultsTableApiConnect): Created test data and fixed tests

* feat(GwasAppSubmissionSpinner): Got storybook working for Home component

* feat(resultsTableApiConnect): Added startedAt field to generated test data

* feat(resultsTableApiConnect): rewrote Home.stories.jsx

* feat(resultsTableApiConnect): cleaned up code in Home.stories.jsx

* feat(resultsTableApiConnect): Formatted Home.stories.jsx

* feat(resultsTableApiConnect): Simplified Home.stories.jsx via JS implicit return

* feat(resultsTableApiConnect): Refactored Home.test.jsx to use shared test data

* feat(resultsTableApiConnect): Ran eslint formatting

* feat(resultsTableApiConnect): Formatted code for clarity

* feat(resultsTableApiConnect): Edited comment for clarity

* feat(css): Add CSS version as datetime

* feat(css): Move getCSSVerstion function

* feat(css): Use relative path to themeoverrides.css

* feat(css): Reorder

* feat(css): Add condition to check if CSS file exists

* feat(css): Removed unused code

* feat(css): Removed redundant else statement

---------

Co-authored-by: Jarvis <113449836+jarvisraymond-uchicago@users.noreply.github.com>
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.

4 participants