Skip to content

Conversation

@lionel95200x
Copy link
Contributor

ref: #DATATR-2633

Description

  • Add refresh button

Ticket Reference: #DATATR-2633

Additional Information

Comment on lines 13 to 15
export const useSwiftData = (
queryOptions?: OptionsFor<typeof getSwiftStorage>,
) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see it used anywhere, is it needed ?

Comment on lines 5 to 6
onRefresh: () => void;
isRefetching: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

The props should align with common button semantics:

Suggested change
onRefresh: () => void;
isRefetching: boolean;
onClick: () => void;
isLoading: boolean;

export default function S3ObjectVersionList({ objects }: ObjectsListProps) {
export default function S3ObjectVersionList({
objects,
onRefresh,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
onRefresh,
onRefreshClicked,

@lionel95200x lionel95200x force-pushed the feat/DATATR-2633 branch 2 times, most recently from 7627b2c to 76bf52a Compare December 4, 2025 15:23
ref: #DATATR-2633

Signed-off-by: Lionel Bueno <lionel.bueno.ext@ovhcloud.com>
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.

3 participants