-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: audio recording #381
Conversation
…edesign-edit-observation
…design-edit-observation
src/frontend/screens/Audio/bottomSheet/AudioRecordingDeleteBottomSheet.tsx
Outdated
Show resolved
Hide resolved
9e2859f
to
525bc74
Compare
elapsedTime: SharedValue<number>; | ||
} | ||
|
||
export function convertMsToTime(ms: number) { |
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.
I don't like how it looks but for context: Bohdan had issues with passing functions from react-intl into reanimated UI thread, hence this method.
src/frontend/screens/Audio/bottomSheet/AudioRecordingDeleteBottomSheet.tsx
Outdated
Show resolved
Hide resolved
src/frontend/screens/Audio/bottomSheet/AudioRecordingSuccessBottomSheet.tsx
Outdated
Show resolved
Hide resolved
src/frontend/screens/Audio/bottomSheet/AudioShareBottomSheet.tsx
Outdated
Show resolved
Hide resolved
createdAt: 0, | ||
duration: 0, |
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're unable to save metadata with audio recording, hence mock values for now. Possibly related to #378
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.
notes for self & some context for other reviewers
This PR adds most of recording feature which is subject of #360 and #361.