Skip to content

feat: add loading spinners to translate view action buttons - #709

Draft
markdaugherty wants to merge 2 commits into
mainfrom
smartling-split-6-loading-spinners
Draft

feat: add loading spinners to translate view action buttons#709
markdaugherty wants to merge 2 commits into
mainfrom
smartling-split-6-loading-spinners

Conversation

@markdaugherty

Copy link
Copy Markdown
Member

Summary

  • Show a spinner on Translate/Get status/Cancel buttons while their action is in flight, and disable the button meanwhile

Every async action button (Connect, Get status, Translate all, Cancel
project, Copy all, per-language Cancel) now disables and shows a
spinner while its handler is in flight, instead of giving no feedback
during the request.

Reuses/combines the two spinner patterns already in the repo rather
than adding a third: the .nx-loading-spinner/da-spin naming from
nx2/styles/buttons.css (defined but never wired to anything) with the
currentcolor border technique from ew-actions.js's spinner, needed
since these buttons render with different text colors per variant.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
(cherry picked from commit 2b29434)
@aem-code-sync

aem-code-sync Bot commented Aug 31, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

# Conflicts:
#	nx/blocks/loc/views/translate/translate.js
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.

1 participant