Skip to content

Updated "Update toast" using toast.pen#1271

Open
cbum-dev wants to merge 6 commits intoeigent-ai:mainfrom
cbum-dev:update-toast
Open

Updated "Update toast" using toast.pen#1271
cbum-dev wants to merge 6 commits intoeigent-ai:mainfrom
cbum-dev:update-toast

Conversation

@cbum-dev
Copy link
Contributor

Related Issue

Closes #1141

Description

Updated update toast using toast.pen
Screenshot 2026-02-14 at 7 38 51 PM

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

…ast.pen as requested by maintainer\n- Fix alignment: increase toast body padding to align text with header icon
…ick to stop'\n- Mute status text color to match design spec\n- Ensure action text remains primary color
@Wendong-Fan
Copy link
Contributor

thanks @cbum-dev for the contribution! could @a7m-1st and @Zephyroam help reviewing this?

<UpdateToastShell
toastId={toastId}
onClose={() => {
setIsDownloading(false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

So the downloading is not actually cancelled. But I guess the original implementation was not doing anything as well, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah for now it's just hiding the toast. Any endpoint present in the backend to stop the update?

@cbum-dev cbum-dev requested a review from Zephyroam February 19, 2026 12:28
@Wendong-Fan Wendong-Fan requested a review from 4pmtong February 21, 2026 16:31
@Wendong-Fan Wendong-Fan modified the milestones: Sprint 15, Sprint 16 Feb 21, 2026
@4pmtong
Copy link
Collaborator

4pmtong commented Mar 10, 2026

Thanks @cbum-dev for the contribution! The new toast design looks much cleaner, I have a few suggestions below — happy to discuss if anything is unclear.

<Package className="h-4 w-4 text-icon-primary" strokeWidth={1.33} />
<span
className="font-bold text-text-heading"
style={{ fontSize: '13px', lineHeight: '20px' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we use Tailwind classes instead of inline styles?

Comment on lines +179 to +185
<span
className="cursor-pointer font-medium text-text-primary decoration-text-label hover:decoration-text-primary"
style={{ fontSize: '10px', lineHeight: '16px' }}
onClick={() => window.ipcRenderer.invoke('quit-and-install')}
>
{t('update.click-to-restart')}
</span>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could we use button instead of span? it would be more accessible.

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.

[BUG] Packaging updating interaction flow fix

4 participants