-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Highlighter] - Ui update export flow #5328
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # app/services/highlighter/index.ts # app/services/highlighter/models/ai-highlighter.models.ts
@@ -108,10 +132,11 @@ function ExportModal({ close, streamId }: { close: () => void; streamId: string | |||
// Clear all errors when this component unmounts | |||
useEffect(() => unmount, []); | |||
|
|||
if (exportInfo.exporting) return <ExportProgress />; | |||
if (!exportInfo.exported) { | |||
// if (exportInfo.exporting) return <ExportProgress />; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be deleted?
</div> | ||
<div style={{ display: 'flex', gap: '16px' }}> | ||
<div className={styles.settingsAndProgress}> | ||
<div className={`${styles.pathWrapper} ${isExporting ? styles.isDisabled : ''}`}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use a library classnames
to help with dynamic css classes like this, you can search cx(
in our codebase to see some examples
<FileInput | ||
label={$t('Export Location')} | ||
name="exportLocation" | ||
save={true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you're using a truthy boolean property you can omit the ={true}
:D
? { objectPosition: 'left' } | ||
: { objectPosition: `-${(SCRUB_WIDTH * 1.32) / 3 + 4}px` } | ||
} | ||
alt="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why this is here?
Cancellation is not working on prod and therefore also not in this PR.
Will fix that in a separate PR.