Skip to content

[MS] Workspace offline details modal - #11822

Draft
fabienSvtr wants to merge 1 commit into
masterfrom
ms-workspace-offline-details-modal
Draft

[MS] Workspace offline details modal#11822
fabienSvtr wants to merge 1 commit into
masterfrom
ms-workspace-offline-details-modal

Conversation

@fabienSvtr

@fabienSvtr fabienSvtr commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Missing backend information:

  • Download state (downloaded, in progress, available, error)
  • Progress information
  • Date of joining the workspace

Should be changed:

utils.ts: openWorkspaceDetailsModal function
WorkspaceDetailsModal.ts: Managed error cases
types.ts: Check if you have the download state here and the joining date + make sure we have an enum for the downloading state here.

interface WorkspaceInfo extends ParsecWorkspaceInfo {
  sharing: Array<[UserTuple, WorkspaceRole | null]>;
  size: number;
  lastUpdated: DateTime;
  created?: DateTime;
  joinedOn?: DateTime;
  availableOffline: boolean;
  handle: WorkspaceHandle;
  downloadState: WorkspaceDownloadState;
  mountpoints: [MountpointHandle, SystemPath][];
}

enum WorkspaceDownloadState {
  NotAvailable,
  InProgress,
  Available,
}

@fabienSvtr
fabienSvtr force-pushed the ms-workspace-offline-details-modal branch from 19049b0 to 563a31d Compare December 3, 2025 14:31
@fabienSvtr fabienSvtr changed the title Ms workspace offline details modal [MS] Workspace offline details modal Dec 3, 2025
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.

1 participant