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 Interactive Reduction logo and fix light / dark mode bug #43

Merged
merged 27 commits into from
Mar 1, 2024

Conversation

Dagonite
Copy link
Collaborator

@Dagonite Dagonite commented Feb 28, 2024

Closes #28, closes #27.

Description

Fixes issues relating to compenents not properly rendering colours based on the currently applied theme from SciGateway. Also adds in the new logo at the top.

Made the text and logo much more legible
@Pasarus Pasarus merged commit 327f7ce into main Mar 1, 2024
2 checks passed
@Pasarus Pasarus deleted the add-ir-logo branch March 1, 2024 13:14
Dagonite added a commit that referenced this pull request Mar 6, 2024
commit 6de3801
Author: Samuel <[email protected]>
Date:   Wed Mar 6 09:59:00 2024 +0000

    Add logo design file (#55)

commit 6df5887
Author: Samuel <[email protected]>
Date:   Wed Mar 6 09:58:39 2024 +0000

    Make plugin url an environment variable (#54)

    * Move plugin url into environment var

    * Update explanation comment

commit 0f401c0
Author: Samuel <[email protected]>
Date:   Tue Mar 5 09:03:13 2024 +0000

    Add initial Cypress tests (#38)

    * Update route names

    * Update reduction history page

    * Remove commented out code

    * Remove redundant comments

    * Allow a more dynamic selection of the IR-API IP using an env file, this way staging and prod can be different and we can also just change it for whatever we need during development.

    * Alter fetch request logic

    Add accessibility changes to table

    * Update reduction history button url

    * Correct route for SciGateway sidebar

    * Alter homepage browse reductions url

    * Add missing new line

    * Use different port

    Avoids issues when running the app through SciGateway

    * Add missing table headings

    Some headings currently have placeholder values until the API functionality is added

    * Fix url

    * Make even rows background color use theme

    * Delete History.tsx

    * Sort by desc initially so recent reductions at the top

    * Correct wrong run date being rendered

    * Add initial cypress tests

    * Disable failed test

    * Comment out broken up code

    * Update TODO comment

    * Remove duplicate route

    * Update yarn.lock

    Accounts for missing dependencies

    * Delete cypress/fixtures/example.json

    * Remove false test

    ---------

    Co-authored-by: Samuel Jones <[email protected]>
    Co-authored-by: Samuel Jones <[email protected]>

commit 327f7ce
Author: Samuel <[email protected]>
Date:   Fri Mar 1 13:14:40 2024 +0000

    Add Interactive Reduction logo and fix light / dark mode bug (#43)

    * Update route names

    * Update reduction history page

    * Remove commented out code

    * Remove redundant comments

    * Allow a more dynamic selection of the IR-API IP using an env file, this way staging and prod can be different and we can also just change it for whatever we need during development.

    * Alter fetch request logic

    Add accessibility changes to table

    * Update reduction history button url

    * Correct route for SciGateway sidebar

    * Alter homepage browse reductions url

    * Add missing new line

    * Use different port

    Avoids issues when running the app through SciGateway

    * Add missing table headings

    Some headings currently have placeholder values until the API functionality is added

    * Fix url

    * Make even rows background color use theme

    * Delete History.tsx

    * Sort by desc initially so recent reductions at the top

    * Correct wrong run date being rendered

    * Add svg logos

    * Add wordless logos

    * Update favicon.ico

    * Move theme out of component

    Fixes bug where pages weren't re-rendering elements when switching between pages

    * Minify svg

    Removes incompatible tags

    * Add IR logo to top of web app

    * Use more appropriate file names

    * Use updated logo design

    Made the text and logo much more legible

    ---------

    Co-authored-by: Samuel Jones <[email protected]>
    Co-authored-by: Samuel Jones <[email protected]>

commit a1865b3
Author: Samuel <[email protected]>
Date:   Thu Feb 29 15:01:43 2024 +0000

    Add reduction history page to display runs (#36)

    * Update route names

    * Update reduction history page

    * Remove commented out code

    * Remove redundant comments

    * Allow a more dynamic selection of the IR-API IP using an env file, this way staging and prod can be different and we can also just change it for whatever we need during development.

    * Alter fetch request logic

    Add accessibility changes to table

    * Update reduction history button url

    * Correct route for SciGateway sidebar

    * Alter homepage browse reductions url

    * Add missing new line

    * Use different port

    Avoids issues when running the app through SciGateway

    * Add missing table headings

    Some headings currently have placeholder values until the API functionality is added

    * Fix url

    * Make even rows background color use theme

    * Delete History.tsx

    * Sort by desc initially so recent reductions at the top

    * Correct wrong run date being rendered

    * Increase prettier line length

    * Refactor to accommodate api changes

    * Adding missing sorting functionality

    * Change any type

    * Prettier formatting changes

    * Remove debugging logs

    * Add reduction status formatting

    * Add missing sorting functionality

    ---------

    Co-authored-by: Samuel Jones <[email protected]>
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.

Fix light mode / dark mode functionality Add nav bar SVG for Interactive Reduction's icon
2 participants