Add guided onboarding tour for first toolbox creation
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 14s
This commit is contained in:
parent
3007aa1389
commit
4f73e0068b
20 changed files with 470 additions and 20 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue