-
Notifications
You must be signed in to change notification settings - Fork 89
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/Banner.tsx
Outdated
> | ||
<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
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.
@RyanSantosRibeiro so... where is the fix?
{ | ||
/* <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
streamshop/README.md
Outdated
@@ -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.
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.
Why this file exists? Remove it or use a better filename and description.
streamshop/components/ui/Avatar.tsx
Outdated
|
||
/** | ||
* 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.
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.
Why this file exists? remove it if not used.
streamshop/components/ui/Modal.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.
Where is this file used? Remove it otherwise.
streamshop/components/ui/Drawer.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.
Where is this file used? Remove it otherwise.
streamshop/components/ui/Icon.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.
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.
streamshop/components/ui/Avatar.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.
Where is this file used? Remove it otherwise.
All points resolved, thank you for the review. |
@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? |
streamshop/sections/Banner.tsx
Outdated
> | ||
<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.
@RyanSantosRibeiro so... where is the fix?
This reverts commit 8f1a9e0.
7d2498f
to
5cec7d0
Compare
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/