Skip to content

feat(ui5-button): Add BusyIndicator #11906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

Conversation

GDamyanov
Copy link
Contributor

@GDamyanov GDamyanov commented Jul 14, 2025

Add BusyIndicator to the button

@GDamyanov GDamyanov self-assigned this Jul 14, 2025
@GDamyanov GDamyanov requested a review from hinzzx July 16, 2025 06:48
@GDamyanov GDamyanov requested a review from Stoev July 21, 2025 12:40
*/
@property({ type: Number })
loadingDelay = 1000;

/**
* The current title of the button, either the tooltip property or the icons tooltip. The tooltip property with higher prio.
* @private
Copy link

Choose a reason for hiding this comment

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

Please consider paraphrasing:

The button's current title is determined by either the tooltip property or the icon's tooltip, with the tooltip property taking precedence if both are set.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in cc36fbb

/**
* Defines whether the button shows a loading indicator.
*
* **Note:** If set to `true` a busy indicator component will be displayed into the related button.
Copy link

Choose a reason for hiding this comment

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

Please consider:

Note: If set to true, a busy indicator component will be displayed on the related button.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in cc36fbb

loading = false;

/**
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the related button.
Copy link

Choose a reason for hiding this comment

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

Please consider:

Specifies the delay in milliseconds before the loading indicator appears within the associated button.

If you prefer to keep the text as is, please remove the comma:

Defines the delay in milliseconds after which the loading indicator will be displayed inside the related button.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in cc36fbb

@GDamyanov GDamyanov requested a review from Stoev July 21, 2025 18:08
@GDamyanov GDamyanov requested a review from hinzzx July 22, 2025 06:37
Copy link

@Stoev Stoev left a comment

Choose a reason for hiding this comment

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

Looks good.

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