Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

saleor 1563 nextjs integration #955

Closed

Conversation

piotrgrundas
Copy link
Contributor

@piotrgrundas piotrgrundas commented Nov 22, 2020

I want to merge this change because...

Screenshots

Pull Request Checklist

  1. All visible strings are translated with proper context.
  2. All data-formatting is locale-aware (dates, numbers, and so on).
  3. The changes are tested.
  4. The code is documented (docstrings, project documentation).
  5. Changes are mentioned in the changelog.

Test Environment Config

API_URI=https://master.staging.saleor.rocks/graphql/

@lgtm-com
Copy link

lgtm-com bot commented Nov 22, 2020

This pull request introduces 6 alerts when merging 7dd3f40 into d493e1b - view on LGTM.com

new alerts:

  • 6 for Unused variable, import, function or class

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from e2e9ae9 to 270f658 Compare November 23, 2020 21:54
@lgtm-com
Copy link

lgtm-com bot commented Nov 23, 2020

This pull request introduces 9 alerts when merging 270f658 into d493e1b - view on LGTM.com

new alerts:

  • 8 for Unused variable, import, function or class
  • 1 for Assignment to constant

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 270f658 to 8764d94 Compare November 23, 2020 23:01
@lgtm-com
Copy link

lgtm-com bot commented Nov 23, 2020

This pull request introduces 8 alerts when merging 8764d94 into d493e1b - view on LGTM.com

new alerts:

  • 8 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Nov 25, 2020

This pull request introduces 4 alerts when merging 44c0c66 into d493e1b - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class
  • 1 for Unreachable statement
  • 1 for Useless conditional

@lgtm-com
Copy link

lgtm-com bot commented Nov 25, 2020

This pull request introduces 3 alerts when merging b3698c5 into d493e1b - view on LGTM.com

new alerts:

  • 2 for Useless conditional
  • 1 for Unused variable, import, function or class

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from b3698c5 to 84a744d Compare November 26, 2020 20:36
… into feature/SALEOR-1563-nextjs-integration
@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 84a744d to cbe3952 Compare November 26, 2020 20:37
@lgtm-com
Copy link

lgtm-com bot commented Nov 26, 2020

This pull request introduces 2 alerts when merging cbe3952 into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@lgtm-com
Copy link

lgtm-com bot commented Nov 26, 2020

This pull request introduces 2 alerts when merging 3e8a4ab into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from d976544 to 727d55f Compare November 26, 2020 22:57
@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 727d55f to e011af5 Compare November 26, 2020 22:57
@lgtm-com
Copy link

lgtm-com bot commented Nov 26, 2020

This pull request introduces 2 alerts when merging e011af5 into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@piotrgrundas piotrgrundas changed the title Feature/saleor 1563 nextjs integration saleor 1563 nextjs integration Nov 29, 2020
@lgtm-com
Copy link

lgtm-com bot commented Nov 29, 2020

This pull request introduces 2 alerts when merging 6555314 into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 6555314 to b7d73b1 Compare November 29, 2020 13:51
@lgtm-com
Copy link

lgtm-com bot commented Nov 29, 2020

This pull request introduces 2 alerts when merging b7d73b1 into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 450c8b5 to a71c7ac Compare December 1, 2020 22:11
@lgtm-com
Copy link

lgtm-com bot commented Dec 1, 2020

This pull request introduces 2 alerts when merging a71c7ac into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from a71c7ac to 77b2858 Compare December 1, 2020 22:21
@lgtm-com
Copy link

lgtm-com bot commented Dec 1, 2020

This pull request introduces 2 alerts when merging 77b2858 into 5aaa9f7 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

… into feature/SALEOR-1563-nextjs-integration
@lgtm-com
Copy link

lgtm-com bot commented Dec 2, 2020

This pull request introduces 2 alerts when merging 59b1fa1 into 1abbf68 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@lgtm-com
Copy link

lgtm-com bot commented Dec 2, 2020

This pull request introduces 2 alerts when merging d1914eb into 1abbf68 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2020

This pull request introduces 3 alerts when merging 2cb4c67 into 1abbf68 - view on LGTM.com

new alerts:

  • 2 for Useless conditional
  • 1 for Unused variable, import, function or class

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch 3 times, most recently from 17f7247 to e255680 Compare December 3, 2020 21:30
* /\?(.+&)?no-cache=1$/,
* ],
* Or NetworkOnly might have the same effect.
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll get back to this after some SSR work to validate it so I want to leave it for now.

: paths.accountOrderDetail,
query: { token: order.node.token },
}}
key={order.node.number}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed it coz of typo and added ^ Link.

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2020

This pull request introduces 2 alerts when merging e255680 into 1abbf68 - view on LGTM.com

new alerts:

  • 2 for Useless conditional

if (target) {
setPortalTarget(target);
}
}, [target]);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed coz of SSR build.

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch 2 times, most recently from 15486f8 to 824c868 Compare December 3, 2020 21:46
}
});
return history;
})() as History;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Temporary hack so checkout could work on react router.

@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2020

This pull request introduces 1 alert when merging 824c868 into 1abbf68 - view on LGTM.com

new alerts:

  • 1 for Useless conditional

},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Next modifies tsconfig on the first run 🤷‍♂️

@piotrgrundas piotrgrundas force-pushed the feature/SALEOR-1563-nextjs-integration branch from 824c868 to fe71869 Compare December 3, 2020 22:11
@lgtm-com
Copy link

lgtm-com bot commented Dec 3, 2020

This pull request introduces 1 alert when merging fe71869 into 1abbf68 - view on LGTM.com

new alerts:

  • 1 for Useless conditional

@piotrgrundas piotrgrundas deleted the feature/SALEOR-1563-nextjs-integration branch December 3, 2020 22:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant