Skip to content

feat: add input/output sandbox download support#353

Merged
aldbr merged 1 commit intoDIRACGrid:mainfrom
aldbr:main_FEAT_sandboxes
Mar 18, 2026
Merged

feat: add input/output sandbox download support#353
aldbr merged 1 commit intoDIRACGrid:mainfrom
aldbr:main_FEAT_sandboxes

Conversation

@aldbr
Copy link
Copy Markdown
Contributor

@aldbr aldbr commented May 22, 2025

Based on #220

  • Need to check if I need to adapt the story
  • Test the feature (with cypress)

But first, I think it would be best to merge #349

Note: there is no support for nested menus in MUI at the moment (this is expected to come "soon")

@aldbr aldbr marked this pull request as draft May 22, 2025 16:21
@aldbr aldbr force-pushed the main_FEAT_sandboxes branch from 5d9b442 to 5981d1e Compare May 26, 2025 15:35
@aldbr aldbr force-pushed the main_FEAT_sandboxes branch from 5981d1e to acce43d Compare March 11, 2026 10:04
@aldbr aldbr force-pushed the main_FEAT_sandboxes branch from acce43d to 55a34dd Compare March 11, 2026 15:20
@aldbr aldbr marked this pull request as ready for review March 11, 2026 15:22
@aldbr aldbr requested a review from ryuwd March 11, 2026 15:22
diracxUrl: string | null,
jobId: number,
sbType: "input" | "output",
accessToken: string,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

unrelated to this PR because this is the currently adopted pattern but I think we have to do something about OIDC fetching and auth in general because having and passing the access token into the fetchers and around like this is not ideal.

At least the access token should be fetched and substituted into a utility fetch function defined in one place and supplied from a hook, where this hook is used everywhere in the specific data fetchers. We can use useSWR to build data fetchers, and we can provide special utility functions for doing POSTs. In an ideal world we never touch access tokens in the browser anyway...

I will make an issue about it

Copy link
Copy Markdown
Contributor

@ryuwd ryuwd left a comment

Choose a reason for hiding this comment

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

The PR looks good

@aldbr aldbr merged commit 27a6b8d into DIRACGrid:main Mar 18, 2026
15 of 17 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