Skip to content
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: comments frontend #19303

Merged
merged 248 commits into from
Dec 15, 2023
Merged

feat: comments frontend #19303

merged 248 commits into from
Dec 15, 2023

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Dec 13, 2023

Problem

Frontend follow-on from #19272

Changes

  • Add types and api methods
  • Use marks for inline text comments
  • Use right hand sidebar for composition
  • Add option to create comment from the inline menu

TODO

  • Maybe pull out comments into a "Discussion" panel
  • Correctly load comments for the page you are looking at
  • Fix Comments -> activity log (doesn't seem to create a log entry
  • Markdown support (or mini tiptap editor)
  • Reverse chronological pagination of comments
  • Threading / replies
  • Correct generic discussion - currently its only URL based
  • Load just the comment count when viewing a page for speedy checking
  • Add feature flag

How did you test this code?

WIP

posthog-bot and others added 20 commits December 12, 2023 06:22
* Don't show keyboard shortcuts on mobile

* Fix overflow handling in some places for mobile

* Reduce scope of keyboard shortcut mobile check
* Add tests to diagnose the issue

* Add THE test

* Implement the fix

* Update query snapshots

* Update query snapshots

* Ignore mypy's ignorance

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* 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>
…default q… (#19283)

Quick fix for ensuring future events dont show in team apps default query
* temp

* add format

* remove unnecessary

* remove unused ignore

* temp test
* add feature flag for inviting team member step, implement step

* undo launch json changes

* fix feature flag check

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* spice up the onboarding copy

* extract invite modal logic into common component

* move hogs / update language

---------

Co-authored-by: Bianca Yang <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <[email protected]>
…19298)

fix the invite team member step in onboarding

Co-authored-by: Bianca Yang <[email protected]>
* swaped down carets for chevrons

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben White <[email protected]>
Co-authored-by: Michael Matloka <[email protected]>
* add widget to surveys UI

* add widget to survey appearance

* add beta tag and flag

* fix template titles

* Update UI snapshots for `chromium` (2)

* migration for type

* migration file

* move widget customization into customization panel

* fix migration conflict

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
…19293)

* remove haerbeating and resume logic for now

* dont flatten metadata

* reduce number of retries

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
@benjackwhite benjackwhite changed the base branch from master to feat/comments-2 December 13, 2023 09:39
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

pauldambra and others added 14 commits December 15, 2023 11:47
* fix: no console logging of schema validation

* move validation behind a (n unused) boolean check

* Fix
…twork events (#19353)

Found some major perf improvements when parsing large numbers of network events
* feat: ingest with snapshot source

* add replay events ingester tests

* fix test data insertion

* add test

* Update query snapshots

* fix test

* fix test

* fix test

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
# Conflicts:
#	frontend/__snapshots__/scenes-app-experiments--running-trend-experiment.png
#	frontend/__snapshots__/scenes-app-insights--trends-area-breakdown--webkit.png
#	frontend/__snapshots__/scenes-app-insights--trends-area-edit--webkit.png
#	frontend/__snapshots__/scenes-app-insights--trends-line-multi-edit--webkit.png
#	latest_migrations.manifest
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

  • chromium: 0 added, 0 modified, 0 deleted
  • webkit: 0 added, 3 modified, 0 deleted (diff for shard 2)

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@benjackwhite benjackwhite marked this pull request as ready for review December 15, 2023 15:09
@benjackwhite benjackwhite merged commit fd22eab into feat/comments-2 Dec 15, 2023
47 of 53 checks passed
@benjackwhite benjackwhite deleted the feat/comments-frontend branch December 15, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.