0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
Paul D'Ambra
9a4e9a81da
fix: patch mobile recordings that are missing their meta event (#24840) 2024-09-06 16:24:37 +01:00
Paul D'Ambra
1cedcd95cb
feat: explicit screenshot support in the mobile replay schema (#21965)
Co-authored-by: David Newell <d.newell1@outlook.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-30 11:43:17 +01:00
David Newell
d1f1691ac8
fix: replay web schema (#21764) 2024-04-23 16:44:22 +00:00
David Newell
4b1c253759
chore: upgrade rrweb for playback (#21368) 2024-04-08 11:37:09 +01:00
Paul D'Ambra
0892e5ba24
feat: use existing placeholder background in mobile replay (#21170)
* feat: use existing placeholder background in mobile replay

* fix
2024-03-27 09:29:05 +00:00
Paul D'Ambra
e5bec128fc
fix: invalid text node should not render (#21093) 2024-03-22 17:48:43 +00:00
Paul D'Ambra
235f7c643b
fix: padding reset for mobile replay (#21041)
* fix: padding reset for mobile replay

* fix

* updat snapshot
2024-03-20 12:52:34 +00:00
Paul D'Ambra
1a6948eb04
feat: support padding for mobile replay styling (#21020)
* feat: support padding for mobile replay styling

* fix

* schema
2024-03-20 07:50:47 +00:00
Paul D'Ambra
ef3b213738
feat: keyboard color matches nav bar color (#20842)
* feat: keyboard color matches nav bar color

* update snapshots

* don't set colours unless they're provided
2024-03-12 08:03:24 +00:00
Paul D'Ambra
b09417fdb1
fix: browser css reset for mobile replay (#20822)
* fix: browser css reset for mobile replay

* wat

* update snapshots
2024-03-11 14:53:19 +00:00
Paul D'Ambra
751220efb5
fix: wrap text in mobile replay (#20418) 2024-02-19 14:55:12 +00:00
Paul D'Ambra
a2ff3f7d1a
fix: keep latest mutations (#20164)
* fix: keep latest mutations

* update test snapshots

* Update query snapshots

* Update query snapshots

* change background image to contain so it fills its container

* update test snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-07 10:30:55 +00:00
Paul D'Ambra
e6ae1510f5
fix: disappearing body (#20123)
* fix: disappearing body

* Update query snapshots

* Update query snapshots

* ah! synthetic node duplicates don't have duplicate ids

---------

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-07 08:14:28 +00:00
Paul D'Ambra
715deb75ca
fix: keyboard removal mutation (#20121) 2024-02-05 09:49:49 +01:00
Paul D'Ambra
c679836f2a
fix: status and nav (#20049)
* fix: status and nav display

* snapshots
2024-01-30 21:44:37 +00:00
Paul D'Ambra
b707bf09bb
fix: mobile layout woes (#20037)
* reoriganize tree to control stacking context

* Strip new lines from data uri

* fix
2024-01-30 18:43:57 +00:00
Paul D'Ambra
8d7345fc1c
fix: safer style construction (#20031)
* fix: safer style construction for the mobile transformer

* and in th transformer file

* keyboard and navbar z-index

* update test snapshot

* fix

* fix

* fix

* fix
2024-01-30 12:11:29 +00:00
Paul D'Ambra
0fdb1e0fe3
feat: dedupe incremental mutations for mobile replay (#19974)
* start passing context around instead of multiple parameters

* start passing a result and context back from conversions

* even more using the context and the results

* get id sequences under control

* manually run prettier

* add lint staged rules for ee TS code

* remove console logs

* start tracking ids as they are processedD

* Add a new test case and so update _all_ of the ids :/

* don't process the same add or update id more than once

* refactor similar closer together

* move keyboard style override into context

* snapshots

* remove constant

* need to fangle context in case select options ever starts to change it
2024-01-26 16:14:14 +00:00
Paul D'Ambra
fab7fbea9c
feat: background images for mobile replay (#19930)
* feat: background images for mobile replay

* backgorund size
2024-01-23 15:10:44 +00:00
Paul D'Ambra
0ab4d2344a
feat: add a fake status bar (#19913)
* feat: add a fake status bar

* update test snapshots

* switch to accepting status/nav bar elements

* fix

* snapshot tests
2024-01-23 12:57:23 +00:00
Paul D'Ambra
e2890fa112
fix: mobile mutations (#19598)
* first step - don't delete removes you fool

* eccola qua

* fix

* fix
2024-01-04 17:16:40 +00:00
Paul D'Ambra
11a770df8b
fix: makes rrweb ids easier to see (#19596) 2024-01-04 14:02:06 +00:00
Paul D'Ambra
388d88db7c
feat: incremental updates for mobile transformer (#19567)
first pass at adding incremental mutations

created some fake mobile recordings locally and these behaved as expected

this adds:

removals
these can be passed through - they're the same as rrweb
adds
the added wireframes can be converted just like in full snapshots (I think)
updates
these are implemented as removes and then adds
this might not work on recordings with very many mutations but it'll be at least enough for us to get some folk testing it and we should have few enough mutations that it'll be ok
2024-01-03 10:31:12 +00:00
Paul D'Ambra
0c56fbe320
fix: keyboard placeholder mutation (#19483) 2024-01-02 10:25:22 +00:00
Paul D'Ambra
effb98f51e
feat: keyboard placeholder (#19406)
* feat: keyboard placeholder

* fix bottom and width schema/output

* fix
2023-12-19 14:16:37 +00:00
Paul D'Ambra
1a03afd3cb
fix: no default star background (#19387) 2023-12-18 10:41:36 +00:00
Paul D'Ambra
f3dfea248a
fix: wireframe progress style (#19376)
* fix: wireframe progress style

* fix color and styles

* update schema description
2023-12-18 08:42:07 +00:00
Paul D'Ambra
7cd9e14203
fix: no console logging on schema (#19349)
* fix: no console logging of schema validation

* move validation behind a (n unused) boolean check

* Fix
2023-12-15 11:47:52 +00:00
Paul D'Ambra
6255c7fe67
feat: switch toggle label (#19324)
* feat: switch toggle label

* snapshots
2023-12-14 09:50:35 +00:00
Paul D'Ambra
bc4f068f01
fix: base 64 should be optional in the schema (#19314) 2023-12-13 17:25:44 +01:00
Paul D'Ambra
6cb97a612c
feat: proper toggle wireframe (#19279)
* interim

* feat: show a toggle not a checkbox in mobile replay

* fix toggle styling

* fix"
2023-12-13 16:22:55 +00:00
Paul D'Ambra
e163bac6bc
feat: first pass ratings bar for mobile wireframes (#19287) 2023-12-13 09:51:01 +00:00
Paul D'Ambra
25533e20bf
feat: allow local file playback of mobile recordings (#19274)
* feat: allow local file playback of mobile recordings

* fix up progress spinner styles

* Update UI snapshots for `chromium` (1)

* normalise export window id

* Revert "normalise export window id"

This reverts commit c86d7e4c64e7f9a04a41bb8b88c7c2323957d9e1.

* add a comment

* fix

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-12 13:31:20 +00:00
Paul D'Ambra
8c059f3351
feat: web view url label (#19253)
* feat: webview placeholder URL

* default colors for placeholders

* feat: web view url label

* snapshots

* merge

* snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-11 16:00:59 +00:00
Paul D'Ambra
53bb9cf6c1
fix: override spinner styles (#19245)
* fix: override spinner styles

* fix

* snapshots
2023-12-11 15:08:59 +00:00
Paul D'Ambra
9fa663b466
fix: arbitrary div placeholders (#19231)
* fix: arbitrary svg placeholders

* can be way simpler than that

* update snapshots

* fix
2023-12-11 13:13:19 +00:00
Paul D'Ambra
f8a40be067
fix: svg placeholder styling (#19215) 2023-12-08 19:41:28 +00:00
Paul D'Ambra
e545d3cdf2
feat: arbitrary mobile placeholders (#19204)
* feat: arbitrary mobile placeholders

* wat

* fix

* fix

* fix

* fix
2023-12-08 14:34:59 +00:00
Paul D'Ambra
c8b28c3a40
feat: implement progress circle (#19192)
* feat: implement progress circle

* fix
2023-12-08 09:53:21 +00:00
Paul D'Ambra
5e8c11d208
feat: progress component (#19181)
* feat: progress component

* fix

* schema

* bar as a style

* snaps
2023-12-07 18:58:16 +00:00
Paul D'Ambra
9be058022e
feat: toggle component (#19184) 2023-12-07 17:05:24 +00:00
Paul D'Ambra
e97a423b28
fix: first round of input component testing (#19137)
* fix: first round of input component testing

* ensure input is styled when not labelled
2023-12-06 18:58:02 +00:00
Paul D'Ambra
d7d9c6005c
feat: implement the input components (#19121)
* feat: implement the input components

* Split up the test cases for inputs

* better selects|

* Update ee/frontend/mobile-replay/mobile.types.ts

* Clarify in schema

* ignore invalid input type

* Update query snapshots

* check buttons

* Update query snapshots

* labels

* fix

* fix button text

* fix

* fix

* fix

---------

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-06 15:13:54 +00:00
Paul D'Ambra
dcde879a9a
feat: add interaction components to schema (#19040)
* feat: add interaction components to schema

* expand radio

* liek this

* Update query snapshots

* Update query snapshots

* like this

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* Update ee/frontend/mobile-replay/mobile.types.ts

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* collapse unnecessary name

* gen the schema

---------

Co-authored-by: test-python <test-python@pauls-MacBook-Pro-2.local>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
2023-12-05 17:56:23 +00:00
Paul D'Ambra
f0aeefbb38
fix: be more safe checking for presence of styles (#19095)
* fix: be more safe checking for presence of styles

* svg border too

* default x and y to zero

* Fix
2023-12-05 16:36:08 +01:00
Paul D'Ambra
9bc9d55f0f
fix: try fixed positioning (#19091) 2023-12-05 15:02:35 +01:00
Paul D'Ambra
8792a8d71e
fix: fit mobile replay to viewport (#19036)
* fix: fit mobile replay to viewport

* update snapshots
2023-12-04 11:18:31 +00:00
Paul D'Ambra
4df8cb3e66
fix: ensure clicks have an element (#19015)
* fix: ensure clicks have an element

* schema
2023-12-01 12:19:36 +00:00
Paul D'Ambra
7d06729fe6
feat: support font styles (#18984) 2023-11-30 11:54:26 +00:00
Paul D'Ambra
022996dd1a
fix: transformation no breaky (#18967)
* fix: transformation should never break replay

* fix: transformer should never break replay
2023-11-29 18:55:13 +00:00