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

(PEAR-1586): Update Mantine to 7 #1113

Merged
merged 24 commits into from
May 23, 2024
Merged

(PEAR-1586): Update Mantine to 7 #1113

merged 24 commits into from
May 23, 2024

Conversation

ocshawn
Copy link
Contributor

@ocshawn ocshawn commented May 8, 2024

Description

  • Update:
    • "@mantine/core": "^7.8.1",
    • "@mantine/dates": "^7.8.1",
    • "@mantine/form": "^7.8.1",
    • "@mantine/hooks": "^7.8.1",
    • "@mantine/notifications": "^7.8.1",
    • "react-plotly.js": "^2.6.0",
    • "postcss": "^8.4.38",
    • "postcss-preset-mantine": "^1.15.0",
    • "postcss-simple-vars": "^7.0.1",
  • Remove StyleGuideApp unused files

Checklist

  • Added proper unit tests
  • Left proper TODO messages for any remaining tasks
  • Scanned for web accessibility with aXe, and mitigated or documented
    flagged issues

Screenshots/Screen Recordings (if Appropriate)

@ocshawn ocshawn marked this pull request as ready for review May 8, 2024 15:32
@amlehman
Copy link
Contributor

amlehman commented May 9, 2024

A few visual changes I noticed:

Fixed The set modal text field is smaller making the whole modal ... squatter.
Screenshot 2024-05-09 at 12 55 26 PM
Screenshot 2024-05-09 at 12 55 37 PM

Fixed The radio buttons on CDave aren't aligned correctly.
Screenshot 2024-05-09 at 12 25 04 PM
Screenshot 2024-05-09 at 12 24 43 PM

Fixed There's a right margin/padding on the title in both versions of the binning modal on CDave:
Screenshot 2024-05-09 at 1 13 25 PM
Screenshot 2024-05-09 at 1 13 33 PM
Screenshot 2024-05-09 at 1 13 39 PM
Screenshot 2024-05-09 at 1 13 46 PM

Fixed This collapse button on CDave has a border now.
Screenshot 2024-05-09 at 1 16 43 PM
Screenshot 2024-05-09 at 1 16 50 PM

},
},
input: {
"&:checked + .mantine-Switch-track": {
Copy link
Contributor

Choose a reason for hiding this comment

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

These hover colors seem a bit darker than the existing ones, especially the orange. Is that an intentional style change?
Screenshot 2024-05-09 at 12 40 40 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i was trying to find a suitable color that was already a preset, open to suggestions if this is too dark

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks good to me 🤷‍♀️ But probably @cemile-ctds 's call.

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 9, 2024

Fixed Analysis Center: slight sizing issue with the Core Tools cards. The image below overlays this branch ( Mantine 7) on top of develop. It appears the Core Tool cards are 6 pixels shorter.

image

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 9, 2024

Mutation Frequency Gene Table (and same with Mutation Table):

  1. Fixed The unselected Survival Plot checkbox fill color should not be blue
  2. Cannot reproduce The link icon to the left of the Gene Symbol is missing

image

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 9, 2024

Fixed Project Center more space between buttons and the top of the table. Label "TOTAL OF 83 PROJECTS" not vertically aligned with Search TextInput

image

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 10, 2024

Repository:

  • Fixed There is a slight offset with the table, and the Vertical alignment is slightly shifted down.
  • Cannot Reproduce The link icons are missing

image

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 10, 2024

Slide image viewer:
Fixed There is small gray box that's appearing at the bottom of the slide column

image

@craigrbarnes
Copy link
Contributor

craigrbarnes commented May 10, 2024

Gene Sumnmary: minor nitpick:

Fixed more/less button in Description row: vertical alignment is shitded down vertically.

MoreAlignment

@wteouchicago
Copy link
Contributor

wteouchicago commented May 13, 2024

Some things I noticed.

  1. Fixed The Send Feedback modal has more padding at the top (and also the bottom?) compared to develop. I think it's happening to other modals as well, e.g. Create...Set modal from Manage Sets (see number 2).
  • Left is develop, right is this PR.
Screenshot 2024-05-13 at 10 07 45 AM
  1. Fixed The underline on the tab in the Create..Set modal is now a box.
Screenshot 2024-05-13 at 10 11 50 AM
  1. Fixed In the Repository, when the spinners on buttons show up, the text is not displayed. Guessing this will happening to all buttons with spinners
  • click on Add All Files to Cart and Remove All From Cart to get the spinner to show up or click on a dropdown option in Download Associated Data
Screenshot 2024-05-13 at 10 30 00 AM Screenshot 2024-05-13 at 10 31 37 AM
  1. Fixed cDAVE Search on the left, the X has a box around it. I also can't seem to click on it to get rid of the search text.
Screenshot 2024-05-13 at 10 33 13 AM

@wteouchicago
Copy link
Contributor

looks good to me -- I also went over issues others reported. nice work! 👍

@@ -45,8 +45,8 @@ test("OncoMatrix arguments", () => {
<MantineProvider
theme={{
colors: {
primary: ["1", "2", "3", "4", "5", "6", "7", "8", "9"],
base: ["1", "2", "3", "4", "5", "6", "7", "8", "9"],
primary: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch

Copy link
Contributor

@craigrbarnes craigrbarnes left a comment

Choose a reason for hiding this comment

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

I'm okay with the changes to support V7. Great job on implementing such a large-scale change..

@craigrbarnes craigrbarnes merged commit 82839e4 into develop May 23, 2024
4 checks passed
@craigrbarnes craigrbarnes deleted the chore/updateMantine branch May 23, 2024 13:28
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.

None yet

4 participants