Skip to content

Replace static diagram with animated cluster fleet#19

Merged
vitabaks merged 9 commits into
mainfrom
arch-diagram-redesign
Jul 19, 2026
Merged

Replace static diagram with animated cluster fleet#19
vitabaks merged 9 commits into
mainfrom
arch-diagram-redesign

Conversation

@vitabaks

Copy link
Copy Markdown
Member

Transform the architecture diagram from a static representation into an animated visualization that demonstrates PostgreSQL cluster provisioning and lifecycle management.

The visualization better communicates Autobase's capability to manage infrastructure at scale.

Transform the architecture diagram from a static representation into an animated visualization that demonstrates PostgreSQL cluster provisioning and lifecycle management.

The visualization better communicates Autobase's capability to manage infrastructure at scale.
@vitabaks vitabaks self-assigned this Jul 19, 2026
vitabaks added 8 commits July 19, 2026 22:56
Replace static predefined growth stages with dynamic animation using randomized scheduling and procedurally generated messages. The animation now randomly varies the timing and content of fleet operations (scaling, healing, maintaining, monitoring) instead of following a fixed sequence. Update layout to accommodate single-line messages instead of multi-line arrays.
Add provisioning state visualization to the fleet animation by tracking activity cycles and displaying cluster provisioning ranges every 9 activities. Improve animation timing for smoother transitions (650-1300ms). Update UI labels for clarity: 'Every cluster lifecycle' to 'Fully managed lifecycle' and 'Autobase Platform' to uppercase.
Implement dynamic replica count visualization in the architecture diagram. Replica counts now scale from 2 to 4 based on service scaling activity, managed as component state. Replicas are rendered dynamically instead of statically, and position classes for replicas 3 and 4 are added to support the increased replica count. Animation updated from 'serviceScale' to 'replicaProvision' to reflect the new scaling behavior.
Refactor service activation logic to avoid selecting the same service consecutively and optimize replica count updates. Introduces activateService callback with refs to track previous selections and maintain efficient state. Simplifies settled activity management by storing full activity objects instead of indices.
Remove the monitoring service type from the fleet diagram and replace it with maintaining. This includes:
- Removing the monitoring activity from settled activities
- Changing the default service type fallback from 'monitoring' to 'maintaining'
- Updating the initial settled activity index to skip the removed monitoring activity
- Removing associated CSS animations and styles for the monitoring service type
Adds a hoverable cluster preview UI to FleetCluster. New markup in src/components/ArchDiagramSection/index.js and extensive styles in styles.module.css render a primary/replica preview, reveal animation, and responsive positioning for different grid breakpoints. Also updates the fleet status label from "AUTOMATION ACTIVE" to "SYSTEM ACTIVE".
Enable interactive previews for fleet cluster tiles: add openPreviewIndex state and handlers in ClusterFleet, keyboard handlers and click/tap support in FleetCluster, and close-on-outside/Escape logic. Improve ARIA semantics (role=group for fleet, focusable cluster tiles, aria-expanded/label) and mark the preview element aria-hidden. Update styles to show previews via a .fleetClusterPreviewOpen class, add pointer cursor and focus-visible outline, and replace hover-only selectors so previews work for keyboard/touch. Purpose: improve accessibility, keyboard and touch interaction for cluster previews.
Add createReplicaTargets and replicaTargetsRef to generate a per-cluster desired replica count (with shuffling) and persist it. activateService now checks replicaCounts against replicaTargets instead of the global maxReplicaCount. Prefer-reduced-motion path sets replicaCounts directly to the targets. This enables varied, randomized replica goals per cluster and updates the scaling candidate selection accordingly.
@vitabaks
vitabaks merged commit 0ccbfc6 into main Jul 19, 2026
1 check passed
@vitabaks
vitabaks deleted the arch-diagram-redesign branch July 19, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant