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

Implement application bootstrap component #4815

Merged
merged 19 commits into from
Feb 20, 2023

Conversation

eniolam1000752
Copy link
Contributor

@eniolam1000752 eniolam1000752 commented Feb 15, 2023

What was the problem?

This PR resolves #4707 and #4708

How was it solved?

  • Implement application bootstrap wrapper
  • update order of query hook call (i.e app meta data first then applications on-chain data)
  • update unit tests

How was it tested?

  • Jest
  • Visually

@ManuGowda ManuGowda changed the title implement application bootstrap component Implement application bootstrap component Feb 15, 2023
@eniolam1000752 eniolam1000752 marked this pull request as ready for review February 16, 2023 22:04
@eniolam1000752 eniolam1000752 removed the request for review from ikem-legend February 16, 2023 22:20
@@ -27,6 +27,7 @@ const config = {
new webpack.DefinePlugin({
Copy link
Contributor

@oskarleonard oskarleonard Feb 17, 2023

Choose a reason for hiding this comment

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

Comment not related to this file

Question: This seems to be unrelated to hardware wallet? Shouldnt we merge this into development?

Copy link
Contributor

Choose a reason for hiding this comment

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

@eniola its wrong env you can have .env file in your pc for test propose check this out
https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used

@@ -27,6 +27,7 @@ const config = {
new webpack.DefinePlugin({
PRODUCTION: JSON.stringify(false),
VERSION: JSON.stringify(version),
DEFAULT_NETWORK: 'devnet',
Copy link
Contributor

Choose a reason for hiding this comment

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

no iots wront its should be in .env
and need a prefix of REACT_APP like the REACT_APP_MSW you can find in config file
REACT_APP_ DEFAULT_NETWORK

}, [isFetched]);

if (error) {
// @TODO: this return should be replaced with an actual error message page
Copy link
Contributor

Choose a reason for hiding this comment

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

create a ticket if is not exist and add ticket number to todo

src/modules/blockchainApplication/manage/store/reducer.js Outdated Show resolved Hide resolved
src/modules/blockchainApplication/manage/store/reducer.js Outdated Show resolved Hide resolved
soroushm
soroushm previously approved these changes Feb 20, 2023
@@ -27,6 +27,7 @@ const config = {
new webpack.DefinePlugin({
Copy link
Contributor

Choose a reason for hiding this comment

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

@eniola its wrong env you can have .env file in your pc for test propose check this out
https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used

oskarleonard
oskarleonard previously approved these changes Feb 20, 2023
@eniolam1000752 eniolam1000752 merged commit fabb498 into feature/adapt-hw Feb 20, 2023
@eniolam1000752 eniolam1000752 deleted the 4707-application-bootstrap branch February 20, 2023 15:45
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