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

feat: add shop button to collect on the secondary marketplace #318

Merged
merged 6 commits into from
Nov 12, 2022

Conversation

ahomentc
Copy link
Contributor

Add "Shop Collects" button to Lenstube (like the one on Lenster).

What does this PR do?
Shop button will allow users to find a video's collects on the secondary marketplace. If a video is sold out of collects, users might want to buy one from secondary. This makes it easy for them to find those collects they want to buy.

Instead of browsing on LensPort for videos to collect they can also browse on Lenstube now.

image

Type of change
New feature (non-breaking change which adds functionality)
Enhancement (non-breaking small changes to existing functionality)

@vercel
Copy link

vercel bot commented Nov 12, 2022

@ahomentc is attempting to deploy a commit to the Lenstube Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Nov 12, 2022

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

Name Status Preview Updated
lenstube ✅ Ready (Inspect) Visit Preview Nov 12, 2022 at 7:49AM (UTC)

@vercel vercel bot temporarily deployed to Preview November 12, 2022 06:32 Inactive
src/components/Watch/CollectVideo/index.tsx Outdated Show resolved Hide resolved
src/components/Watch/CollectVideo/index.tsx Outdated Show resolved Hide resolved
Copy link
Member

@sasicodes sasicodes left a comment

Choose a reason for hiding this comment

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

Yugi Thumb

@vercel vercel bot temporarily deployed to Preview November 12, 2022 07:49 Inactive
@sasicodes
Copy link
Member

Thanks for the contribution! @ahomentc @gitpoap-bot

@gitpoap-bot
Copy link

gitpoap-bot bot commented Nov 12, 2022

Congrats, @ahomentc ! You've earned a GitPOAP for your contribution!

GitPOAP: 2022 Lenstube Contributor:

GitPOAP: 2022 Lenstube Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@sasicodes sasicodes merged commit e8219ee into tapexyz:main Nov 12, 2022
@gitpoap-bot
Copy link

gitpoap-bot bot commented Nov 12, 2022

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2022 Lenstube Contributor:

GitPOAP: 2022 Lenstube Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

sasicodes pushed a commit that referenced this pull request Nov 12, 2022
* Added shop collects button

* Added shop collects button

* Added LensPort marketplace link. Hides shop button when no collects. Reformatting pubId to be cleaner

* Update index.tsx

Remove extra comma
sasicodes pushed a commit that referenced this pull request Nov 13, 2022
* Added shop collects button

* Added shop collects button

* Added LensPort marketplace link. Hides shop button when no collects. Reformatting pubId to be cleaner

* Update index.tsx

Remove extra comma
sasicodes added a commit that referenced this pull request Nov 14, 2022
* chore: filters

* remove library

* fix: icons

* chore: add search icon

* update sidebar

* chore: collapsible sidebar

* fix: CLS

* chore: update theme color

* chore: add theme toggle

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* fix: fee collect decimal issue

* fix: deepsource excludes

* Replace short hand type conversions with function calls (#319)

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update request limit

* chore: add width animation

* chore: notification page

* chore: video icons

* chore: update verified icon

* chore: replace black with theme

* fix: borders

* chore: change user menu icons

* chore: init bytes section

* chore: shallow route

* refactor: readme

* chore: bytes scroll button

* chore: add icons on usermenu

* chore: single byte fetch

* chore: global state for tag filter

* chore: add consistent type import

* chore: cleanup

* feat: rip doc-gen plugin and add cursorpagination

* chore: replacing queries w/ hooks

* chore: replace apollo hooks

* feat: global tag filter

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* feat: add shop button to collect on the secondary marketplace (#318)

* Update index.tsx

Remove extra comma

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update byte action icons

* chore: replace more icons

* chore: increase text size

* fix: dark theme background

* fix: layout padding

* chore: remove outline

* fix: channel videos

* fix: cache issue and tag scroll

* fix: duplicate imports

* chore: add scroll event

* chore: remove state on bytes

* chore: cleanup

* chore: remove unused helpers

* chore: remove unwanted logs
@sasicodes sasicodes mentioned this pull request Nov 14, 2022
8 tasks
sasicodes added a commit that referenced this pull request Nov 16, 2022
* Update Codegen and UI + icons (#320)

* chore: filters

* remove library

* fix: icons

* chore: add search icon

* update sidebar

* chore: collapsible sidebar

* fix: CLS

* chore: update theme color

* chore: add theme toggle

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* fix: fee collect decimal issue

* fix: deepsource excludes

* Replace short hand type conversions with function calls (#319)

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update request limit

* chore: add width animation

* chore: notification page

* chore: video icons

* chore: update verified icon

* chore: replace black with theme

* fix: borders

* chore: change user menu icons

* chore: init bytes section

* chore: shallow route

* refactor: readme

* chore: bytes scroll button

* chore: add icons on usermenu

* chore: single byte fetch

* chore: global state for tag filter

* chore: add consistent type import

* chore: cleanup

* feat: rip doc-gen plugin and add cursorpagination

* chore: replacing queries w/ hooks

* chore: replace apollo hooks

* feat: global tag filter

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* feat: add shop button to collect on the secondary marketplace (#318)

* Update index.tsx

Remove extra comma

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update byte action icons

* chore: replace more icons

* chore: increase text size

* fix: dark theme background

* fix: layout padding

* chore: remove outline

* fix: channel videos

* fix: cache issue and tag scroll

* fix: duplicate imports

* chore: add scroll event

* chore: remove state on bytes

* chore: cleanup

* chore: remove unused helpers

* chore: remove unwanted logs

* chore: remove wheel event

* chore: update api origin

* fix: user menu

* fix: settings border radius

* fix: permission loader

* fix: permission loader

* chore: order categories

* chore: increase fetch limit

* exp: ssr (#341)

* chore: add log

* fix:  parser

* remove ssr
sasicodes added a commit that referenced this pull request Nov 18, 2022
* Update Codegen and UI + icons (#320)

* chore: filters

* remove library

* fix: icons

* chore: add search icon

* update sidebar

* chore: collapsible sidebar

* fix: CLS

* chore: update theme color

* chore: add theme toggle

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* fix: fee collect decimal issue

* fix: deepsource excludes

* Replace short hand type conversions with function calls (#319)

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update request limit

* chore: add width animation

* chore: notification page

* chore: video icons

* chore: update verified icon

* chore: replace black with theme

* fix: borders

* chore: change user menu icons

* chore: init bytes section

* chore: shallow route

* refactor: readme

* chore: bytes scroll button

* chore: add icons on usermenu

* chore: single byte fetch

* chore: global state for tag filter

* chore: add consistent type import

* chore: cleanup

* feat: rip doc-gen plugin and add cursorpagination

* chore: replacing queries w/ hooks

* chore: replace apollo hooks

* feat: global tag filter

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* feat: add shop button to collect on the secondary marketplace (#318)

* Update index.tsx

Remove extra comma

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update byte action icons

* chore: replace more icons

* chore: increase text size

* fix: dark theme background

* fix: layout padding

* chore: remove outline

* fix: channel videos

* fix: cache issue and tag scroll

* fix: duplicate imports

* chore: add scroll event

* chore: remove state on bytes

* chore: cleanup

* chore: remove unused helpers

* chore: remove unwanted logs

* chore: remove wheel event

* chore: update api origin

* fix: user menu

* fix: settings border radius

* fix: permission loader

* fix: permission loader

* chore: order categories

* chore: increase fetch limit

* exp: ssr (#341)

* chore: add log

* fix:  parser

* remove ssr
sasicodes added a commit that referenced this pull request Nov 18, 2022
* Update Codegen and UI + icons (#320)

* chore: filters

* remove library

* fix: icons

* chore: add search icon

* update sidebar

* chore: collapsible sidebar

* fix: CLS

* chore: update theme color

* chore: add theme toggle

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* fix: fee collect decimal issue

* fix: deepsource excludes

* Replace short hand type conversions with function calls (#319)

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update request limit

* chore: add width animation

* chore: notification page

* chore: video icons

* chore: update verified icon

* chore: replace black with theme

* fix: borders

* chore: change user menu icons

* chore: init bytes section

* chore: shallow route

* refactor: readme

* chore: bytes scroll button

* chore: add icons on usermenu

* chore: single byte fetch

* chore: global state for tag filter

* chore: add consistent type import

* chore: cleanup

* feat: rip doc-gen plugin and add cursorpagination

* chore: replacing queries w/ hooks

* chore: replace apollo hooks

* feat: global tag filter

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* feat: add shop button to collect on the secondary marketplace (#318)

* Update index.tsx

Remove extra comma

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update byte action icons

* chore: replace more icons

* chore: increase text size

* fix: dark theme background

* fix: layout padding

* chore: remove outline

* fix: channel videos

* fix: cache issue and tag scroll

* fix: duplicate imports

* chore: add scroll event

* chore: remove state on bytes

* chore: cleanup

* chore: remove unused helpers

* chore: remove unwanted logs

* chore: remove wheel event

* chore: update api origin

* fix: user menu

* fix: settings border radius

* fix: permission loader

* fix: permission loader

* chore: order categories

* chore: increase fetch limit

* exp: ssr (#341)

* chore: add log

* fix:  parser

* remove ssr
sasicodes added a commit that referenced this pull request Nov 21, 2022
* Sync branches (#376)

* Update Codegen and UI + icons (#320)

* chore: filters

* remove library

* fix: icons

* chore: add search icon

* update sidebar

* chore: collapsible sidebar

* fix: CLS

* chore: update theme color

* chore: add theme toggle

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* fix: fee collect decimal issue

* fix: deepsource excludes

* Replace short hand type conversions with function calls (#319)

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update request limit

* chore: add width animation

* chore: notification page

* chore: video icons

* chore: update verified icon

* chore: replace black with theme

* fix: borders

* chore: change user menu icons

* chore: init bytes section

* chore: shallow route

* refactor: readme

* chore: bytes scroll button

* chore: add icons on usermenu

* chore: single byte fetch

* chore: global state for tag filter

* chore: add consistent type import

* chore: cleanup

* feat: rip doc-gen plugin and add cursorpagination

* chore: replacing queries w/ hooks

* chore: replace apollo hooks

* feat: global tag filter

* chore: move scroll margin to constants (#317)

* chore: move scroll margin to constants

* increase percent

* feat: add shop button to collect on the secondary marketplace (#318)

* Update index.tsx

Remove extra comma

* fix: overflow on shop collects

* chore: cleanup shop collects

* chore: update byte action icons

* chore: replace more icons

* chore: increase text size

* fix: dark theme background

* fix: layout padding

* chore: remove outline

* fix: channel videos

* fix: cache issue and tag scroll

* fix: duplicate imports

* chore: add scroll event

* chore: remove state on bytes

* chore: cleanup

* chore: remove unused helpers

* chore: remove unwanted logs

* chore: remove wheel event

* chore: update api origin

* fix: user menu

* fix: settings border radius

* fix: permission loader

* fix: permission loader

* chore: order categories

* chore: increase fetch limit

* exp: ssr (#341)

* chore: add log

* fix:  parser

* remove ssr

* chore: add overlay shade for visibility

* feat: eslint package (#377)

* feat: abstract eslint as package

* fix: lint

* Format code with prettier

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* chore(deps): bump next from 13.0.3 to 13.0.4 in /apps/embed (#372)

Bumps [next](https://github.com/vercel/next.js) from 13.0.3 to 13.0.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.0.3...v13.0.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* feat: tsconfig (#378)

* feat: tsconfig

* chore: cleanup

* chore: cleanup

* fix: lint

* fix: path aliases

* chore: remove readme and gitignore

* chore: remove versions

* chore: remove bundle analyzer

* chore: update readme

* chore(deps): bump @aws-sdk/lib-storage in /apps/web (#361)

Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.212.0 to 3.213.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.213.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* chore(deps): bump next from 13.0.3 to 13.0.4 in /apps/web (#357)

Bumps [next](https://github.com/vercel/next.js) from 13.0.3 to 13.0.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.0.3...v13.0.4)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* chore(deps): bump @aws-sdk/client-sts in /apps/web (#360)

Bumps [@aws-sdk/client-sts](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sts) from 3.212.0 to 3.213.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sts/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.213.0/clients/client-sts)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sts"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* chore(deps-dev): bump eslint-config-next from 13.0.3 to 13.0.4 (#353)

Bumps [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next) from 13.0.3 to 13.0.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.0.4/packages/eslint-config-next)

---
updated-dependencies:
- dependency-name: eslint-config-next
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* feat: shared lens package (#379)

* Format code with prettier (#380)

This commit fixes the style issues introduced in 3164266 according to the output
from prettier.

Details: https://deepsource.io/gh/lenstube-xyz/lenstube/transform/4b26bae2-5c2e-4b0f-a0eb-a907edfab520/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* feat: remove queries from apps (#381)

* chore: remove queries from embed app

* chore: remove local types file in web app

* chore: add badge (#382)

* chore: add badge

* add git ignore

* add url

* remove gitignore

* chore: cleanup badge

* chore: update badge

* chore: cleanup

* chore: update yarn.lock

* chore: update readme

* chore: update readme

* chore: update readme

* chore: update readme

* fix: light mode issues

* chore: watch user balance

* chore: increase upload limit

* chore: add more categories

* feat: shared utils, hooks and helpers (#384)

* feat: shared utils, hooks and helpers

* chore: remove logger

* remove types

* chore: remove track

* update package.json

* Format code with prettier (#383)

This commit fixes the style issues introduced in 58b81bd according to the output
from prettier.

Details: https://deepsource.io/gh/lenstube-xyz/lenstube/transform/48af2b10-5377-4cdc-9d90-83dfc977ed1f/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: sasi.eth <me@sasi.codes>

* chore(deps): bump ethers from 5.6.0 to 5.7.2 in /apps/web (#386)

Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.6.0 to 5.7.2.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.7.2/packages/ethers)

---
updated-dependencies:
- dependency-name: ethers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Revert "chore(deps): bump ethers from 5.6.0 to 5.7.2 in /apps/web (#386)" (#387)

This reverts commit d1b1a8a.

* chore(deps): bump wagmi from 0.7.15 to 0.8.5 in /apps/web (#385)

* chore(deps): bump wagmi from 0.7.15 to 0.8.5 in /apps/web

Bumps [wagmi](https://github.com/wagmi-dev/wagmi/tree/HEAD/packages/react) from 0.7.15 to 0.8.5.
- [Release notes](https://github.com/wagmi-dev/wagmi/releases)
- [Changelog](https://github.com/wagmi-dev/wagmi/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/wagmi-dev/wagmi/commits/wagmi@0.8.5/packages/react)

---
updated-dependencies:
- dependency-name: wagmi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: wagmi hooks

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sasi <me@sasi.codes>

* feat: profile interests (#388)

* feat:  profile interests

* chore: update icons

* chore: update more icons

* chore: update more icons

* chore: validate auth state

* chore: verify few

* chore: add toasts

* chore: add events

* chore: update dependabot

* chore: cleanup

* chore: remove ts-ignore

* fix:typo

* fix: eol

* Format code with prettier

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants