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

Remove sign in and sign out features - Closes #4317, #4463 #4324

Merged
merged 27 commits into from
Sep 6, 2022

Conversation

isalga
Copy link
Contributor

@isalga isalga commented May 24, 2022

What was the problem?

This PR resolves #4317

How was it solved?

  • Remove sign in
  • Remove sign out
  • Remove logic for auto logout
  • Remove unit tests related to sign in and sign out
  • Adopt unit test and e2e test

How was it tested?

@soroushm
Copy link
Contributor

@isalga please don't merge the pr when is done

@isalga isalga requested review from ikem-legend and soroushm May 31, 2022 10:55
@isalga isalga marked this pull request as ready for review May 31, 2022 10:56
src/modules/auth/components/Signin/login.js Outdated Show resolved Hide resolved
src/modules/auth/store/action.js Outdated Show resolved Hide resolved
src/modules/legacy/store/middleware.js Show resolved Hide resolved
src/modules/common/components/bars/topBar/index.js Outdated Show resolved Hide resolved
ikem-legend
ikem-legend previously approved these changes May 31, 2022
reyraa
reyraa previously approved these changes Jun 1, 2022
Copy link
Contributor

@reyraa reyraa left a comment

Choose a reason for hiding this comment

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

Good job @isalga!

@ikem-legend ikem-legend self-requested a review June 1, 2022 14:25
ikem-legend
ikem-legend previously approved these changes Jun 1, 2022
@ManuGowda
Copy link
Contributor

This pull request can not be merged unless the change API objective is completed to support the way login to account to be able to create transaction or access endpoints. All of the SDK v5 features are closely integrated, so we intend to keep this PR until v6 API integration is completed.

@ManuGowda ManuGowda changed the base branch from feature/blockchain-agnostic-new to development July 4, 2022 07:56
@ManuGowda ManuGowda dismissed stale reviews from ikem-legend and reyraa July 4, 2022 07:56

The base branch was changed.

@soroushm soroushm assigned soroushm and unassigned isalga Jul 6, 2022
@soroushm soroushm changed the base branch from development to feature/4034-change-sdk-api August 15, 2022 07:37
@soroushm soroushm force-pushed the 4317-remove-sign-in-out branch from c886ea1 to 565954e Compare August 17, 2022 13:40
Copy link
Contributor

@eniolam1000752 eniolam1000752 left a comment

Choose a reason for hiding this comment

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

I think most of the e2e tests whose pages are on private routes(i.e depended on login) might fail.

Because most these tests uses the /^I login as ([^\s]+) on ([^\s]+)$/ test scenario to login as either of the network types (i.e mainnet, testnet or devnet)

@@ -20,10 +19,10 @@ describe('Reducer: settings(state, action)', () => {
it('should return updated settings if action.type = actionTypes.settingsUpdated', () => {
const action = {
type: actionTypes.settingsUpdated,
data: { autoLog: false },
data: { testSetting: false },
Copy link
Contributor

Choose a reason for hiding this comment

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

the naming convention here seems confusing possibly the term useTestSetting would be okay I think

Copy link
Contributor

Choose a reason for hiding this comment

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

@eniolam1000752 we dont need this settings anymore could you please remove it

@soroushm soroushm changed the title Remove sign in and sign out features - Closes #4317 Remove sign in and sign out features - Closes #4317, #4463 Sep 5, 2022
@soroushm soroushm force-pushed the 4317-remove-sign-in-out branch from 4d530f0 to 122cb47 Compare September 6, 2022 08:28
Copy link
Contributor

@eniolam1000752 eniolam1000752 left a comment

Choose a reason for hiding this comment

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

LGTM

@soroushm soroushm merged commit 1a23bee into feature/4034-change-sdk-api Sep 6, 2022
@soroushm soroushm deleted the 4317-remove-sign-in-out branch September 6, 2022 08:44
@soroushm soroushm removed the request for review from ikem-legend September 6, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Remove sign in and sign out features
6 participants