Commit Graph

1034 Commits

Author SHA1 Message Date
David Baker e7a7cf3eb8 Export events to posthog too 2023-03-20 13:30:21 +00:00
David Baker 63ede0b51a Version using events for call joins / leaves and matrix events
This is probably conceptually nicer although isn't quite as nice in
the jaeger / stalk UI.

Also this may no loger work with the posthog exporter (unsure what it
will do with events on spans).
2023-03-17 19:26:23 +00:00
David Baker 2d91b43a7d Set attributes on the root span
Setting them on the context doesn't actually make them show up in
jaeger, it's just a way to propagate the info around between
different things.
2023-03-17 19:03:43 +00:00
David Baker f8f5d2011d Add CORS to jaeger query endpoint and make spans nested
Adds an nginx in front of the query endpoint so we can use stalk
without faffing with browser extension to bypass CORS.

Also make the spans correctly have the call membership span as parent,
which they didn't because we hadn't set the span at the point we made
the context.
2023-03-17 17:01:59 +00:00
David Baker 521b0a857a Send spans for state events 2023-03-16 18:08:28 +00:00
David Baker 31450219c8 More work on opentelemetry event reporting
Moastly a re-org to avoid new contexts over React component unmounts/
remounts.
2023-03-16 14:41:55 +00:00
David Baker c519e13885 Version that does at least send some traces 2023-03-15 16:00:39 +00:00
David Baker 0cca5ae174 Slightly evolved but not-yet-working OpenTelemetry
More usefully, including docker config for starting a CORS enabled
OTLP collector so we don't have to use zipkin.
2023-03-15 14:35:10 +00:00
Timo K 4c59638d00 otel for call start, end and mute
This is send over zipkin.
And it uses a posthog exporter to export events to posthog
using a _otel prefix
2023-03-10 10:33:54 +01:00
Timo 0423a494c4 Checkbox for analytics opt in & settings redesign (#934) 2023-03-01 13:47:36 +01:00
David Baker 64703fd3cc Typo
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-02-28 14:09:52 +00:00
David Baker 53bc8eb82f Behave sensibly if a full room alias is entered
Check explicitly to see if the room name that's enetered into the box
looks like a room alias and if so, do the sensible thing.

Fixes https://github.com/vector-im/element-call/issues/852
2023-02-28 13:50:24 +00:00
Robin Townsend 1fc181dc28 Document useReactiveState 2023-02-15 16:38:49 -05:00
Robin Townsend fbc72283d4 Add missing copyright headers 2023-02-15 16:20:58 -05:00
Robin Townsend efbf319fa1 Explain why we cast the tile springs 2023-02-13 22:40:26 -05:00
Robin Townsend ef4a62ca62 Document useMergedRefs 2023-02-13 22:38:27 -05:00
Robin Townsend 58ed372afa Fix type and lint errors 2023-02-13 21:57:57 -05:00
Robin Townsend 69e6ba93c1 Add a switch to toggle between the new and old grids 2023-02-13 20:36:42 -05:00
Robin Townsend b2b2f0bb15 Merge branch 'main' into big-grid 2023-02-13 18:54:19 -05:00
Robin Townsend 5448744871 Document grid operations 2023-02-13 18:35:23 -05:00
David Baker 605dd44df0 Rename other instance of variable 2023-02-13 15:49:58 +00:00
David Baker 07a4de638f Don't pause audio streams on media actions
This adds handlers for the media actions to do nothing, otherwise
they cause the audio element for a random participant to get paused.

Fixes https://github.com/vector-im/element-call/issues/855
2023-02-13 15:20:48 +00:00
Timo eda11cfc08 Inform that the user that config keys are missing (#880) 2023-02-09 12:57:54 +01:00
Robin Townsend d852e33413 Document the component 2023-02-08 00:32:08 -05:00
Robin Townsend 8d46687a54 Refactor grid state tracking 2023-02-07 23:27:49 -05:00
Robin Townsend 978b0f08e8 Move grid algorithms into a separate file 2023-02-07 22:13:50 -05:00
Robin Townsend 374c68e3c0 Fix tiles enlarging to the wrong place on mobile 2023-02-05 01:17:28 -05:00
Robin Townsend 82ac775124 Fix scrolling on mobile 2023-02-05 00:55:12 -05:00
Robin Townsend 6adcf95aaa Implement different column counts and mobile layout 2023-02-04 00:43:53 -05:00
Robin Townsend 206730ffc0 Fix infinite loop when a tile can't be enlarged 2023-02-03 16:52:42 -05:00
Robin Townsend 1e858f6ba3 Fix a typo 2023-02-03 16:27:49 -05:00
Robin Townsend 22382413dc Make drag and drop mobile-friendly 2023-02-03 15:42:47 -05:00
Robin Townsend 6cd939db0c Fix a crash when there's only 1 tile and it gets shrunk 2023-02-03 09:11:25 -05:00
Robin Townsend 42e4f6ce83 Don't allow the grid to overflow horizontally 2023-02-03 08:44:35 -05:00
David Baker 579b91abff Revert "Yarn upgrade" 2023-02-02 14:32:44 +00:00
David Baker e1abbd5291 Yarn upgrade
Along with some type fixes to make typescript happy again. Hopefully
they are sensible.
2023-02-02 12:49:54 +00:00
Robin Townsend 4fc8598e36 Keep tile elements in a stable order 2023-02-01 11:50:52 -05:00
Robin Townsend 6784d2ba97 Remove redundant key prop 2023-02-01 11:50:25 -05:00
Robin Townsend 0915e327e1 Implement somewhat working drag & drop and improve render memoization 2023-02-01 11:32:10 -05:00
Robin Townsend eedf8a6d1b Make tiles draggable (but not yet droppable) 2023-02-01 00:17:22 -05:00
Robin Townsend d7db845f3b Scroll snap was a bad idea 2023-01-30 23:52:46 -05:00
Robin Townsend 82c7293308 Replace premature animation optimization with a potentially wiser one 2023-01-30 23:44:19 -05:00
Robin Townsend 0166eb67fb Make avatars scale smoothly during animations 2023-01-30 23:43:45 -05:00
Robin Townsend e3081c1c06 Try out a snappier spring 2023-01-30 23:32:26 -05:00
Robin Townsend f540f48461 Fix some layout bugs 2023-01-30 23:32:00 -05:00
Robin Townsend 55dece274f Fix some tile resizing bugs 2023-01-30 17:04:43 -05:00
Robin Townsend 4e73c07cb2 Try out scroll snapping 2023-01-30 09:35:40 -05:00
Robin Townsend 3805a2f20e Format with Prettier 2023-01-29 21:56:07 -05:00
Robin Townsend 4e35984900 Extract tile size change logic into a function 2023-01-29 21:54:53 -05:00
Robin Townsend e99294c3f1 Simplify some code 2023-01-29 21:45:10 -05:00