Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5454f53
Start migration from 's3Config' to S3 Profile
garronej Oct 21, 2025
4a81074
POC of the new s3 explorer page
garronej Oct 24, 2025
f9b094c
Fix boolean logic error
garronej Oct 24, 2025
b9c2149
Fix update route
garronej Oct 24, 2025
a29471d
Use special character to represent slash
garronej Oct 24, 2025
93e509b
Give a different name to the leftbar entry for the new explorer
garronej Nov 3, 2025
169d267
Update explorer headless component to be able to display bookmarks
garronej Nov 3, 2025
e5b4a8e
Disable bookmark toggling for the legacy explorer
garronej Nov 3, 2025
e4438cf
Actually forward the bookmark state to the new controlled explorer
garronej Nov 3, 2025
44b8c87
Scaffolding of the ui component we need for the new explorer.
garronej Nov 3, 2025
71cbdc6
Disable default action on link
garronej Nov 3, 2025
13af7c5
Fix external routing
garronej Nov 4, 2025
1da0fe0
better navigation bar for new s3 explorer, better urls
garronej Nov 4, 2025
7de8c57
Provide a direct navigation also for the new (and for the legacy) s3 …
garronej Nov 4, 2025
0bd024a
Standardize S3 URI
garronej Nov 5, 2025
e9be421
Implement access denied state support
garronej Nov 5, 2025
e453f9e
Direct navigation tracks state
garronej Nov 5, 2025
04ba794
Fix routing bug
garronej Nov 5, 2025
fed5b1f
Update tsafe
garronej Nov 5, 2025
02d9599
Generate ids for config in a consistent way
garronej Nov 5, 2025
7037ad2
Enable aspirational bookmarks for localhost
garronej Nov 5, 2025
db2ee68
Propagate bookmark state
garronej Nov 5, 2025
607f785
Pannel for the bookmarks
garronej Nov 5, 2025
a936288
Adjust spacing
garronej Nov 5, 2025
e2c40c8
Externalize s3Profile select
garronej Nov 5, 2025
1d1604a
Fix but not relisting after no access
garronej Nov 5, 2025
5e2a2d1
Avoid layout shifts
garronej Nov 21, 2025
8f6a720
Templates STS Roles (Ceph Story) #1048
garronej Nov 28, 2025
e564af0
Fix rooting issue (enable to navigate back in new s3 explorer)
garronej Dec 1, 2025
c41c8a0
Enable to create/update/delete bookmarks, store in vault
garronej Dec 2, 2025
73d2765
Incorporate config creation/update into the new S3 explorer page
garronej Dec 3, 2025
a3d6ab0
Link explorer to new s3 impl
garronej Dec 3, 2025
78bbc8b
Use the new S3 logic in the launcher
garronej Dec 8, 2025
21b023a
Remove connexion test
garronej Dec 8, 2025
504466a
Lazily create bucket, not automatically
garronej Dec 20, 2025
4fab729
Fetch policies only after listing
garronej Dec 20, 2025
e8f6f23
Avoid double list in s3 explorer
garronej Dec 20, 2025
d8f5328
Add feedback on success as well for bucket creation
garronej Dec 20, 2025
a099d71
Fix state management error
garronej Dec 20, 2025
12999c7
Add internationalization of the new modal
garronej Dec 20, 2025
eead460
Fix rebase
garronej Dec 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"async-mutex": "^0.5.0",
"axios": "^1.9.0",
"bytes": "^3.1.2",
"clean-architecture": "^6.0.3",
"clean-architecture": "^6.1.0",
"codemirror": "6.0.1",
"codemirror-json-schema": "0.7.9",
"compare-versions": "^6.1.1",
Expand All @@ -78,7 +78,7 @@
"react-dom": "^18.3.1",
"run-exclusive": "^2.2.19",
"screen-scaler": "^2.0.0",
"tsafe": "^1.8.5",
"tsafe": "^1.8.12",
"tss-react": "^4.9.18",
"type-route": "1.1.0",
"xterm": "^5.3.0",
Expand Down
57 changes: 57 additions & 0 deletions web/spec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
Before:

```js
{
workingDirectory: {
bucketMode: "multi",
bucketNamePrefix: "",
bucketNamePrefixGroup: "projet-"
},
bookmarkedDirectories: [
{
fullPath: "donnees-insee/diffusion/",
title: {
fr: "Données de diffusion",
en: "Dissemination Data"
},
description: {
fr: "Bucket public destiné à la diffusion de données",
en: "Public bucket intended for data dissemination"
}
}
]
}
```

After:

```js
{
bookmarkedDirectories: [
{
fullPath: "$1/",
title: "Personal",
description: "Personal Bucket",
claimName: "preferred_username"
},
{
fullPath: "projet-$1/",
title: "Group $1",
description: "Shared bucket among members of project $1",
claimName: "groups",
excludedClaimPattern: "^USER_ONYXIA$"
},
{
fullPath: "donnees-insee/diffusion/",
title: {
fr: "Données de diffusion",
en: "Dissemination Data"
},
description: {
fr: "Bucket public destiné à la diffusion de données",
en: "Public bucket intended for data dissemination"
}
}
];
}
```
31 changes: 20 additions & 11 deletions web/src/core/adapters/onyxiaApi/ApiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,24 @@ export type ApiTypes = {
sts?: {
URL?: string;
durationSeconds?: number;
role:
| {
roleARN: string;
roleSessionName: string;
}
| undefined;
role?: ArrayOrNot<
{
roleARN: string;
roleSessionName: string;
} & (
| { claimName?: undefined }
| {
claimName: string;
includedClaimPattern?: string;
excludedClaimPattern?: string;
}
)
>;
oidcConfiguration?: Partial<ApiTypes.OidcConfiguration>;
};

/** Ok to be undefined only if sts is undefined */
// NOTE: Remove in next major
workingDirectory?:
| {
bucketMode: "shared";
Expand All @@ -115,14 +123,15 @@ export type ApiTypes = {
bookmarkedDirectories?: ({
fullPath: string;
title: LocalizedString;
description: LocalizedString | undefined;
tags: LocalizedString[] | undefined;
description?: LocalizedString;
tags?: LocalizedString[];
forStsRoleSessionName?: string | string[];
} & (
| { claimName: undefined }
| { claimName?: undefined }
| {
claimName: string;
includedClaimPattern: string;
excludedClaimPattern: string;
includedClaimPattern?: string;
excludedClaimPattern?: string;
}
))[];
}>;
Expand Down
315 changes: 297 additions & 18 deletions web/src/core/adapters/onyxiaApi/onyxiaApi.ts

Large diffs are not rendered by default.

Loading