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

[C-5767] Migrate related-artists to tan-query #2 #11303

Merged
merged 9 commits into from
Feb 12, 2025

Conversation

dylanjeffers
Copy link
Contributor

Description

Reapplies related-artist code, fixing backend change

Copy link

changeset-bot bot commented Feb 7, 2025

⚠️ No Changeset found

Latest commit: cdef8f0

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

Copy link

gitguardian bot commented Feb 9, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
11648678 Triggered Generic High Entropy Secret c231efe dev-tools/environment/audiusd-4.env View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@dylanjeffers dylanjeffers changed the title [C-5601] Migrate related-artists to tan-query #2 [C-5767] Migrate related-artists to tan-query #2 Feb 11, 2025
Copy link
Contributor

@amendelsohn amendelsohn left a comment

Choose a reason for hiding this comment

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

Ship it!

required=False,
type=inputs.boolean,
default=False,
description="If true, filters out artists that the current user already follows",
Copy link
Contributor

Choose a reason for hiding this comment

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

yay!

const useStyles = makeStyles(({ spacing, palette }) => ({
root: {
flex: 1
flex: 1,
height: height - 220
Copy link
Contributor

Choose a reason for hiding this comment

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

what's 220?

useEffect(() => {
if (!isEmpty(suggestedArtists)) {
setIdsToFollow(suggestedArtists.map((user) => user.user_id).slice(0, 5))
if (suggestedArtists && !isEmpty(suggestedArtists)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

does isEmpty not check truthiness? :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it's so typescript is happy when i unconditionally .map suggestedArtists

@dylanjeffers dylanjeffers merged commit 48ba8aa into main Feb 12, 2025
12 checks passed
@dylanjeffers dylanjeffers deleted the reapply-related-artists branch February 12, 2025 19:27
audius-infra pushed a commit that referenced this pull request Feb 13, 2025
[3932be3] entity manager through core on dev (#11359) alecsavvy
[e8eb855] fix lint (#11362) alecsavvy
[42944f4] Fix plays indexing starvation (#11361) Isaac Solo
[9fa5f75] Revert "filter chain health on these nodes" (#11358) alecsavvy
[e85347a] [C-5763 C-5603] Migrate profile collections to tan-query (#11285) Dylan Jeffers
[48ba8aa] [C-5767] Migrate related-artists to tan-query #2 (#11303) Dylan Jeffers
schottra added a commit that referenced this pull request Feb 13, 2025
* origin/main: (21 commits)
  Test listen streak challenge 2 listens in 1 day (#11373)
  Listen streak challenge fix 2 plays in one day (#11372)
  Randomize storage node ordering in StorageNodeSelector. (#11371)
  Disable endless listen streak challenge, delete rows (#11369)
  Fix user-link overflow (#11370)
  MRVR country fixes (#11118)
  [C-5270 C-5269 C-5268 C-5629] Comment layout improvements (#11360)
  🪦 poa ganache (#11367)
  Fix playlist invalid sort test (#11368)
  core block diff health check (#11365)
  Audius Protocol v0.7.90
  Hide endless challenge audio (#11364)
  [C-5769] Use batch fetching to normalize core entity hooks (#11355)
  entity manager through core on dev (#11359)
  fix lint (#11362)
  Fix plays indexing starvation (#11361)
  Revert "filter chain health on these nodes" (#11358)
  Tag audiusd with protocol releases to allow reverts (#11347)
  [C-5763 C-5603] Migrate profile collections to tan-query (#11285)
  [C-5767] Migrate related-artists to tan-query #2 (#11303)
  ...
audius-infra pushed a commit that referenced this pull request Feb 15, 2025
[341ca35] Fix infinite query return args (#11384) Dylan Jeffers
[82c97e4] [C-5766] Paginate profile collections (#11375) Dylan Jeffers
[5f61f37] [C-5771 QA-1983] Fix harmony white and static white (#11383) Dylan Jeffers
[4cbd971] [C-1984] Improve left-nav buttons with IconButton improvements (#11382) Dylan Jeffers
[4066498] [C-5782, C-5783] Add user comments endpoint and tan query hook (#11366) Kyle Shanks
[96cfea5] [C-5768] New fetch single entity pattern (#11318) Andrew Mendelsohn
[1056ad1] [PAY-3882] Update client collectibles handling (#11312) Randy Schott
[e718ce9] [C5778] Update web profile page layout (#11374) Randy Schott
[b68d0c1] Fix user-link overflow (#11370) Dylan Jeffers
[3d33536] [C-5270 C-5269 C-5268 C-5629] Comment layout improvements (#11360) Dylan Jeffers
[77fdd02] Hide endless challenge audio (#11364) Dylan Jeffers
[bfab8f0] [C-5769] Use batch fetching to normalize core entity hooks (#11355) Andrew Mendelsohn
[e85347a] [C-5763 C-5603] Migrate profile collections to tan-query (#11285) Dylan Jeffers
[48ba8aa] [C-5767] Migrate related-artists to tan-query #2 (#11303) Dylan Jeffers
[0c7e2e7] Format number commas in reward notifs (#11356) Reed
[b73cf1f] [PAY-3941] Claim all rewards tile respects optimistic challenges (#11352) Reed
[e9e19d9] Filter out listen streak endless notifications (#11353) Reed
[514ce3f] Don't show oneshot expiry if ineligible (#11351) Reed
[7147843] Ineligible oneshot instead of incomplete on mobile (#11350) Reed
[d053519] Format number commas for all reward amounts (#11349) Reed
[dcca08b] Feature flag on claim all button (#11345) Isaac Solo
[f6aef59] [QA-1909] Fix playlist menu min-width (#11344) Dylan Jeffers
[ac02b23] [QA-1772] Fix windows app frame (#11340) Dylan Jeffers
[6ca3797] [QA-1768] Improve now playing drawer close arrow (#11339) Dylan Jeffers
[1b1f4a8] Update dapp-store build artifacts audius-infra
[2fec196] [QA-1891] Fix track tile icon clipping and zero state (#11338) Dylan Jeffers
[a35337a] Airdrop pt one migration (#11335) Isaac Solo
[3d5c629] [QA-1959] Hide referred tile with new challenge name (#11336) Reed
[dab4766] Fix reward claim error gap too large (#11337) Reed
[7a7c962] Fix harmony and web lint (#11332) Dylan Jeffers
[ce10a10] Bump android version to 468 (#11331) Dylan Jeffers
[42374fe] Fix explore page featured content (#11321) Dylan Jeffers
[97aa11b] Sign out from oauth should not go to trending (#11327) Isaac Solo
[d11f31c] Update airdrop copy and add X icon (#11306) Isaac Solo
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.

2 participants