You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new modules/StyleImport/ module containing the selective style load modal. When the user picks a styles file and it parses successfully, a Dialog opens showing every actionable style as a before→after card. Each card has a checkbox; the user checks the styles they want and clicks "Load N selected" to write them directly to user style atoms.
The modal is triggered by a new "Load" button added to the Styles sidebar panel header (alongside the existing gear icon — cleanup of the old UI happens later).
Node cards use the existing vertex preview component. Edge cards use a placeholder (the real edge preview from #1934 will be swapped in once that ticket lands).
Identical styles (where incoming resolved style matches the existing resolved style) are excluded from the list entirely.
Key behaviors
File pick → parse → on error: AlertDialog (same error states as the existing LoadStylesButton) → on success: modal opens
Modal uses Dialog (overlay-dismissable), widened via className
Parent
What to build
A new
modules/StyleImport/module containing the selective style load modal. When the user picks a styles file and it parses successfully, a Dialog opens showing every actionable style as a before→after card. Each card has a checkbox; the user checks the styles they want and clicks "Load N selected" to write them directly to user style atoms.The modal is triggered by a new "Load" button added to the Styles sidebar panel header (alongside the existing gear icon — cleanup of the old UI happens later).
Node cards use the existing vertex preview component. Edge cards use a placeholder (the real edge preview from #1934 will be swapped in once that ticket lands).
Identical styles (where incoming resolved style matches the existing resolved style) are excluded from the list entirely.
Key behaviors
Dialog(overlay-dismissable), widened via classNameuserVertexStylesAtom/userEdgeStylesAtom, closes modal, shows success toastAcceptance criteria
modules/StyleImport/module existsRelated Issues
Blocked by
Important
Internal only — this issue is maintained by the core team and is not accepting external contributions.