fix: display diagram

This commit is contained in:
Maël Gangloff
2024-08-18 14:42:25 +02:00
parent eb851ad2f5
commit 693b5a0b19
3 changed files with 10 additions and 9 deletions

View File

@@ -221,7 +221,8 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: {
</Form.Item> </Form.Item>
))} ))}
<Form.Item help={ <Form.Item help={
<Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'> <Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'
target='_blank'>
{t`Check out this link to the Symfony documentation to help you build the DSN`} {t`Check out this link to the Symfony documentation to help you build the DSN`}
</Typography.Link>} </Typography.Link>}
> >

View File

@@ -55,9 +55,9 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
} }
onOk={() => setOpen(false)} onOk={() => setOpen(false)}
onCancel={() => setOpen(false)} onCancel={() => setOpen(false)}
width='80vw' width='85vw'
> >
{nodes && edges && <Flex style={{width: '75vw', height: '80vh'}}> <Flex style={{width: '80vw', height: '80vh'}}>
<ReactFlow <ReactFlow
fitView fitView
colorMode='system' colorMode='system'
@@ -73,7 +73,7 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
<Controls/> <Controls/>
<Background/> <Background/>
</ReactFlow> </ReactFlow>
</Flex>} </Flex>
</Modal> </Modal>
</> </>
} }

View File

@@ -204,12 +204,12 @@ msgid ""
msgstr "" msgstr ""
#: assets/components/tracking/connector/ConnectorForm.tsx:176 #: assets/components/tracking/connector/ConnectorForm.tsx:176
#: assets/components/tracking/watchlist/WatchlistForm.tsx:244 #: assets/components/tracking/watchlist/WatchlistForm.tsx:245
msgid "Create" msgid "Create"
msgstr "" msgstr ""
#: assets/components/tracking/connector/ConnectorForm.tsx:179 #: assets/components/tracking/connector/ConnectorForm.tsx:179
#: assets/components/tracking/watchlist/WatchlistForm.tsx:247 #: assets/components/tracking/watchlist/WatchlistForm.tsx:248
msgid "Reset" msgid "Reset"
msgstr "" msgstr ""
@@ -293,15 +293,15 @@ msgstr ""
msgid "This DSN does not appear to be valid" msgid "This DSN does not appear to be valid"
msgstr "" msgstr ""
#: assets/components/tracking/watchlist/WatchlistForm.tsx:225 #: assets/components/tracking/watchlist/WatchlistForm.tsx:226
msgid "Check out this link to the Symfony documentation to help you build the DSN" msgid "Check out this link to the Symfony documentation to help you build the DSN"
msgstr "" msgstr ""
#: assets/components/tracking/watchlist/WatchlistForm.tsx:234 #: assets/components/tracking/watchlist/WatchlistForm.tsx:235
msgid "Add a Webhook" msgid "Add a Webhook"
msgstr "" msgstr ""
#: assets/components/tracking/watchlist/WatchlistForm.tsx:244 #: assets/components/tracking/watchlist/WatchlistForm.tsx:245
msgid "Update" msgid "Update"
msgstr "" msgstr ""