[C-1114] Prevent track restart#1957
Conversation
dylanjeffers
left a comment
There was a problem hiding this comment.
Do we only use the track owner for creator-node-endpoint? Maybe we can just select the specific things we need to avoid a rerender when that user is updated some way in the app?
| const repeatMode = useSelector(getRepeat) | ||
| const isShuffleOn = useSelector(getShuffle) | ||
| const shuffleIndex = useSelector(getShuffleIndex) | ||
| const trackOwner = useSelector( |
There was a problem hiding this comment.
Yeah a bit confusing there. And so useproxyselector also doesn't do anything? What does this mean... that the users cache is updating when going to a user that has reposted the track your playing? Or going to the user of the playing track?
There was a problem hiding this comment.
Yeah the users cache is updating when going to the artist who posted the track. We are using it for the gateway and the name that displays on the music control. But let me try selecting those things specifically to avoid this
There was a problem hiding this comment.
going to merge this in for now, and then we can figure out why profile's gateways are changing
There was a problem hiding this comment.
Cool, it has to do with the collectibles fetch. We are getting diffent metadata back from that call and updating the user in cache. Might have it figured out by Monday!
[2d44919] Fix now-playing navigation (#1992) Dylan Jeffers [d7065e6] Update react-native-screens patchfile (#1991) Dylan Jeffers [7348257] [C-1172] Add screen freeze (#1990) Dylan Jeffers [d4c9f17] Fix TopSupporters, TrackScreen caching (#1989) Dylan Jeffers [38a4f59] Prevent track restart by adding selector equality for track owner (#1957) Sebastian Klingler [c2eb69e] [C-482] Fix android navigation bar clipping (#1988) Dylan Jeffers [0da8377] [PLAT-98] Add feature flag for auto sub (#1979) Raymond Jacobson [7ce5b87] [C-1151] Fix empty profile tab (#1984) Dylan Jeffers [4aff4ee] [C-1048] Reset scrubber on song repeat (#1985) Dylan Jeffers [c48df76] [C-1160,C-1161] Fix search navigation (#1980) Dylan Jeffers [a2a6b4b] Fix mobile favorites c-831 (#1981) nicoback2 [5dce1d4] Update stage mobile env to goerli (#1987) Raymond Jacobson [bd5aadb] Fix mac build (#1986) Raymond Jacobson [eba0787] fix tag search more results (#1983) nicoback2 [39b66f4] Remove trimtoalphanumeric (#1982) Raymond Jacobson [69f9c6f] keep relevant search results in store (#1973) nicoback2 [c76faaa] fix playlist link in tile overflow menu (#1976) nicoback2 [93903ca] Update staging to use goerli addresses (#1978) Isaac Solo [f369627] [C-1152] Improve favorites tab performance (#1975) Dylan Jeffers [b24dbe4] Fix playlist challenge optimistic update (#1974) Michael Piazza [d31daf7] Set limit when getting bulk tracks by id because default is 100 (#1970) Sebastian Klingler [d602cca] Update new table styles for qa issues (#1969) Kyle Shanks [62097aa] Disable account sync to test app failure (#1972) Dylan Jeffers [a40953d] [C-1137] Add debounce to change in NetworkInfo status (#1967) Andrew Mendelsohn [7c765af] [C-976] Fix native artist recommendations (#1971) Dylan Jeffers [a48eed5] [C-1004] Fix sign-up -> sign-in email bug (#1968) Dylan Jeffers [8f9ed13] [C-1090] Improve profile store layout (#1963) Dylan Jeffers [b1003b8] [C-978] Check for track repeat before advancing shuffle (#1965) Andrew Mendelsohn [d5aa252] Update new table styles for table action buttons (#1964) Kyle Shanks [074f0bd] Prevent toasts from appearing when overflow menu is clicked (#1962) Sebastian Klingler [a333649] Remove filter skeletone from new tables (#1961) Kyle Shanks [5291b03] c-1127 Fix more search results track lineup (#1959) nicoback2 [722819b] Upgrade CI xcode and provide dSyms (#1960) Raymond Jacobson [36ca926] Add track entity manager feature flag (#1743) Joseph Lee [d2a5065] fix search result -> track screen bug (#1955) nicoback2 [5f0d280] [PAY-634] On Ramp Design Fixes (Part 1) (#1949) Marcus Pasell [926469d] Fix new table styling (#1958) Kyle Shanks [7236aa4] Update favorites page table columns, update reorderable table title and artist cursor, and display tooltips for table headers (#1956) Kyle Shanks [e410fed] Implement small UI tweaks (#1952) Raymond Jacobson [6f92aad] Apply accessbility patch for ios16 and xcode14 (#1951) Raymond Jacobson [ced5749] Fix native profile render (#1945) Dylan Jeffers [e6a3d87] Fix hover state for the new tables (#1953) Kyle Shanks [6746e80] [PAY-428] Wrap link text in notifications (#1948) Reed [f54f07e] Fix feed filter native c-1115 (#1947) nicoback2 [09a7e96] Upload sourcemaps for prod and release-candidate (#1946) Sebastian Klingler [9cd2b89] [PAY-565] TokenValueInputV2 Component (#1869) Marcus Pasell [2242786] Use artwork from track for MusicControl (#1943) Sebastian Klingler [ed84022] [C-1067] Add feature flag for offline mode (#1941) Andrew Mendelsohn [87f1082] send amplitude event when app crahses (#1942) nicoback2 [dc5c393] Disable gesture on AddToPlaylist drawer (#1944) Sebastian Klingler
Description
This ended up being straightforward but I'm still not sure why the user reference equality breaks
Audioto redux hookstrackOwneruseSelectorDragons
Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.
How will this change be monitored?
For features that are critical or could fail silently please describe the monitoring/alerting being added.
Feature Flags
Are all new features properly feature flagged? Describe added feature flags.