Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Migrate Rendition Buttons to MUI Buttons #63

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Conversation

JSReds
Copy link
Contributor

@JSReds JSReds commented Jan 8, 2024

Change-type: patch
Depends-on: balena-io-modules/ui-shared-components#46

@JSReds JSReds self-assigned this Jan 8, 2024
@JSReds JSReds requested a review from myarmolinsky January 30, 2024 19:17
<ToggleButton
key={item.slug}
value={item.slug}
data-test={`lens-selector--${item.slug}`}
Copy link
Contributor

Choose a reason for hiding this comment

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

What's data-test? 👀

Copy link
Contributor

Choose a reason for hiding this comment

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

I see it's related to our e2e tests, but wondering if there's anything else to the property/property name or if it's just something we made for our e2e

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is just for our e2e tests, using the data- attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*

Comment on lines 71 to +72
const HeaderGrid = styled(Flex)`
row-gap: 8px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Noting for later: We need to do the Flex/Box/Grid migration here as well, this looks like a spot that would use Grid

@JSReds JSReds force-pushed the migrate-buttons branch 2 times, most recently from 30e14bd to 8cf9252 Compare February 23, 2024 14:29
@JSReds JSReds requested a review from myarmolinsky February 23, 2024 14:51
@@ -0,0 +1,54 @@
import React from "react";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed to temporarly disable specs as jest is not happy with ui-shared-components build. Speaking about it we will probably remove jest and add playwright

@JSReds JSReds requested a review from drskullster February 26, 2024 10:08
} from "../oData/jsonToOData";
import { CollectionLensRendererProps } from "./Lenses/types";
import pickBy from "lodash/pickBy";
import { NoRecordsFoundView } from "./NoRecordsFoundView";
Copy link
Contributor

Choose a reason for hiding this comment

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

What happened with the formatting on all these imports? 😕 They should all be single quotes I believe...

Andrea Rosci added 2 commits February 26, 2024 16:18
@JSReds JSReds requested a review from myarmolinsky February 26, 2024 15:18
@JSReds JSReds marked this pull request as ready for review February 26, 2024 15:19
@flowzone-app flowzone-app bot enabled auto-merge February 26, 2024 15:22
@flowzone-app flowzone-app bot merged commit ce7ca4f into main Feb 26, 2024
45 checks passed
@flowzone-app flowzone-app bot deleted the migrate-buttons branch February 26, 2024 16:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants