mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 10:03:46 +00:00
refactor: extract Installation Guides into block renderer components
Replace monolithic Connection.tsx (1076 lines) with modular architecture: - 4 block renderers (cards, timeline, accordion, minimal) selectable via uiConfig.installationGuidesBlockType from RemnaWave config - Color parser utility with 14 named colors + hex support - InstallationGuide component handles platform/app selection and button rendering (subscriptionLink, copyButton, external) - Remove classic step-based format (AppButton, AppStep, AppInfo) - Add appConfig query invalidation on admin UUID change
This commit is contained in:
5
src/components/connection/blocks/index.ts
Normal file
5
src/components/connection/blocks/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export { CardsBlock } from './CardsBlock';
|
||||
export { TimelineBlock } from './TimelineBlock';
|
||||
export { AccordionBlock } from './AccordionBlock';
|
||||
export { MinimalBlock } from './MinimalBlock';
|
||||
export type { BlockRendererProps } from './types';
|
||||
Reference in New Issue
Block a user