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

SWC-6627 - Add new CreateTableViewWizard, replace ColumnModelsEditor with React implementation #5268

Merged
merged 9 commits into from
Jan 26, 2024

Conversation

nickgros
Copy link
Contributor

No description provided.

 - Integrate CreateTableViewWizard from SRC
 - Delete old CreateTableViewWizard, Step1, Step2
 - Update ADD_TABLE action to open the new wizard
 - Remove actions ADD_FILE_VIEW, ADD_PROJECT_VIEW, ADD_SUBMISSION_VIEW, ADD_MATERIALIZED_VIEW, ADD_VIRTUAL_TABLE
 - Move remaining constants out of deleted files

Requires an upgrade to synapse-react-client
@nickgros nickgros changed the title SWC-6627 - Replace ColumModelsEditor with React implementation SWC-6627 - Replace ColumnModelsEditor with React implementation Jan 25, 2024
return createTableHeader
})

await test.step('enter table name and description', async () => {
Copy link
Contributor Author

@nickgros nickgros Jan 25, 2024

Choose a reason for hiding this comment

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

Because the wizard changed the order of the steps, this test step was moved down

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 massively simplified now that the logic is in TS/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.

Lots of logic for the editor also lived in this class, so it also becomes massively simplified

@@ -485,6 +485,10 @@
srcPath = cdnEndpoint + 'generated/synapse-react-client.development.js'
}

// TODO: Workaround for SWC-6664
// Override the conditional above and just use the production distribution
reactQueryPath = cdnEndpoint + 'generated/react-query.production.min.js'
Copy link
Member

Choose a reason for hiding this comment

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

Please remove the assignments to reactQueryPath above this one (ln 478 and 484) for clarity.

@nickgros
Copy link
Contributor Author

@nickgros nickgros changed the title SWC-6627 - Replace ColumnModelsEditor with React implementation SWC-6627 - Add new CreateTableViewWizard, replace ColumnModelsEditor with React implementation Jan 26, 2024
@nickgros nickgros merged commit 7a3a5d5 into Sage-Bionetworks:develop Jan 26, 2024
2 checks passed
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