-
Notifications
You must be signed in to change notification settings - Fork 288
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
Storefront v2 #667
Storefront v2 #667
Conversation
838d188
to
937fdc6
Compare
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.
There's some commented out code in various files that I'd like to see addressed. Some of them can probably be removed like the commented out imports from the component-library
.
I'm not sure why the tack event stuff is commented out, or if that code will be revisited in the future. I feel like you may address it in a future PR, but I wanted to be sure.
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.
Fantastic work! This makes the storefront much more useful right out of the box. Thank you again for this great effort. Left a couple of comments/questions and some small change requests.
A couple of more issues I fount:
That warning is coming from the component library, we could just create an issue in that repo and resolve it there. Or just don't use the
Error above is due to the tracking code, we could refactor this or just remove it. Overall, great work! Looking forward to merging this. |
Also found the following security vulnerabilities:
Looks like upgrading to the latest version ( |
Yes, will update nextjs, altough Im still waiting for a stable v9.3.5 release and was unsure wether we could just use a canary version - v9.3.5-canary.8 fixed some cpu/memory leaking issue and increases performance for fallback creation a lot. |
That looks like some little oversights, will try to fix both tomorrow. |
We can update to the current latest version of next now, and when the new one come out, it can be updated and it should be a quick new PR. |
Upgraded to 9.3.5 in janus-reith@c06f841 |
Some things are a bit hard to keep track, I made a small list of things left TBD:
Soon but not immediately:
Maybe later:
|
d397d60
to
a318617
Compare
DCO failed again after one of my commits was a revert, and I have no idea why. |
looking at commit 0893b04 I don't see the |
@willopez Thanks, will try again. I might rebase again and this time remove both the original commit and its revert in the process, still I'd like to figure out what's going on. |
346cc74
to
84f3610
Compare
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
…move babel Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
…s breaking in styled-components | Todo: use by custom, better progressive image imlementation Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
b35d2f9
to
e52a2aa
Compare
Signed-off-by: Janus Reith <[email protected]>
e52a2aa
to
73f5126
Compare
Signed-off-by: Janus Reith <[email protected]>
Signed-off-by: Janus Reith <[email protected]>
I just fixed the build of the docker container container for production builds, here are some things to note:
I expect some adjustment to be necesary so your CI will build the generic image with that, but for now the configuration will work out to build the image locally. In general, some of the things regarding env vars tend to be tricky, as nextjs inlines some vars if defined in next.config.js while some others stay dynamic and developers will need to take a close look at |
Signed-off-by: Janus Reith <[email protected]>
I just included I didn't bother about that until now, as usually I would either use the dev image locally, or have the production build running against the api endpoint it would also be used with later, and I don't expect many workflows to actually make use of deviating Maybe @focusaurus could chime in on what to do best with the fragmentation of .env files we have now? There now is |
@janus-reith The production builds are working now, this is a good start. If issues arise, we can iterate on the process. Thanks! |
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.
LGTM. There are known issues/improvements that will be resolved in subsequent PRs, I'll create tickets for those issues/improvements.
@janus-reith Thanks again for this contribution, I have created issues for the known issues that can be resolved in subsequent PRs. |
Resolves #661
Impact: breaking
Type: refactor
Issue
TBD
Refactor to Hooks, Context instead of Mobx, i18n, latest nextjs + MUI and much more.
Solution
TBD
Testing
TBD