-
Notifications
You must be signed in to change notification settings - Fork 85
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
base: main
Are you sure you want to change the base?
StreamShop App #953
Conversation
Tagging OptionsShould a new tag be published when this PR is merged?
|
There was a problem hiding this 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
streamshop/sections/Stories.tsx
Outdated
interface Props extends SectionHeaderProps { | ||
/** | ||
* @title Slug Videos | ||
* @description Slug separados por vírgula - dBXLVDZM,B9hKEmHZ,... | ||
*/ | ||
slugs: string; | ||
} |
There was a problem hiding this comment.
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
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[]; | |
} |
streamshop/sections/Stories.tsx
Outdated
slugs = | ||
"lnSWxBFj,E5hUMpXl,o8GbO1r7,g31wys57,4J8mqGAD,Q41wyj80,NJ6WxSZp,lCx1dr89,ZI2NBKS7,ximkLtuV,AG6Fhvn0,YLohX8FM,lUwLnDpx,5ur2WIIU,PdfbAvpP", |
There was a problem hiding this comment.
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
slugs = | |
"lnSWxBFj,E5hUMpXl,o8GbO1r7,g31wys57,4J8mqGAD,Q41wyj80,NJ6WxSZp,lCx1dr89,ZI2NBKS7,ximkLtuV,AG6Fhvn0,YLohX8FM,lUwLnDpx,5ur2WIIU,PdfbAvpP", | |
slugs = [] |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to slug to string[]
> | ||
<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')" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
streamshop/sections/Embed.tsx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slug: string[]
{ | ||
/* <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> */ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | |
/* <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> */ | |
} |
src={storeSlug | ||
? `https://lite.streamshop.com.br/${storeSlug}` | ||
: "https://lite.streamshop.com.br/streamshopdemo"} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok!
streamshop/actions/myAction.ts
Outdated
There was a problem hiding this comment.
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/loaders/myLoader.ts
Outdated
There was a problem hiding this comment.
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/utils/client.ts
Outdated
There was a problem hiding this comment.
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/utils/types.ts
Outdated
There was a problem hiding this comment.
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
* @title Stream shop app | ||
* @description Integration of streamshop services. | ||
* @category Tools | ||
* @logo https:// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you could add the logo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added !!
@@ -0,0 +1 @@ | |||
# Stream Shop Readme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please improve README description.
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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/