Skip to content

Conversation

SkyeYoung
Copy link
Member

@SkyeYoung SkyeYoung commented May 6, 2025

Please answer these questions before submitting a pull request, or your PR will get closed.

Why submit this pull request?

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What changes will this PR take into?

depend on #3016

image

localhost_5173_ui_consumers_page=1 pageSize=10

localhost_5173_ui_consumers_page=1 pageSize=10 (1)

@SkyeYoung SkyeYoung changed the base branch from master to dev/next May 6, 2025 16:15
@SkyeYoung SkyeYoung marked this pull request as ready for review May 6, 2025 16:15
Comment on lines +37 to +39
useEffect(() => {
methods.setValue('config', toConfigStr(config));
}, [config]);
}, [config, methods]);
Copy link
Member Author

Choose a reason for hiding this comment

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

follow the suggestions.

Comment on lines +121 to +123
useEffect(() => optionsOb.setPlugins(plugins), [optionsOb, plugins]);
useEffect(() => optionsOb.setSearch(search), [optionsOb, search]);
useEffect(() => optionsOb.setMode(mode), [optionsOb, mode]);
Copy link
Member Author

Choose a reason for hiding this comment

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

follow the suggestions in console.

Comment on lines +69 to 71
useEffect(() => {
reinitializeRef.current();
}, [deps]);
Copy link
Member Author

Choose a reason for hiding this comment

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

follow the suggestions in console.

Comment on lines +100 to +119
<DetailCredentialsTabs />
<PageHeader
title={t('consumers.credentials.edit.title')}
{...(readOnly && {
title: t('consumers.credentials.detail.title'),
extra: (
<Button
onClick={() => setReadOnly(false)}
size="compact-sm"
variant="gradient"
>
{t('form.btn.edit')}
</Button>
),
})}
/>
<FormTOCBox>
<CredentialDetailForm readOnly={readOnly} setReadOnly={setReadOnly} />
</FormTOCBox>
</>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a button here to return to the credential list?

Copy link
Member Author

Choose a reason for hiding this comment

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

Users can directly click on the Credentials tab at the top

@SkyeYoung SkyeYoung merged commit 3d08dee into apache:dev/next May 7, 2025
@SkyeYoung SkyeYoung deleted the young/feat/consumer-credentials branch May 7, 2025 08:51
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.

3 participants