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

Update UI package + Cleanup overrides #1084

Merged
merged 6 commits into from
Dec 4, 2024
Merged

Conversation

dexamundsen
Copy link
Contributor

@dexamundsen dexamundsen commented Nov 27, 2024

  • Update dependencies and devDependencies to latest (minor and patch upgrades only)
  • did NOT upgrade react-router-dom since minor upgrade breaks a test
  • Remove overrides that are obselete due to the above upgrades
  • Run prettier on entier project

--

Underlay test is fixed in #1085

@dexamundsen dexamundsen self-assigned this Nov 27, 2024
@dexamundsen dexamundsen marked this pull request as draft November 27, 2024 22:31
@@ -8,8 +8,11 @@ import useSWRImmutable from "swr/immutable";
export function CohortRevision() {
const studySource = useStudySource();
const underlaySource = useUnderlaySource();
const { studyId, cohortId, revisionId } =
useParams<{ studyId: string; cohortId: string; revisionId: string }>();
const { studyId, cohortId, revisionId } = useParams<{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

changes due to upgraded lint

@@ -1082,7 +1082,7 @@ function ParticipantsGroup(props: {
</GridLayout>
</GridLayout>
) : (
<GridLayout cols rowAlign="middle" sx={{ pl: 4 }}>
<GridLayout key={p.id} cols rowAlign="middle" sx={{ pl: 4 }}>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

required in new eslint

@dexamundsen dexamundsen changed the title Cleanup UI package overrides Update UI package + Cleanup overrides Dec 2, 2024
@dexamundsen dexamundsen marked this pull request as ready for review December 2, 2024 13:40
@@ -66,7 +66,7 @@ function OccurrenceTable({ id, config }: { id: string; config: Config }) {
root: { data: {}, children },
};

context.rows[config.entity].forEach((o) => {
context.rows[config.entity]?.forEach((o) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixes e2e test

@dexamundsen dexamundsen merged commit e399fa8 into main Dec 4, 2024
8 checks passed
@dexamundsen dexamundsen deleted the dexamundsen/ui-snyk branch December 4, 2024 16:35
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.

2 participants