Skip to content

Wip/lmm demo local#1156

Draft
tyhonchik wants to merge 12 commits into
mainfrom
wip/lmm-demo-local
Draft

Wip/lmm demo local#1156
tyhonchik wants to merge 12 commits into
mainfrom
wip/lmm-demo-local

Conversation

@tyhonchik

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List
any dependencies that are required for this change.

Type of Change

  • Major: Breaking change (change that would cause existing functionality to not work as expected)
  • Minor: Feature (non-breaking change which adds new functionality)
  • Patch: Enhancement (non-breaking change to an existing feature)
  • Patch: Bug fix (non-breaking change which fixes an issue)

Developer Checklist:

  • Manually smoke tested the functionality in a preview or locally
  • Confirmed there are no new warnings or errors in the browser console
  • (For User Stories only) Double-checked that all Acceptance Criteria are satisfied
  • Confirmed there are no new warnings on automated tests
  • Merged and published any dependent changes in downstream modules
  • Selected the correct base branch
  • Commented the code in hard-to-understand areas
  • Followed the code style guidelines of this project
  • Reviewed that the Files Changed in Github’s UI reflect my intended changes
  • Confirmed the pipeline checks are not failing

Review Checklist:

  • (For User Stories only) Tested in a preview or locally that all Acceptance Criteria are satisfied
  • Confirmed that changes follow the code style guidelines of this project

@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

🚀 Preview Deployment: View Here

@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown

E2E results (preview)

Smoke

Base URL https://app-next-535zw7pjy-aragon-app.vercel.app
Suite smoke
Playwright result ⚠️ completed with flaky tests
Summary 77 passed, 3 flaky
HTML report View report
GitHub job ✅ completed

View run #4288

tyhonchik added 12 commits June 4, 2026 16:04
- Added FlowLayout, FlowActivityFeed, FlowKpiRow, and FlowLede components for enhanced flow management.
- Introduced FlowPoliciesSection and FlowOrchestratorsSection to organize policies and orchestrators.
- Created new pages for flow activities, policies, and recipients.
- Updated .env.local to include configuration for the flow indexer.
- Enhanced dispatch dialogs to support new flow functionalities.

This commit lays the groundwork for the Flow feature set, improving user experience and functionality in managing flow-related operations.
- Added "Capital flow" link to navigation for improved access to flow functionalities.
- Introduced Flow skeleton components for loading states across various Flow pages.
- Updated Flow pages to handle loading and error states more gracefully.
- Refactored FlowPoliciesSection to utilize new automation action hook for adding automations.
- Renamed "Flow tree" to "Policy tree" for better clarity in the FlowPolicyTree component.
Safety-net snapshot of the Lido Money Machine demo files before running
the smoke flow. Includes:
- infra/lmm-demo/ runbook + VM stack
- src/modules/flow/demo/ (override layer + safety)
- src/modules/flow/components/lidoMoneyMachine/ (vendored UI)
- src/shared/lidoPreview/ (vendored library)
- capitalFlow dispatch dialog routing
- docs/lido-mmd-*.md
- Added symlink for demo manifest in public directory to facilitate local development.
- Updated environment variables for demo mode in `.env.local` to enable demo features.
- Enhanced documentation for production readiness and VM deployment, clarifying the new nginx routing setup.
- Refactored dispatch dialog to conditionally load demo components based on the demo mode.
- Removed Caddy configuration in favor of host nginx for improved routing and security.

This commit streamlines the demo setup and improves clarity for developers working with the Lido Money Machine.
…trategies

- Added accessibility labels to dispatch dialogs for improved user experience.
- Updated capital flow dialog definitions to include hidden titles and descriptions for better compliance with accessibility standards.
- Introduced new properties in IFlowDispatch to support multi-dispatch contexts, including leg index and kind.
- Enhanced flow policy history and chart components to display orchestrator leg details and improve clarity in dispatch outcomes.
- Implemented a refreshOracle function to update oracle timestamps, ensuring accurate data for demo scenarios.

These changes improve the usability and accessibility of the flow management features, particularly for orchestrator strategies in the Lido Money Machine demo.
- Enhanced the Lido Money Machine demo documentation to clarify production readiness and the integration of orchestrator strategies.
- Updated flow components to improve the handling of dispatches, including the introduction of a money flow graph for visualizing dispatch outcomes.
- Refactored the flow activity feed and recipients table to better represent orchestrator leg details and synthesized destination rows from the manifest.
- Implemented various LMM_DEMO_HACKs to streamline demo functionality while preparing for production transitions.

These changes enhance the usability and clarity of the Lido Money Machine demo, particularly in the context of orchestrator strategies.
- Introduced new environment variables for the Lido Money Machine demo to support demo mode and external resources.
- Refactored layout logic in the flow components to improve node ordering and propagation of strategy indices, ensuring a more intuitive visual representation of the flow graph.
- Enhanced sorting mechanism for nodes to maintain a stable order while minimizing visual disruptions.

These updates improve the functionality and clarity of the Lido Money Machine demo, particularly in the context of orchestrator strategies.
- Added new environment variables for Hasura integration in the docker-compose setup to improve communication with the Hasura GraphQL endpoint.
- Updated nginx configuration to strip conflicting CORS headers from responses, ensuring proper handling of CORS in the Lido Money Machine demo.
- Refactored flow components to improve the handling of dispatches and enhance the user interface, including updates to the recipients table and dispatch dialogs.
…chine

- Introduced a comprehensive demo script in `DEMO-SCRIPT.md` to guide presenters through the Lido Money Machine flow, detailing setup and interactive controls.
- Created a new `FlowWorkbenchPage` component to visualize the flow, enhancing user interaction with the demo.
- Updated the `README.md` to reference the new demo script for improved presentation guidance.
- Enhanced flow module types and dynamics to support the new workbench functionality, ensuring accurate representation of flow states and actions.
…mory limits

- Updated `docker-compose.yml` to set memory limits for anvil, postgres, and node services, ensuring better resource management during demo execution.
- Modified `init-demo.sh` to recreate the envio container instead of restarting it, ensuring new environment variables are applied correctly.
- Enhanced flow components to support display of strategy parameters (e.g., slippage, target token) in the flow workbench, improving user visibility of configuration settings.
- Introduced a new module for strategy parameters, allowing dynamic rendering of configuration details in the flow canvas and inspector.
- Introduced `outputsSettleAsync` function to determine if strategy outputs settle out-of-band, improving flow graph accuracy.
- Updated `buildFlowGraph` to handle settle-phase outputs distinctly, ensuring they render correctly and do not animate with immediate dispatch flows.
- Enhanced `flowGraphTypes` to include a `trigger` property for edges, allowing differentiation between 'dispatch' and 'settle' outputs.
- Modified flow dynamics to provide clearer visual cues for settle-phase flows, improving user understanding of flow states.
- Refactored flow components to accommodate new rendering logic for outputs, enhancing overall user experience in the flow workbench.
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