Skip to content

Conversation

@JosephVolosin
Copy link
Contributor

This pull-request updates the 'Send to Workspace' feature in plan expansion to let the user create a new file in a sequencing workspace loaded with the expansion result of an expanded sequence.

Screen.Recording.2025-10-16.at.11.17.30.AM.mov

const dispatch = createEventDispatcher<{
close: void;
save: { parcelId: number; workspaceId: number };
save: { workspaceId: number; workspaceName: string };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you need to pass the workspace name in this save event? It doesn't look like you're using it. I think ideally, the workspaceId should be enough.

Copy link
Collaborator

@duranb duranb left a comment

Choose a reason for hiding this comment

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

Do you also mind adding permission checks to the workspace dropdown or submit button for if the user even has access to the workspace that they want to send the sequence to? There is a featurePermission.workspace() in utilities/permissions.ts that you can use to see if the user can upload to the selected workspace.

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.

3 participants