Skip to content

feat: support message dialogs with 3 buttons#2641

Merged
lucasfernog merged 19 commits intov2from
feat/message-dialog-3-buttons
Aug 27, 2025
Merged

feat: support message dialogs with 3 buttons#2641
lucasfernog merged 19 commits intov2from
feat/message-dialog-3-buttons

Conversation

@amrbashir
Copy link
Copy Markdown
Member

closes #2640

@amrbashir amrbashir requested a review from a team as a code owner April 17, 2025 03:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 17, 2025

Package Changes Through 355fc91

There are 4 changes which include dialog with minor, dialog-js with minor, updater with minor, updater-js with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.35 2.0.36
api-example-js 2.0.31 2.0.32
dialog 2.3.3 2.4.0
dialog-js 2.3.3 2.4.0
updater 2.9.0 2.10.0
updater-js 2.9.0 2.10.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@amrbashir
Copy link
Copy Markdown
Member Author

iOS is not tested ofc

Windows and Android are tested and works.

Comment thread plugins/dialog/guest-js/index.ts Outdated
Comment thread plugins/dialog/src/models.rs
Comment thread plugins/dialog/src/models.rs Outdated
Comment thread plugins/dialog/src/models.rs
Comment thread plugins/dialog/guest-js/index.ts Outdated
Comment thread plugins/dialog/src/desktop.rs Outdated
amrbashir and others added 3 commits April 17, 2025 13:50
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Comment thread plugins/dialog/guest-js/index.ts
Comment thread plugins/dialog/guest-js/index.ts
Comment thread plugins/dialog/src/models.rs
@amrbashir amrbashir requested a review from Legend-Master April 19, 2025 11:34
@amrbashir
Copy link
Copy Markdown
Member Author

@FabianLars or @lucasfernog can you test the iOS stuff?

@FabianLars
Copy link
Copy Markdown
Member

Can do but I'm kinda away over the weekend so please remind me on Monday if I or Lucas didn't get to it yet by then.

@amrbashir
Copy link
Copy Markdown
Member Author

don't worry about it, enjoy your weekend

@lucasfernog
Copy link
Copy Markdown
Member

I started taking a look at it but got carried away to other things. I was trying to improve the return type but.. it's complicated

Legend-Master
Legend-Master previously approved these changes Apr 19, 2025
Copy link
Copy Markdown
Contributor

@Legend-Master Legend-Master left a comment

Choose a reason for hiding this comment

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

Desktop code looks good, tested on Windows

Comment thread plugins/dialog/guest-js/index.ts Outdated
Comment on lines +96 to +125
export type MessageDialogButtonsYesNoCancel = {
/** The Yes button. */
yes: string
/** The No button. */
no: string
/** The Cancel button. */
cancel: string
}

/**
* The Ok and Cancel buttons of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOkCancel = {
/** The Ok button. */
ok: string
/** The Cancel button. */
cancel: string
}

/**
* The Ok button of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOk = {
/** The Ok button. */
ok: string
}
Copy link
Copy Markdown
Contributor

@Legend-Master Legend-Master Apr 19, 2025

Choose a reason for hiding this comment

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

Just a small suggestion, maybe we can change these to something like this, so typescript doesn't hint ok and yes at the same type

Suggested change
export type MessageDialogButtonsYesNoCancel = {
/** The Yes button. */
yes: string
/** The No button. */
no: string
/** The Cancel button. */
cancel: string
}
/**
* The Ok and Cancel buttons of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOkCancel = {
/** The Ok button. */
ok: string
/** The Cancel button. */
cancel: string
}
/**
* The Ok button of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOk = {
/** The Ok button. */
ok: string
}
export type MessageDialogButtonsYesNoCancel = {
/** The Yes button. */
yes: string
/** The No button. */
no: string
/** The Cancel button. */
cancel: string
}
/**
* The Ok and Cancel buttons of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOkCancel = {
/** The Ok button. */
yes: string
/** The Cancel button. */
cancel: string
}
/**
* The Ok button of a message dialog.
*
* @since 2.3.0
*/
export type MessageDialogButtonsOk = {
/** The Ok button. */
yes: string
}

@FabianLars
Copy link
Copy Markdown
Member

@lucasfernog

I was trying to improve the return type but.. it's complicated

Can you maybe expand on that so someone else can potentially take over?

@FabianLars
Copy link
Copy Markdown
Member

i love this :D
grafik

@lucasfernog
Copy link
Copy Markdown
Member

i love this :D grafik

😂 😂 omg it took me a minute to realize wtf is this

lucasfernog
lucasfernog previously approved these changes Aug 26, 2025
Copy link
Copy Markdown
Member

@lucasfernog lucasfernog left a comment

Choose a reason for hiding this comment

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

i think we can go with this now

@Legend-Master
Copy link
Copy Markdown
Contributor

Legend-Master commented Aug 26, 2025

To be honest, although it's correct at the type level and it does error out if extra buttons are passed, this type makes it harder to follow to me

image

instead of

image

@lucasfernog
Copy link
Copy Markdown
Member

weird, i only ever got the second type of warning.. maybe we just go with the other way :|
i didn't really like using ok instead of yes because then it wouldn't match the rust side.. and ok / no / cancel is a weird trio IMO, but maybe that's just me

@Legend-Master
Copy link
Copy Markdown
Contributor

I feel like ok / no / cancel is ok because most of the time, 3 buttons will be 1 primary action 1 secondary action and cancel, it's not really yes / no / cancel

But this doesn't quite match the rfd's default YesNoCancel so...

I feel like as long as we put some examples in MessageDialogOptions.buttons so people can copy paste them, I think the error message wouldn't be a problem in that case

@lucasfernog lucasfernog merged commit 509eba8 into v2 Aug 27, 2025
19 checks passed
@lucasfernog lucasfernog deleted the feat/message-dialog-3-buttons branch August 27, 2025 12:40
Blankll added a commit to geek-fun/dockit that referenced this pull request Oct 9, 2025
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade @tauri-apps/plugin-fs from 2.4.0
to 2.4.2.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **2 versions** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@tauri-apps/plugin-fs</b></summary>
    <ul>
      <li>
        <b>2.4.2</b> - 2025-08-20
      </li>
      <li>
        <b>2.4.1</b> - 2025-07-20
      </li>
      <li>
<b>2.4.0</b> - <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases/tag/dialog-v2.4.0">2025-06-25</a></br><h2>[2.4.0]</h2>
<ul>
<li><a
href="https://redirect.github.com/tauri-apps/plugins-workspace/commit/509eba8d441c4f6ecf0af77b572cb2afd69a752d"><code>509eba8d</code></a>
(<a
href="https://redirect.github.com/tauri-apps/plugins-workspace/pull/2641"
data-hovercard-type="pull_request"
data-hovercard-url="/tauri-apps/plugins-workspace/pull/2641/hovercard">#2641</a>
by <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/../../amrbashir">@
amrbashir</a>) Add support for showing a message dialog with 3
buttons.</li>
</ul>
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
<div class="snippet-clipboard-content notranslate position-relative
overflow-auto" data-snippet-clipboard-copy-content="Updating crates.io
index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
Published tauri-plugin-dialog v2.4.0 at registry `crates-io`"><pre
class="notranslate"><code>Updating crates.io index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
   Published tauri-plugin-dialog v2.4.0 at registry `crates-io`
</code></pre></div>
</details>
      </li>
    </ul>
from <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases">@tauri-apps/plugin-fs
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJjZTc1MWJkMS0xYTBjLTQ3ZGUtYTQ2NS1mNzFhYzY5OTUwYmQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImNlNzUxYmQxLTFhMGMtNDdkZS1hNDY1LWY3MWFjNjk5NTBiZCJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?pkg&#x3D;@tauri-apps/plugin-fs&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@tauri-apps/plugin-fs","from":"2.4.0","to":"2.4.2"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"ce751bd1-1a0c-47de-a465-f71ac69950bd","prPublicId":"ce751bd1-1a0c-47de-a465-f71ac69950bd","packageManager":"npm","priorityScoreList":[],"projectPublicId":"d19c39b4-9b25-4232-b09a-2d71e94c8a24","projectUrl":"https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":2,"publishedDate":"2025-08-20T09:43:19.004Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Blankll added a commit to geek-fun/dockit that referenced this pull request Oct 17, 2025
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade @tauri-apps/plugin-dialog from
2.3.1 to 2.4.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **3 versions** ahead of your current
version.

- The recommended version was released **a month ago**.




<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@tauri-apps/plugin-dialog</b></summary>
    <ul>
      <li>
<b>2.4.0</b> - <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases/tag/dialog-v2.4.0">2025-09-02</a></br><h2>[2.4.0]</h2>
<ul>
<li><a
href="https://redirect.github.com/tauri-apps/plugins-workspace/commit/509eba8d441c4f6ecf0af77b572cb2afd69a752d"><code>509eba8d</code></a>
(<a
href="https://redirect.github.com/tauri-apps/plugins-workspace/pull/2641"
data-hovercard-type="pull_request"
data-hovercard-url="/tauri-apps/plugins-workspace/pull/2641/hovercard">#2641</a>
by <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/../../amrbashir">@
amrbashir</a>) Add support for showing a message dialog with 3
buttons.</li>
</ul>
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
<div class="snippet-clipboard-content notranslate position-relative
overflow-auto" data-snippet-clipboard-copy-content="Updating crates.io
index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
Published tauri-plugin-dialog v2.4.0 at registry `crates-io`"><pre
class="notranslate"><code>Updating crates.io index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
   Published tauri-plugin-dialog v2.4.0 at registry `crates-io`
</code></pre></div>
</details>
      </li>
      <li>
<b>2.3.3</b> - <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases/tag/single-instance-v2.3.3">2025-08-20</a></br><h2>[2.3.3]</h2>
<h3>Dependencies</h3>
<ul>
<li>Upgraded to <code>deep-link@2.4.2</code></li>
</ul>
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
<div class="snippet-clipboard-content notranslate position-relative
overflow-auto" data-snippet-clipboard-copy-content="Updating crates.io
index
Packaging tauri-plugin-single-instance v2.3.3
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/single-instance)
    Updating crates.io index
    Packaged 16 files, 208.9KiB (90.5KiB compressed)
Uploading tauri-plugin-single-instance v2.3.3
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/single-instance)
    Uploaded tauri-plugin-single-instance v2.3.3 to registry `crates-io`
note: waiting for tauri-plugin-single-instance v2.3.3 to be available at
registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
Published tauri-plugin-single-instance v2.3.3 at registry
`crates-io`"><pre class="notranslate"><code>Updating crates.io index
Packaging tauri-plugin-single-instance v2.3.3
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/single-instance)
    Updating crates.io index
    Packaged 16 files, 208.9KiB (90.5KiB compressed)
Uploading tauri-plugin-single-instance v2.3.3
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/single-instance)
    Uploaded tauri-plugin-single-instance v2.3.3 to registry `crates-io`
note: waiting for tauri-plugin-single-instance v2.3.3 to be available at
registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
   Published tauri-plugin-single-instance v2.3.3 at registry `crates-io`
</code></pre></div>
</details>
      </li>
      <li>
        <b>2.3.2</b> - 2025-07-28
      </li>
      <li>
<b>2.3.1</b> - <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases/tag/shell-v2.3.1">2025-07-20</a></br><h2>[2.3.1]</h2>
<ul>
<li><a
href="https://redirect.github.com/tauri-apps/plugins-workspace/commit/d865ed47685c3923e894f7d10ee4c037507037e6"><code>d865ed47</code></a>
(<a
href="https://redirect.github.com/tauri-apps/plugins-workspace/pull/2950"
data-hovercard-type="pull_request"
data-hovercard-url="/tauri-apps/plugins-workspace/pull/2950/hovercard">#2950</a>
by <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/../../lucasfernog">@
lucasfernog</a>) Fix sidecar with dots in the filename not working on
Windows.</li>
</ul>
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
<div class="snippet-clipboard-content notranslate position-relative
overflow-auto" data-snippet-clipboard-copy-content="Updating crates.io
index
    Updating crates.io index
Packaging tauri-plugin-shell v2.3.1
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
    Updating crates.io index
    Packaged 45 files, 296.5KiB (116.3KiB compressed)
Uploading tauri-plugin-shell v2.3.1
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
    Uploaded tauri-plugin-shell v2.3.1 to registry `crates-io`
note: waiting for tauri-plugin-shell v2.3.1 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
Published tauri-plugin-shell v2.3.1 at registry `crates-io`"><pre
class="notranslate"><code>Updating crates.io index
    Updating crates.io index
Packaging tauri-plugin-shell v2.3.1
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
    Updating crates.io index
    Packaged 45 files, 296.5KiB (116.3KiB compressed)
Uploading tauri-plugin-shell v2.3.1
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
    Uploaded tauri-plugin-shell v2.3.1 to registry `crates-io`
note: waiting for tauri-plugin-shell v2.3.1 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
   Published tauri-plugin-shell v2.3.1 at registry `crates-io`
</code></pre></div>
</details>
      </li>
    </ul>
from <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases">@tauri-apps/plugin-dialog
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJjOWIzZWUyOC02ZjY0LTQ3YzMtYWIwNC1hODVjMmM1ZjYyNTIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImM5YjNlZTI4LTZmNjQtNDdjMy1hYjA0LWE4NWMyYzVmNjI1MiJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?pkg&#x3D;@tauri-apps/plugin-dialog&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":null,"FF_showPullRequestBreakingChangesWebSearch":null,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@tauri-apps/plugin-dialog","from":"2.3.1","to":"2.4.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"c9b3ee28-6f64-47c3-ab04-a85c2c5f6252","prPublicId":"c9b3ee28-6f64-47c3-ab04-a85c2c5f6252","packageManager":"npm","priorityScoreList":[],"projectPublicId":"d19c39b4-9b25-4232-b09a-2d71e94c8a24","projectUrl":"https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2025-09-02T13:44:58.120Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Blankll added a commit to geek-fun/dockit that referenced this pull request Oct 17, 2025
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade @tauri-apps/plugin-store from
2.2.1 to 2.4.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **2 versions** ahead of your current
version.

- The recommended version was released **2 months ago**.




<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>@tauri-apps/plugin-store</b></summary>
    <ul>
      <li>
<b>2.4.0</b> - <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases/tag/dialog-v2.4.0">2025-08-20</a></br><h2>[2.4.0]</h2>
<ul>
<li><a
href="https://redirect.github.com/tauri-apps/plugins-workspace/commit/509eba8d441c4f6ecf0af77b572cb2afd69a752d"><code>509eba8d</code></a>
(<a
href="https://redirect.github.com/tauri-apps/plugins-workspace/pull/2641"
data-hovercard-type="pull_request"
data-hovercard-url="/tauri-apps/plugins-workspace/pull/2641/hovercard">#2641</a>
by <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/../../amrbashir">@
amrbashir</a>) Add support for showing a message dialog with 3
buttons.</li>
</ul>
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
<div class="snippet-clipboard-content notranslate position-relative
overflow-auto" data-snippet-clipboard-copy-content="Updating crates.io
index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
Published tauri-plugin-dialog v2.4.0 at registry `crates-io`"><pre
class="notranslate"><code>Updating crates.io index
Packaging tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Updating crates.io index
    Packaged 49 files, 325.6KiB (122.9KiB compressed)
Uploading tauri-plugin-dialog v2.4.0
(/home/runner/work/plugins-workspace/plugins-workspace/plugins/dialog)
    Uploaded tauri-plugin-dialog v2.4.0 to registry `crates-io`
note: waiting for tauri-plugin-dialog v2.4.0 to be available at registry
`crates-io`.
You may press ctrl-c to skip waiting; the crate should be available
shortly.
   Published tauri-plugin-dialog v2.4.0 at registry `crates-io`
</code></pre></div>
</details>
      </li>
      <li>
        <b>2.3.0</b> - 2025-06-25
      </li>
      <li>
        <b>2.2.1</b> - 2025-06-16
      </li>
    </ul>
from <a
href="https://redirect.github.com/tauri-apps/plugins-workspace/releases">@tauri-apps/plugin-store
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIwYjI5OTQzYi1hZmI0LTQwNzAtYmM0Yi1hMjNiY2UyM2VlMDEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjBiMjk5NDNiLWFmYjQtNDA3MC1iYzRiLWEyM2JjZTIzZWUwMSJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24/settings/integration?pkg&#x3D;@tauri-apps/plugin-store&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":null,"FF_showPullRequestBreakingChangesWebSearch":null,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"@tauri-apps/plugin-store","from":"2.2.1","to":"2.4.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"0b29943b-afb4-4070-bc4b-a23bce23ee01","prPublicId":"0b29943b-afb4-4070-bc4b-a23bce23ee01","packageManager":"npm","priorityScoreList":[],"projectPublicId":"d19c39b4-9b25-4232-b09a-2d71e94c8a24","projectUrl":"https://app.snyk.io/org/blankll/project/d19c39b4-9b25-4232-b09a-2d71e94c8a24?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":2,"publishedDate":"2025-08-20T09:44:46.532Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
@HumanWannabe

This comment was marked as resolved.

@Legend-Master

This comment was marked as resolved.

@HumanWannabe

This comment was marked as resolved.

@Legend-Master

This comment was marked as resolved.

@HumanWannabe

This comment was marked as resolved.

@FabianLars

This comment was marked as resolved.

@HumanWannabe

This comment was marked as resolved.

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.

Allow for a third button in the MessageDialogBuilder

5 participants