Skip to content

Conversation

@aTurmo
Copy link
Contributor

@aTurmo aTurmo commented Oct 17, 2025

ref: #TAPC-5227

Screenshot 2025-10-17 at 16-56-59 OVHcloud Screenshot 2025-10-17 at 16-57-21 OVHcloud

Copy link
Contributor

@lolottetheclash lolottetheclash left a comment

Choose a reason for hiding this comment

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

praise
This is nice to communalize the banner logic, well done 👍
I'm just wondering if it coud be a good idea to have some kind of standard banner already implemented into the Banner, which will allow to just pass some properties (and will lighten the addBanner call)?
by the way, could you update your commit as there is a spelling error ?

@aTurmo aTurmo changed the title fix(pci-block-storage): ad file storage alpha information banner fix(pci-block-storage): add file storage alpha information banner Oct 27, 2025
@aTurmo aTurmo force-pushed the feat/TAPC-5227_file_storage_banner branch from 3176dc1 to a8992c9 Compare October 27, 2025 09:28
@aTurmo aTurmo force-pushed the feat/TAPC-5227_file_storage_banner branch from a8992c9 to dd81f97 Compare October 30, 2025 10:44
@aTurmo aTurmo force-pushed the feat/TAPC-5227_file_storage_banner branch from dd81f97 to 2c3c018 Compare October 30, 2025 13:09
@aTurmo aTurmo changed the base branch from master to dev/PublicCloud-w45 October 30, 2025 14:06
@aTurmo aTurmo requested review from a team as code owners October 30, 2025 14:06
@aTurmo aTurmo requested review from pauldkn and sefiani-ovh and removed request for a team October 30, 2025 14:06
@aTurmo aTurmo force-pushed the feat/TAPC-5227_file_storage_banner branch from 2c3c018 to 2e95628 Compare October 30, 2025 14:10
aTurmo and others added 2 commits October 30, 2025 16:53
ref: #TAPC-5227

Signed-off-by: Adrien Turmo <[email protected]>
Co-authored-by: CDS Translator Agent <[email protected]>
ref: #TAPC-5227

Signed-off-by: Adrien Turmo <[email protected]>
@aTurmo aTurmo force-pushed the feat/TAPC-5227_file_storage_banner branch from 2e95628 to 5df9d2e Compare October 30, 2025 16:06
Comment on lines +40 to 62
const shellContextValue: RecursivePartial<ShellContextType> = {
shell: {
navigation: {
getURL: (_, path) => Promise.resolve(`https://ovh.test/#${path}`),
},
ux: {
hidePreloader: () => Promise.resolve(),
},
tracking: {
trackClick: () => {},
},
},
environment: {
getUser: () => ({ ovhSubsidiary: 'mocked_ovhSubsidiary' }),
getRegion: () => 'EU',
},
};

const wrapper = ({ children }) => (
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
<ShellContext.Provider value={shellContextValue as ShellContextType}>
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
</ShellContext.Provider>
);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is to fix the test after react-shell-client version bump

@aTurmo aTurmo merged commit 0448831 into dev/PublicCloud-w45 Oct 30, 2025
14 of 15 checks passed
@aTurmo aTurmo deleted the feat/TAPC-5227_file_storage_banner branch October 30, 2025 16:49
This was referenced Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants