Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

turt2live
Copy link
Member

For element-hq/element-web#1358

Visuals:
image
image

Me talking:

WaveformTest-edited.mp4
* displayed, making it possible to see "82:29".
*/
@replaceableComponent("views.voice_messages.Clock")
export default class Clock extends React.PureComponent<IProps, IState> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to try and explain why there's this, a LiveRecordingClock, and similar components for waveforms: the base components (not-LiveRecording ones) are eventually going to be used in the timeline to show voice messages. Just trying to figure out a component structure which keeps concerns isolated.

This is also me experimenting with component definitions, and still not being happy with the divide presented in this PR.

@turt2live turt2live requested a review from a team March 25, 2021 23:45
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking really nice

@turt2live turt2live requested a review from dbkr March 30, 2021 04:00
@turt2live
Copy link
Member Author

I've reverted the AudioWorklet stuff because it horribly breaks the tests due to the compiler not understanding what scope it's being called at. I'll look at this in a future PR: element-hq/element-web#16819

Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, one more thing I'm confused by - generally looking good though

@turt2live turt2live requested a review from dbkr March 30, 2021 18:01
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@turt2live turt2live merged commit b68fabb into develop Mar 30, 2021
@turt2live turt2live deleted the travis/voice-messages/waveform branch March 30, 2021 18:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants