๐ฆ Broker Components
Components in lib/components/brokers/ that power the broker management UI.
๐ Overview
graph LR
Cards["๐ <b>Cards</b><br/><small>BrokerCard<br/>BrokerDiscoveryCard</small>"]
Forms["๐ <b>Forms</b><br/><small>BrokerForm<br/>BrokerIcon</small>"]
Modals["๐ช <b>Modals</b><br/><small>BrokerModal ยท SharingModal ยท SharingPanel<br/>ImportFiles ยท Delete</small>"]
Lots["๐ฌ <b>Lots</b><br/><small>lots/ ยท LotsAnalysisPanel</small>"]
Modals -->|wraps| Forms
Cards -->|uses| Forms
style Cards fill:#e3f2fd,stroke:#1565c0
style Forms fill:#e8f5e9,stroke:#2e7d32
style Modals fill:#fff3e0,stroke:#e65100
style Lots fill:#f3e5f5,stroke:#7b1fa2
Each sub-section has its own detailed composition diagram. See the pages below.
๐ Sub-sections
| Section | Components | Description |
|---|---|---|
| Cards | BrokerCard, BrokerDiscoveryCard | The cards of the /brokers list page |
| Forms | BrokerForm, BrokerIcon | Create/edit form and smart icon with fallback |
| Modals | BrokerModal, BrokerSharingModal, BrokerSharingPanel, BrokerImportFilesModal, DeleteBrokerDialog | The broker dialogs, and the sharing panel that the Info tab embeds |
| Lots Analysis | lots/ (LotsAnalysisPanel, UnifiedLotsTable, โฆ) |
The FIFO lots panel of the Positions views |
The dialogs are built on ModalBase from the UI Base components. BrokerSharingPanel is a plain panel โ wrapped by BrokerSharingModal, or embedded in the broker's Info tab โ whose add-user and edit-user dialogs are ModalBase too.