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

WIP: Create samples from sequence run #1321

Draft
wants to merge 49 commits into
base: development
Choose a base branch
from

Conversation

ksierks
Copy link
Contributor

@ksierks ksierks commented Jun 16, 2022

Description of changes

What did you change in this pull request? Provide a description of files changed, user interactions changed, etc. Include how to test your changes.

Related issue

Link to the GitHub issue this pull request addresses using the #issuenum format. If it completes an issue, use Fixes #issuenum to automatically close the issue.

Checklist

Things for the developer to confirm they've done before the PR should be accepted:

  • CHANGELOG.md (and UPGRADING.md if necessary) updated with information for new change.
  • Tests added (or description of how to test) for any new features.
  • User documentation updated for UI or technical changes.

@@ -33,6 +36,10 @@ render(
<Routes>
<Route path="/" element={<SequencingRunListPage />} />
<Route path="/:runId" element={<SequencingRunDetailsPage />} />
<Route
Copy link
Contributor

@joshsadam joshsadam Jun 16, 2022

Choose a reason for hiding this comment

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

All of this can be moved up to the admin router

Copy link
Contributor Author

@ksierks ksierks Jun 20, 2022

Choose a reason for hiding this comment

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

After talking, I believe we said that we need to retain this for technician access. A new store and routes were created within the admin panel.
Please see 00f9906.


/*
Redux Store for sequencing runs.
For more information on redux stores see: https://redux.js.org/tutorials/fundamentals/part-4-store
*/
export default configureStore({
reducer: {
reducer: runReducer,
Copy link
Contributor

Choose a reason for hiding this comment

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

This all should be on the admin store, there should only be one store

Copy link
Contributor Author

@ksierks ksierks Jun 20, 2022

Choose a reason for hiding this comment

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

After talking, I believe we said that we need to retain this for technician access. A new store and routes were created within the admin panel.
Please see 00f9906.

@@ -29,6 +29,11 @@ export const sequencingRunsApi = createApi({
query: (runId) => ({
url: `${runId}/sequenceFiles`,
}),
transformResponse(response, meta) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if this should not be done through a utility class in the controller. Reason I am asking is that another controller might want to get the sequencing files but not need this attribute.

@ksierks ksierks added the on-hold label Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants