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

StreamShop App #953

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

RyanSantosRibeiro
Copy link
Contributor

What is this Contribution About?

A new app to integration streamshop services.

https://vimeo.com/1022990110/a00bec4ebf?share=copy

Demonstration Link

https://sites-streamshop--staging.decocdn.com/

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.63.1 update
  • 🎉 for Minor 0.64.0 update
  • 🚀 for Major 1.0.0 update

Copy link
Contributor

@IncognitaDev IncognitaDev left a comment

Choose a reason for hiding this comment

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

I suggest some changes of things that i see in the video

Comment on lines 10 to 11
interface Props extends SectionHeaderProps {
/**
* @title Slug Videos
* @description Slug separados por vírgula - dBXLVDZM,B9hKEmHZ,...
*/
slugs: string;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a string[] its a better UX aproach

Suggested change
interface Props extends SectionHeaderProps {
/**
* @title Slug Videos
* @description Slug separados por vírgula - dBXLVDZM,B9hKEmHZ,...
*/
slugs: string;
}
interface Props extends SectionHeaderProps {
/**
* @title Slug Videos
*/
slugs: string[];
}

Comment on lines 24 to 25
slugs =
"lnSWxBFj,E5hUMpXl,o8GbO1r7,g31wys57,4J8mqGAD,Q41wyj80,NJ6WxSZp,lCx1dr89,ZI2NBKS7,ximkLtuV,AG6Fhvn0,YLohX8FM,lUwLnDpx,5ur2WIIU,PdfbAvpP",
Copy link
Contributor

Choose a reason for hiding this comment

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

This slugs are sample slugs of the app that works in any app account? If its not maybe this should be removed

Suggested change
slugs =
"lnSWxBFj,E5hUMpXl,o8GbO1r7,g31wys57,4J8mqGAD,Q41wyj80,NJ6WxSZp,lCx1dr89,ZI2NBKS7,ximkLtuV,AG6Fhvn0,YLohX8FM,lUwLnDpx,5ur2WIIU,PdfbAvpP",
slugs = []

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, these are example slugs.

@IncognitaDev IncognitaDev self-requested a review November 14, 2024 15:04
Copy link
Contributor

@IncognitaDev IncognitaDev left a comment

Choose a reason for hiding this comment

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

I make some new changes request, feel free to discuss in any request.

streamshop/sections/Carousel.tsx Show resolved Hide resolved
>
<div
class="relative bg-base-200 mx-5 sm:mx-0"
hx-on:click="openStreamShopLive('https://live.hml.streamshop.com.br/trident/loja?v=WSkU9DFr')"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this string really be hard-coded? Is nothing changing between stores?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it was an error

Copy link
Contributor

Choose a reason for hiding this comment

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

@RyanSantosRibeiro so... where is the fix?

streamshop/sections/Embed.tsx Show resolved Hide resolved
Comment on lines 52 to 62
{
/* <div
style={{
display: "inline-block",
height: "auto",
cursor: "pointer",
overflow: "hidden",
borderRadius: "0px"
}}
hx-on:click="openStreamShopLive('https://live.hml.streamshop.com.br/trident/loja?v=WSkU9DFr')">AQUI</div> */
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{
/* <div
style={{
display: "inline-block",
height: "auto",
cursor: "pointer",
overflow: "hidden",
borderRadius: "0px"
}}
hx-on:click="openStreamShopLive('https://live.hml.streamshop.com.br/trident/loja?v=WSkU9DFr')">AQUI</div> */
}

Comment on lines +74 to +61
src={storeSlug
? `https://lite.streamshop.com.br/${storeSlug}`
: "https://lite.streamshop.com.br/streamshopdemo"}
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe only change storeSlug to has 'streamshopdemo' as default value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok!

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this file is a app template demo file, you should delete it

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this file is a app template demo file, you should delete it

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this file is a app template demo file, you should delete it

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this file is a app template demo file, you should delete it

streamshop/mod.ts Outdated Show resolved Hide resolved
@IncognitaDev IncognitaDev changed the title first commit StreamShop App Nov 18, 2024
@@ -0,0 +1 @@
# Stream Shop Readme
Copy link
Contributor

Choose a reason for hiding this comment

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

Please improve README description.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why this file exists? Remove it or use a better filename and description.


/**
* This component renders the filter and selectors for skus.
* TODO: Figure out a better name for this component.
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO

Copy link
Contributor

Choose a reason for hiding this comment

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

This seems like a unnecessary lint change. please revert.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why this file exists? remove it if not used.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this file used? Remove it otherwise.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this file used? Remove it otherwise.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this file used? Remove it otherwise.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this file used? Remove it otherwise.

Copy link
Contributor

Choose a reason for hiding this comment

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

Where is this file used? Remove it otherwise.

@RyanSantosRibeiro
Copy link
Contributor Author

All points resolved, thank you for the review.
@matheusgr @IncognitaDev

@matheusgr
Copy link
Contributor

@RyanSantosRibeiro Thank you for your hard work here!

I am still seeing some unsolved request for changes, specially the mistaken streamshop address.

Are you still working on this PR? Can you reply such comments so we now if there is still pending things to do?

>
<div
class="relative bg-base-200 mx-5 sm:mx-0"
hx-on:click="openStreamShopLive('https://live.hml.streamshop.com.br/trident/loja?v=WSkU9DFr')"
Copy link
Contributor

Choose a reason for hiding this comment

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

@RyanSantosRibeiro so... where is the fix?

@matheusgr matheusgr force-pushed the feat/streamshop-integration branch from 7d2498f to 5cec7d0 Compare December 17, 2024 14:49
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.

3 participants