Merge pull request #343 from getmaxun/reset-cleanup
feat: link docs to restart menu
This commit is contained in:
@@ -132,7 +132,6 @@ const BrowserRecordingSave = () => {
|
|||||||
{t('right_panel.buttons.discard')}
|
{t('right_panel.buttons.discard')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{/* Reset Button */}
|
|
||||||
<IconButton
|
<IconButton
|
||||||
aria-label="options"
|
aria-label="options"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -151,11 +150,13 @@ const BrowserRecordingSave = () => {
|
|||||||
<MenuItem onClick={() => { setOpenResetModal(true); handleClose(); }}>
|
<MenuItem onClick={() => { setOpenResetModal(true); handleClose(); }}>
|
||||||
<ListItemText>{t('right_panel.buttons.reset')}</ListItemText>
|
<ListItemText>{t('right_panel.buttons.reset')}</ListItemText>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem onClick={() => { window.open('https://docs.maxun.dev', '_blank'); }}>
|
||||||
|
<ListItemText>Documentation</ListItemText>
|
||||||
|
</MenuItem>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
||||||
<SaveRecording fileName={recordingName} />
|
<SaveRecording fileName={recordingName} />
|
||||||
|
|
||||||
{/* Discard Confirmation Modal */}
|
|
||||||
<GenericModal isOpen={openDiscardModal} onClose={() => setOpenDiscardModal(false)} modalStyle={modalStyle}>
|
<GenericModal isOpen={openDiscardModal} onClose={() => setOpenDiscardModal(false)} modalStyle={modalStyle}>
|
||||||
<Box p={2}>
|
<Box p={2}>
|
||||||
<Typography variant="h6">{t('browser_recording.modal.confirm_discard')}</Typography>
|
<Typography variant="h6">{t('browser_recording.modal.confirm_discard')}</Typography>
|
||||||
@@ -170,7 +171,6 @@ const BrowserRecordingSave = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
</GenericModal>
|
</GenericModal>
|
||||||
|
|
||||||
{/* Reset Confirmation Modal */}
|
|
||||||
<GenericModal isOpen={openResetModal} onClose={() => setOpenResetModal(false)} modalStyle={modalStyle}>
|
<GenericModal isOpen={openResetModal} onClose={() => setOpenResetModal(false)} modalStyle={modalStyle}>
|
||||||
<Box p={2}>
|
<Box p={2}>
|
||||||
<Typography variant="h6">{t('browser_recording.modal.confirm_reset')}</Typography>
|
<Typography variant="h6">{t('browser_recording.modal.confirm_reset')}</Typography>
|
||||||
|
|||||||
Reference in New Issue
Block a user