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

Mobile instrumentation: eventContext refactor #2015

Merged

Conversation

Robinnnnn
Copy link
Contributor

@Robinnnnn Robinnnnn commented Oct 14, 2023

Summary of Changes

Part of #1998

  • require eventContext in mobile gallery tracking props
  • add tracking to InteractiveLink
  • add tracking props to all relevant components

Misc

  • extract BottomSheetRow into its own component

@vercel
Copy link

vercel bot commented Oct 14, 2023

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

Name Status Preview Comments Updated (UTC)
gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 14, 2023 8:53pm

@Robinnnnn Robinnnnn changed the base branch from main to robin/web-data-instrumentation October 14, 2023 06:52
@github-actions
Copy link

github-actions bot commented Oct 14, 2023

Bundle Sizes

Compared against cc04911

Route Size (gzipped) Diff
/[username] 348.01 KB +1.92 KB
/[username]/[collectionId] 353.81 KB +1.92 KB
/[username]/followers 352.42 KB +1.97 KB
/[username]/galleries 372.55 KB +2.02 KB
/[username]/galleries/[galleryId] 350.8 KB +1.91 KB
/[username]/posts 715.57 KB +2.28 KB
/_app 346.82 KB +1.26 KB
/community/[chain]/[contractAddress] 700.56 KB +1.9 KB
/community/[chain]/[contractAddress]/live 709.88 KB +1.94 KB
/explore 345.92 KB +1.57 KB
/following 685.9 KB +1.85 KB
/home 685.48 KB +1.81 KB
/latest 685.35 KB +1.8 KB
/mobile 316.12 KB +1.55 KB
/post/[postId] 377.38 KB +2.14 KB

Dynamic import: No significant changes found

@Robinnnnn Robinnnnn marked this pull request as ready for review October 14, 2023 20:40
@github-actions github-actions bot added the web label Oct 14, 2023
@Robinnnnn Robinnnnn merged commit 489e444 into robin/web-data-instrumentation Oct 14, 2023
6 checks passed
@Robinnnnn Robinnnnn deleted the robin/mobile-tracking-refactor branch October 14, 2023 20:54
@Robinnnnn Robinnnnn mentioned this pull request Oct 14, 2023
3 tasks
Robinnnnn added a commit that referenced this pull request Oct 16, 2023
* ensure correct mobile beta upsell banner is displayed on ios

* update Button to autotrack

* refactor components, WizardFooter

* refactor global banners

* rest of the owl

* begin adding contexts

* contexts pass

* toss unused components

* track more buttons

* Web instrumentation: Pills (#2002)

* deprecate ButtonPill

* deprecate NonClickablePill

* implement GalleryPill with instrumentation

* refactor pills

* Web instrumentation: Chips (#2004)

* Web instrumentation: Links (#2007)

* deprecate old GalleryLink, replace with InteractiveLink

* improve markdown internal links

* normalizeUrl

* track normalized URLs

* tracking for interactive links

* instrument badges

* deprecate ButtonLink

* refactor token, collection pages

* fix nested anchors in NftDetailText

* instrument LinkableAddress

* migrate DropdownLink

* distinguish internal vs external redirects

* migrate UnstyledLink

* refactor NavLink

* refactor ExplorePopoverList

* migrate ExploreUserCard

* deprecate unnecessary usages of next/link

* InteractiveLink -> GalleryLink

* disable direct imports from next/link

* migrate more components

* migrat NftPreview, GalleryNameDescriptionHeader, LinkToFullPageNftDetailModal

* migrate hover cards

* typecheck / lint pass

* migrate styled.a

* track notification clicks

* more tracking

* stopPropagation on pills, buttons

* GalleryLink instrumentation pass

* remaining links

* Web Instrumentation: Dropdowns (#2014)

* migrate dropdowns

* variant error -> delete

* Mobile instrumentation: eventContext refactor (#2015)

* initial pass

* second pass

* third pass

* InteractiveLink -> GalleryLink

* lints

* instrument Comments

* ts fixes

* Migrate noop functions to import noop (#2016)

* migrate () => {} to noop

* fix test

* fix dropdown bug

* remove merch unread dot

* migrate PostsFeaturePage

* web lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant