Use the share icon and space the share dialog footer
- Show the new share icon on the toolbox card and drawer send buttons. - Separate the single-use option from the dialog buttons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bec9ea5b2f
commit
f423fa30fa
5 changed files with 28 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ export function ToolboxCard({ toolbox, game, actions, reorder }) {
|
|||
<div className="card-actions nds-card-actions nds-toolbar">
|
||||
<a className="card-icon-button nds-icon-button" data-size="md" href={`#/toolbox/${toolbox.id}`} aria-label={`Ouvrir ${toolbox.name}`} title="Ouvrir"><Icon name="open" /></a>
|
||||
<button className="card-icon-button nds-icon-button" data-size="md" onClick={() => actions.exportToolbox(toolbox.id)} aria-label={`Exporter ${toolbox.name}`} title="Exporter"><Icon name="export" /></button>
|
||||
{actions.sharingEnabled && <button className="card-icon-button nds-icon-button" data-size="md" onClick={() => actions.openShareToolbox(toolbox.id)} aria-label={`Envoyer ${toolbox.name}`} title="Envoyer"><Icon name="send" /></button>}
|
||||
{actions.sharingEnabled && <button className="card-icon-button nds-icon-button" data-size="md" onClick={() => actions.openShareToolbox(toolbox.id)} aria-label={`Envoyer ${toolbox.name}`} title="Envoyer"><Icon name="share" /></button>}
|
||||
<button className="card-icon-button nds-icon-button" data-size="md" data-variant="danger" onClick={() => actions.setConfirmModal({
|
||||
title: "Supprimer la toolbox",
|
||||
message: `Supprimer "${toolbox.name}" et ses données locales ?`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue