Add guided onboarding tour for first toolbox creation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s

This commit is contained in:
Shinuwa 2026-08-14 13:20:47 +02:00
parent 3007aa1389
commit 4f73e0068b
20 changed files with 470 additions and 20 deletions

View file

@ -71,7 +71,7 @@ export function ToolboxCard({ toolbox, game, actions, reorder }) {
);
}
export function ToolboxIconPicker({ toolbox, onChange }) {
export function ToolboxIconPicker({ toolbox, onChange, tutorialTarget = "" }) {
const icon = normalizeToolboxIcon(toolbox.icon);
return (
@ -86,6 +86,7 @@ export function ToolboxIconPicker({ toolbox, onChange }) {
onClick={toggle}
aria-label="Changer l'icône de la toolbox"
aria-expanded={open}
data-toolbox-tutorial-target={tutorialTarget || undefined}
title="Changer l'icône"
>
<img src={icon} alt="" aria-hidden="true" />