Skip to content

🎨 Palette: Add loading feedback to modal-triggered async actions - #547

Closed
dt2patel wants to merge 1 commit into
mainfrom
jules-478152480746139886-302d5fe5
Closed

dt2patel wants to merge 1 commit into
mainfrom
jules-478152480746139886-302d5fe5

Conversation

@dt2patel

Copy link
Copy Markdown
Contributor

Added missing loading states for async actions after modals are dismissed on OrderDetail.vue.


PR created automatically by Jules for task 478152480746139886 started by @dt2patel

- What: Added global loading indicator (presentLoader/dismissLoader) to `brokerShipGroup` and `cancelOrderItems` in OrderDetail.
- Why: Previously, after confirming these actions in a modal/alert, the UI would sit with no visual feedback while the network request processed, potentially causing user confusion.
- Accessibility: Provides system status visibility for assistive technologies and sighted users alike during longer operations.

Co-authored-by: dt2patel <60128132+dt2patel@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-23T05:47:05.303702Z 0bee902 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0bee902e2b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/views/OrderDetail.vue
const { data: routingGroupId } = await modal.onWillDismiss();
if (!routingGroupId) return;
try {
emitter.emit('presentLoader', { message: 'Brokering ship group...' });

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Register the new loader messages in locale catalogs

Add both Brokering ship group... and the Canceling items... message below to src/locales/en-US.json and src/locales/es-ES.json. App.vue passes loader messages through translate(), but neither key exists in the only locale bundles loaded by src/locales/index.ts, so non-English sessions fall back to raw English and translation tooling cannot supply localized loading feedback.

Useful? React with 👍 / 👎.

@dt2patel

Copy link
Copy Markdown
Contributor Author

Closing: the code this patched moved to useOrderActions in #534.

@dt2patel dt2patel closed this Sep 26, 2026
@dt2patel
dt2patel deleted the jules-478152480746139886-302d5fe5 branch September 26, 2026 04:32
@google-labs-jules

Copy link
Copy Markdown
Contributor

Closing: the code this patched moved to useOrderActions in #534.

Understood. Acknowledging that this work is now obsolete and stopping work on this task.

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