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-3521] Add option menu to create collection tile (web) #7046

Merged
merged 4 commits into from
Dec 30, 2023

Conversation

amendelsohn
Copy link
Contributor

Description

Screenshot 2023-12-29 at 6 01 02 PM

Includes:

  • Upload Track always takes you to upload with no menu
  • Upload Album/Playlist will give you the option to go to upload flow or just create an empty one that you can start editing

Future work:

  • Mobile coming in separate PR

How Has This Been Tested?

local web

all instances tested and working with the new menu

@amendelsohn amendelsohn requested review from a team and DejayJD and removed request for a team December 30, 2023 02:05
Copy link

vercel bot commented Dec 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
audius-web-ssr ⬜️ Ignored (Inspect) Dec 30, 2023 2:05am

@amendelsohn amendelsohn requested a review from a team December 30, 2023 02:05
@audius-infra
Copy link
Collaborator

Preview this change https://demo.audius.co/am-create-album-tile

Copy link
Contributor

@dylanjeffers dylanjeffers left a comment

Choose a reason for hiding this comment

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

money

@@ -833,7 +833,7 @@ type EmbedCopy = {
// Track Upload
type TrackUploadOpen = {
eventName: Name.TRACK_UPLOAD_OPEN
source: 'nav' | 'profile' | 'signup'
source: 'nav' | 'profile' | 'signup' | 'library'
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

elevation = 'near',
...other
} = props
export const Tile = forwardRef(
Copy link
Contributor

Choose a reason for hiding this comment

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

good stuff

const dispatch = useDispatch()

const handleClickUpload = useCallback(() => {
dispatch(pushRoute(UPLOAD_PAGE))
Copy link
Contributor

Choose a reason for hiding this comment

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

would it be too hard to make this react-router links? on top of that it would be excellent to have links that can take "analytics" objects to call on click, but maybe thats too much for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, yeah that's a good idea. As you mentioned below, maybe a little tough here, but something we should support.

{
text: messages.createCollection,
icon: <IconPlaylists />,
onClick: handleCreateCollection
Copy link
Contributor

Choose a reason for hiding this comment

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

ah seems like it would maybe be hard to make these links. something to shoot for with harmony popup/menu

const accountUser = useSelector(getAccountUser)

const onClickUploadChip = useCallback(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice removal

@@ -250,19 +241,6 @@ const ProfilePage = ({
const renderProfileCompletionCard = () => {
return isOwner ? <ConnectedProfileCompletionHeroCard /> : null
}
const record = useRecord()
Copy link
Contributor

Choose a reason for hiding this comment

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

excellent!

@amendelsohn amendelsohn merged commit 54e51d0 into main Dec 30, 2023
20 of 21 checks passed
@amendelsohn amendelsohn deleted the am-create-album-tile branch December 30, 2023 04:42
audius-infra pushed a commit that referenced this pull request Dec 30, 2023
[54e51d0] [C-3521] Add option menu to create collection tile (web) (#7046) Andrew Mendelsohn
[8300ad0] [C-3550] Upgrade react native to 0.73.1 (#7042) Dylan Jeffers
[116a19a] [SDK] Fix validate ETH address util (#7043) nicoback2
[e6a4565] [C-3533] Fix add track to collection toast (#7044) Andrew Mendelsohn
[8c1e557] Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025) Marcus Pasell
[9700752] Add rate limits for DashboardWalletUser relays (#7041) nicoback2
[95dd48f] [C-3434] Add Divider to native harmony (#7040) Kyle Shanks
[858da9f] [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039) nicoback2
[a2d87ca] [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033) nicoback2
[eec88be] [PROTO-1492] Add sandbox env to comms (#7030) Theo Ilie
[ad3f877] [C-3547] Upgrade eslint, typescript, and prettier (#7036) Dylan Jeffers
[8e65654] Fix release dates and listing status (#7037) Raymond Jacobson
[0729448] Disable scheduled releases job (#7035) Raymond Jacobson
[ddac7e8] [C-3545] Upgrade reanimated and dependents (#7031) Dylan Jeffers
[dea3dfb] Run comms locally via audius-compose (#7028) Marcus Pasell
[14385bf] Disable slack notify if full release when sent to app store (#7032) Raymond Jacobson
[29cf448] [C-3489, C-3516] Sign up QA #3 (#7016) Dylan Jeffers
[2e7f47e] [C-3526] Select artist screen perf (#7018) Dylan Jeffers
[2dcdb5a] [C-3540] tRPC call to get albums for track (#7029) Andrew Mendelsohn
[44b99b6] Re-gen SDK for DashboardWalletUsers APIs (#7027) nicoback2
schottra added a commit that referenced this pull request Jan 2, 2024
* origin/main: (64 commits)
  v1.5.58
  [C-3521] Add option menu to create collection tile (web) (#7046)
  [C-3550] Upgrade react native to 0.73.1 (#7042)
  [SDK] Fix validate ETH address util (#7043)
  [C-3533] Fix add track to collection toast (#7044)
  Reland "Add Solana Support to SDK with sdk.users.sendTip() (#6891)" (#7025)
  Add rate limits for DashboardWalletUser relays (#7041)
  [C-3434] Add Divider to native harmony (#7040)
  [SDK] Export DashboardWalletUsersAPI + types in SDK index file, add missing param (#7039)
  [SDK] Have DashboardWalletUsers extend generated dashboard wallet users API (#7033)
  [PROTO-1492] Add sandbox env to comms (#7030)
  [C-3547] Upgrade eslint, typescript, and prettier (#7036)
  Fix release dates and listing status (#7037)
  Disable scheduled releases job (#7035)
  [C-3545] Upgrade reanimated and dependents (#7031)
  Run comms locally via audius-compose (#7028)
  Disable slack notify if full release when sent to app store (#7032)
  [C-3489, C-3516] Sign up QA #3 (#7016)
  [C-3526] Select artist screen perf (#7018)
  [C-3540] tRPC call to get albums for track (#7029)
  ...
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