Skip to content

Fix discovery comment notifications#10119

Merged
dylanjeffers merged 2 commits intomainfrom
fix-discovery-test
Oct 18, 2024
Merged

Fix discovery comment notifications#10119
dylanjeffers merged 2 commits intomainfrom
fix-discovery-test

Conversation

@dylanjeffers
Copy link
Contributor

@dylanjeffers dylanjeffers commented Oct 18, 2024

Description

Fixes various elements related to comment notifications:

  1. Updates "comment" notification types to use "comment_user_id"
  2. Updates "comment_thread" generation to use the correct types
  3. Fixes user-mentions on replies. There are still plenty of outstanding issues with mentions.
  4. Fixes key errors on web
  5. First step in a fix for mobile "show-more"/"show-less"

@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2024

⚠️ No Changeset found

Latest commit: 521c09f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@audius-infra
Copy link
Collaborator

Preview this change https://demo.audius.co/fix-discovery-test

@dylanjeffers dylanjeffers changed the title Fix discovery test Fix discovery comment notifications Oct 18, 2024
@dylanjeffers dylanjeffers merged commit 528102b into main Oct 18, 2024
@dylanjeffers dylanjeffers deleted the fix-discovery-test branch October 18, 2024 14:46
"type": fields.String(required=True, enum=["Track", "Playlist", "Album"]),
"user_id": fields.String(required=True),
"entity_id": fields.String(required=True),
"comment_user_id": fields.String(required=True),
Copy link
Contributor

Choose a reason for hiding this comment

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

Not familiar enough with the feature so this may be a silly question: Is there existing data that won't have this field?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah that is a good point, which would mean old notifications coming down would need some compatibility layer... dang nice find

<ComposerText color='default'>{t}</ComposerText>
return splitText.map((t, index) => (
<ComposerText key={`${t}-${index}`} color='default'>
{t}
Copy link
Contributor

Choose a reason for hiding this comment

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

lol I know you didn't write this but single letter variables are weirdly triggering for me

Copy link
Contributor Author

Choose a reason for hiding this comment

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

100%

audius-infra pushed a commit that referenced this pull request Oct 18, 2024
[528102b] Fix discovery comment notifications (#10119) Dylan Jeffers
[52166e8] [C-5183, C-5190] Refactor comment notifications (#10092) Dylan Jeffers
[40cdc8f] Fix get new blasts endpoint sql error (#10109) Reed
[761524e] Various comment reply fixes (muting/reporting) (#10096) JD Francis
[e488758] [C-5203] Fix comment unpin (#10102) Dylan Jeffers
[178f051] Update UDR to match specification (#10098) Raymond Jacobson
schottra added a commit that referenced this pull request Oct 18, 2024
…_tips

* origin/main:
  [PAY-3531] Add geo-location to download logging (#10118)
  [QA-1737] Center user links in collection and user cards (#10122)
  [C-5197] Fix native comment show more/less collapse (#10121)
  [C-5212] Open comment drawer from empty state (#10117)
  Audius Protocol v0.7.15
  Fix discovery comment notifications (#10119)
  [PAY-3522] Hides keyboard when opening purchase drawer from a DM (#10116)
  [C-5183, C-5190] Refactor comment notifications (#10092)
  Re-land changes to fix RN on xcode 16 (#10108)
  [QA-1773] Fix corner overflow on GiantTrackTile (#10110)
  [C-5209] Missing $ on downloads button (#10111)
audius-infra pushed a commit that referenced this pull request Oct 19, 2024
[6240380] Fix comment notification data (#10123) Dylan Jeffers
[8c9b00b] [QA-1737] Center user links in collection and user cards (#10122) Dylan Jeffers
[109abfa] [C-5197] Fix native comment show more/less collapse (#10121) Dylan Jeffers
[c971230] [C-5212] Open comment drawer from empty state (#10117) Sebastian Klingler
[528102b] Fix discovery comment notifications (#10119) Dylan Jeffers
[9fe6c66] [PAY-3522] Hides keyboard when opening purchase drawer from a DM (#10116) Randy Schott
[69e73dd] Re-land changes to fix RN on xcode 16 (#10108) Randy Schott
[906dc0b] [QA-1773] Fix corner overflow on GiantTrackTile (#10110) Andrew Mendelsohn
[7f97ca2] [C-5209] Missing $ on downloads button (#10111) Andrew Mendelsohn
[b3e1982] Drop Android InputAccessoryView (#10107) Dylan Jeffers
[9bd3d6c] [C-5189] Fix mobile web skeletons (#10106) JD Francis
[ee775d1] Fix mobile cursor position (#10104) Dylan Jeffers
[761524e] Various comment reply fixes (muting/reporting) (#10096) JD Francis
[98e7bd5] Add CommentDrawerContext to manage drawer state with navigation (#10103) Sebastian Klingler
[e488758] [C-5203] Fix comment unpin (#10102) Dylan Jeffers
[e8cdd08] Update mobile versions to 119 (#10101) Dylan Jeffers
[966246f] [C-5137] Set android cursor position when replying/editing (#10091) Sebastian Klingler
[127070e] Revert "Update DN to use shortened rewards challenge IDs and specifiers (#9803)" (#10099) Marcus Pasell
[a921f74] [C-5112] Dismiss keyboard when pressing in comment drawer (#10093) Sebastian Klingler
[d65ce1f] Improve mobile composer input render perf (#10095) Raymond Jacobson
[2b0c76c] [PAY-3525] Fix text overflow (#10072) Farid Salau
[ddd3f94] Fix chat header too long on mobile (#10089) Reed
[42553e6] [PAY-3507] Skeleton for profile dms button (#10090) Andrew Mendelsohn
[abf3634] Update DN to use shortened rewards challenge IDs and specifiers (#9803) Marcus Pasell
[4b293d8] [C-5193] Add cancel button to comment replies and edits (#10080) Kyle Shanks
[c5fd316] [C-5191] Add background color to comment cancel accessory view (#10078) Kyle Shanks
[2f3b7ab] [PAY-3456] Fix chat last message sometimes wrong (#10084) Reed
[0ac87a0] [PAY-3519] Fix mobile ChatBlastSubHeader opacity (#10079) Reed
[9f3804b] Fix android animated icons (#10085) Dylan Jeffers
[c0eca98] [PAY-3526] Hide scroll on message inbox (#10083) Farid Salau
[f580ff7] [PAY-3509] Show InboxUnavailableModal instead of disabled button (#10081) Andrew Mendelsohn
[3ae1af1] [PAY-3521] Fix offset calculation for Blast CTA (#10076) Andrew Mendelsohn
[814fa37] Highlight user mentions when editing comments on web (#10077) Kyle Shanks
[3144eac] [PAY-3424] Restrict imports from SDK 'dist' folder in client code (#10043) Randy Schott
[8aa7242] [PAY-3523] Fix bug where share to DM persists in input (#10070) Raymond Jacobson
[9812ee2] Update dapp-store build artifacts audius-infra
[bfd21d8] Fix mobile lint (#10071) Raymond Jacobson
[55c22f4] [PAY-3466] Improve composer input responsiveness on mobile (#10066) Raymond Jacobson
[3c0ce0f] [QA-1762] Fix desktop app support on MacOS Sequoia (#10059) Raymond Jacobson
[af09710] [C-5167] Improve mobile comments perf (#10067) Sebastian Klingler
[29e9b01] [C-5178] Show newlines in comments (#10065) Isaac Solo
[61e8734] Fix comment unauthed state (#10061) JD Francis
[d355040] Fix lint (#10064) Andrew Mendelsohn
[7023824] [PAY-3520] Fix error on blast analytics (#10063) Andrew Mendelsohn
[4588410] [C-5166] [C-5108] [C-5156] Address comment QA issues (#10047) Sebastian Klingler
[7494a1a] [PAY-3437] Add names to chats sentry reports (#10049) Reed
[856d223] [PAY-3347] Analytics for create chat blast funnel (#10053) Andrew Mendelsohn
[6401b5c] [PAY-3483] Update 'ChatListBlastItem' UI on smaller screens (#10057) Farid Salau
[058e233] [C-5172] Fix comments timezone (#10052) Isaac Solo
[7ce770c] [C-5155] Add cancel accessory to mobile ComposerInput for comments (#10058) Kyle Shanks
[f992ddb] [C-5173] Fix sort by top comments out of date (#10055) JD Francis
[bf6b4a8] [C-5184] Add border to Harmony PopoverMenu (#10050) Kyle Shanks
[c1a5488] [C-5161 C-5151] Improve desktop track page responsiveness (#10040) Dylan Jeffers
[5de96ce] [C-5141] Generate comment id in onMutate (#10031) Dylan Jeffers
[db3f11a] [⚠️] Separate SDK and legacy libs (#9972) Raymond Jacobson
[e01490c] Fix withdrawals not showing coinflow modal (#10051) Marcus Pasell
[1cce513] Remove follows you badge from comment settings (#10024) Isaac Solo
[cb76182] [C-5165] Update comment notifications to open the comment drawer (#10039) Dylan Jeffers
[7e7acc9] [QA-1761] Fix mobile profile page username spacing (#10038) Dylan Jeffers
[59a1d97] [C-5040] Enable animated mobile icons (#10037) Dylan Jeffers
[4d09265] [C-5164] Add max height to mobile ComposerInput (#10044) Kyle Shanks
[7d7008c] [C-5153] Update ComposerInput to not render the display layer unless there is highlighted text (#10042) Kyle Shanks
[e72e207] Upgrade mobile version to 1.1.118 (#10035) Dylan Jeffers
schottra added a commit that referenced this pull request Oct 21, 2024
* origin/main: (312 commits)
  Drop chromatic (#10128)
  Audius Client (Web and Mobile) v1.5.104
  core 1s block times (#10127)
  Fix comment notification data (#10123)
  chat_allowed UDF uses user_tips instead of aggregate table. (#10120)
  [PAY-3531] Add geo-location to download logging (#10118)
  [QA-1737] Center user links in collection and user cards (#10122)
  [C-5197] Fix native comment show more/less collapse (#10121)
  [C-5212] Open comment drawer from empty state (#10117)
  Audius Protocol v0.7.15
  Fix discovery comment notifications (#10119)
  [PAY-3522] Hides keyboard when opening purchase drawer from a DM (#10116)
  [C-5183, C-5190] Refactor comment notifications (#10092)
  Re-land changes to fix RN on xcode 16 (#10108)
  [QA-1773] Fix corner overflow on GiantTrackTile (#10110)
  [C-5209] Missing $ on downloads button (#10111)
  Drop Android InputAccessoryView (#10107)
  Fix get new blasts endpoint sql error (#10109)
  [C-5189] Fix mobile web skeletons (#10106)
  [C-5201] Fix comments not showing as pinned (#10105)
  ...
samgutentag pushed a commit that referenced this pull request Nov 1, 2024
[528102b] Fix discovery comment notifications (#10119) Dylan Jeffers
[52166e8] [C-5183, C-5190] Refactor comment notifications (#10092) Dylan Jeffers
[40cdc8f] Fix get new blasts endpoint sql error (#10109) Reed
[761524e] Various comment reply fixes (muting/reporting) (#10096) JD Francis
[e488758] [C-5203] Fix comment unpin (#10102) Dylan Jeffers
[178f051] Update UDR to match specification (#10098) Raymond Jacobson
samgutentag pushed a commit that referenced this pull request Nov 1, 2024
[6240380] Fix comment notification data (#10123) Dylan Jeffers
[8c9b00b] [QA-1737] Center user links in collection and user cards (#10122) Dylan Jeffers
[109abfa] [C-5197] Fix native comment show more/less collapse (#10121) Dylan Jeffers
[c971230] [C-5212] Open comment drawer from empty state (#10117) Sebastian Klingler
[528102b] Fix discovery comment notifications (#10119) Dylan Jeffers
[9fe6c66] [PAY-3522] Hides keyboard when opening purchase drawer from a DM (#10116) Randy Schott
[69e73dd] Re-land changes to fix RN on xcode 16 (#10108) Randy Schott
[906dc0b] [QA-1773] Fix corner overflow on GiantTrackTile (#10110) Andrew Mendelsohn
[7f97ca2] [C-5209] Missing $ on downloads button (#10111) Andrew Mendelsohn
[b3e1982] Drop Android InputAccessoryView (#10107) Dylan Jeffers
[9bd3d6c] [C-5189] Fix mobile web skeletons (#10106) JD Francis
[ee775d1] Fix mobile cursor position (#10104) Dylan Jeffers
[761524e] Various comment reply fixes (muting/reporting) (#10096) JD Francis
[98e7bd5] Add CommentDrawerContext to manage drawer state with navigation (#10103) Sebastian Klingler
[e488758] [C-5203] Fix comment unpin (#10102) Dylan Jeffers
[e8cdd08] Update mobile versions to 119 (#10101) Dylan Jeffers
[966246f] [C-5137] Set android cursor position when replying/editing (#10091) Sebastian Klingler
[127070e] Revert "Update DN to use shortened rewards challenge IDs and specifiers (#9803)" (#10099) Marcus Pasell
[a921f74] [C-5112] Dismiss keyboard when pressing in comment drawer (#10093) Sebastian Klingler
[d65ce1f] Improve mobile composer input render perf (#10095) Raymond Jacobson
[2b0c76c] [PAY-3525] Fix text overflow (#10072) Farid Salau
[ddd3f94] Fix chat header too long on mobile (#10089) Reed
[42553e6] [PAY-3507] Skeleton for profile dms button (#10090) Andrew Mendelsohn
[abf3634] Update DN to use shortened rewards challenge IDs and specifiers (#9803) Marcus Pasell
[4b293d8] [C-5193] Add cancel button to comment replies and edits (#10080) Kyle Shanks
[c5fd316] [C-5191] Add background color to comment cancel accessory view (#10078) Kyle Shanks
[2f3b7ab] [PAY-3456] Fix chat last message sometimes wrong (#10084) Reed
[0ac87a0] [PAY-3519] Fix mobile ChatBlastSubHeader opacity (#10079) Reed
[9f3804b] Fix android animated icons (#10085) Dylan Jeffers
[c0eca98] [PAY-3526] Hide scroll on message inbox (#10083) Farid Salau
[f580ff7] [PAY-3509] Show InboxUnavailableModal instead of disabled button (#10081) Andrew Mendelsohn
[3ae1af1] [PAY-3521] Fix offset calculation for Blast CTA (#10076) Andrew Mendelsohn
[814fa37] Highlight user mentions when editing comments on web (#10077) Kyle Shanks
[3144eac] [PAY-3424] Restrict imports from SDK 'dist' folder in client code (#10043) Randy Schott
[8aa7242] [PAY-3523] Fix bug where share to DM persists in input (#10070) Raymond Jacobson
[9812ee2] Update dapp-store build artifacts audius-infra
[bfd21d8] Fix mobile lint (#10071) Raymond Jacobson
[55c22f4] [PAY-3466] Improve composer input responsiveness on mobile (#10066) Raymond Jacobson
[3c0ce0f] [QA-1762] Fix desktop app support on MacOS Sequoia (#10059) Raymond Jacobson
[af09710] [C-5167] Improve mobile comments perf (#10067) Sebastian Klingler
[29e9b01] [C-5178] Show newlines in comments (#10065) Isaac Solo
[61e8734] Fix comment unauthed state (#10061) JD Francis
[d355040] Fix lint (#10064) Andrew Mendelsohn
[7023824] [PAY-3520] Fix error on blast analytics (#10063) Andrew Mendelsohn
[4588410] [C-5166] [C-5108] [C-5156] Address comment QA issues (#10047) Sebastian Klingler
[7494a1a] [PAY-3437] Add names to chats sentry reports (#10049) Reed
[856d223] [PAY-3347] Analytics for create chat blast funnel (#10053) Andrew Mendelsohn
[6401b5c] [PAY-3483] Update 'ChatListBlastItem' UI on smaller screens (#10057) Farid Salau
[058e233] [C-5172] Fix comments timezone (#10052) Isaac Solo
[7ce770c] [C-5155] Add cancel accessory to mobile ComposerInput for comments (#10058) Kyle Shanks
[f992ddb] [C-5173] Fix sort by top comments out of date (#10055) JD Francis
[bf6b4a8] [C-5184] Add border to Harmony PopoverMenu (#10050) Kyle Shanks
[c1a5488] [C-5161 C-5151] Improve desktop track page responsiveness (#10040) Dylan Jeffers
[5de96ce] [C-5141] Generate comment id in onMutate (#10031) Dylan Jeffers
[db3f11a] [⚠️] Separate SDK and legacy libs (#9972) Raymond Jacobson
[e01490c] Fix withdrawals not showing coinflow modal (#10051) Marcus Pasell
[1cce513] Remove follows you badge from comment settings (#10024) Isaac Solo
[cb76182] [C-5165] Update comment notifications to open the comment drawer (#10039) Dylan Jeffers
[7e7acc9] [QA-1761] Fix mobile profile page username spacing (#10038) Dylan Jeffers
[59a1d97] [C-5040] Enable animated mobile icons (#10037) Dylan Jeffers
[4d09265] [C-5164] Add max height to mobile ComposerInput (#10044) Kyle Shanks
[7d7008c] [C-5153] Update ComposerInput to not render the display layer unless there is highlighted text (#10042) Kyle Shanks
[e72e207] Upgrade mobile version to 1.1.118 (#10035) Dylan Jeffers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants