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

feature: add feature flag guard for new account select component #268

Conversation

jackson-dean
Copy link
Contributor

Adds a guard for the new sub account features that makes it "opt in."
The reason we do this is because there are breaking changes that
external developers will need to do some migration work in order to
use it.

We will have a follow up PR in the default frontend (https://node.deso.org),
that gives a clear example of how to change the code in order to use
the new sub account features. Note that this is only applicable for apps
using the legacy iframe API. Anyone using the new desojs lib will simply
pick up the new features automatically.

@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from d69d940 to 2274015 Compare September 20, 2023 19:55
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 3bcfc06 to 2dd6da4 Compare September 20, 2023 19:55
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 2274015 to 07f9ab4 Compare September 20, 2023 20:09
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 2dd6da4 to ef3f623 Compare September 20, 2023 20:10
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 07f9ab4 to 535e4b7 Compare September 20, 2023 20:11
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from ef3f623 to 3fb5d28 Compare September 20, 2023 20:11
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 535e4b7 to 4e78cc4 Compare September 20, 2023 21:12
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 3fb5d28 to 9348f4a Compare September 20, 2023 21:12
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 4e78cc4 to 7f99816 Compare September 20, 2023 22:16
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 9348f4a to f7b8093 Compare September 20, 2023 22:16
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 7f99816 to 2196170 Compare September 21, 2023 05:10
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from f7b8093 to 4258114 Compare September 21, 2023 05:10
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 2196170 to 90286f5 Compare September 21, 2023 18:58
Base automatically changed from 09-20-chore_update_copy_per_Ed_s_request to 09-20-feature_new_component_for_sub_account_UI September 21, 2023 18:58
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 4258114 to 604cdc3 Compare September 21, 2023 18:58
@jackson-dean jackson-dean force-pushed the 09-20-feature_new_component_for_sub_account_UI branch from 90286f5 to b9294b4 Compare September 21, 2023 19:37
@jackson-dean jackson-dean changed the base branch from 09-20-feature_new_component_for_sub_account_UI to 09-20-chore_update_copy_per_Ed_s_request September 21, 2023 19:43
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 604cdc3 to 052cf58 Compare September 21, 2023 19:43
@jackson-dean jackson-dean force-pushed the 09-20-chore_update_copy_per_Ed_s_request branch from 0367955 to 7038dbc Compare September 21, 2023 23:34
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from 052cf58 to c72c600 Compare September 21, 2023 23:34
Base automatically changed from 09-20-chore_update_copy_per_Ed_s_request to 09-20-feature_new_component_for_sub_account_UI September 22, 2023 04:40
@jackson-dean jackson-dean force-pushed the 09-20-feature_new_component_for_sub_account_UI branch 2 times, most recently from ca676f9 to ba80637 Compare September 22, 2023 05:44
@jackson-dean jackson-dean force-pushed the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch from c72c600 to 30de30f Compare September 22, 2023 05:45
This was referenced Sep 22, 2023
* feature: backup seed component

* feature: add balance to account selector UI (#270)

* feature: add balance to account selector UI

* migrate swal to mat dialog (#273)

* migrate swal to mat dialog

* update button styles (#277)

* update button styles

* review feedback and bug fixes (#279)
@jackson-dean jackson-dean merged commit b51b772 into 09-20-feature_new_component_for_sub_account_UI Sep 25, 2023
1 check passed
@jackson-dean jackson-dean deleted the 09-20-feature_add_feature_flag_guard_for_new_account_select_component branch September 25, 2023 14:27
jackson-dean added a commit that referenced this pull request Sep 25, 2023
* feature: new component for sub account UI

* feature: add feature flag guard for new account select component (#268)

* feature: add feature flag guard for new account select component

* feature: backup seed component (#269)

* feature: backup seed component

* feature: add balance to account selector UI (#270)

* feature: add balance to account selector UI

* migrate swal to mat dialog (#273)

* migrate swal to mat dialog

* update button styles (#277)

* update button styles

* review feedback and bug fixes (#279)
jackson-dean added a commit that referenced this pull request Sep 25, 2023
* feature: new component for sub account UI

* feature: add feature flag guard for new account select component (#268)

* feature: add feature flag guard for new account select component

* feature: backup seed component (#269)

* feature: backup seed component

* feature: add balance to account selector UI (#270)

* feature: add balance to account selector UI

* migrate swal to mat dialog (#273)

* migrate swal to mat dialog

* update button styles (#277)

* update button styles

* review feedback and bug fixes (#279)
jackson-dean added a commit that referenced this pull request Sep 25, 2023
* feature: new component for sub account UI

* feature: add feature flag guard for new account select component (#268)

* feature: add feature flag guard for new account select component

* feature: backup seed component (#269)

* feature: backup seed component

* feature: add balance to account selector UI (#270)

* feature: add balance to account selector UI

* migrate swal to mat dialog (#273)

* migrate swal to mat dialog

* update button styles (#277)

* update button styles

* review feedback and bug fixes (#279)
lazynina added a commit that referenced this pull request Nov 26, 2023
* refactor: update account service to support sub accounts

* feature: new component for sub account UI (#266)

* feature: new component for sub account UI

* feature: add feature flag guard for new account select component (#268)

* feature: add feature flag guard for new account select component

* feature: backup seed component (#269)

* feature: backup seed component

* feature: add balance to account selector UI (#270)

* feature: add balance to account selector UI

* migrate swal to mat dialog (#273)

* migrate swal to mat dialog

* update button styles (#277)

* update button styles

* review feedback and bug fixes (#279)

* Cleanup UI for multiple account mgmt (#280)

* cleanup UI for multiple accout mgmt

* run prettier

* fix margin on metamask account

* formatting

* fix mobile

* fix scrolling on overlay

---------

Co-authored-by: Lazy Nina <>

* auto, not scroll for overflow-y on overlay

* fix sub account key generation (#281)

* update cookie options in put and update logic for mustUseStorageAccess (#286)

* update cookie options in put and update logic for mustUseStorageAccess

* format

* fix sameSite none

* run format

* add testnet verify-captcha to caddyfile

* fix affiliateAddress for heroswap iframe in identity (#287)

Co-authored-by: Lazy Nina <>

---------

Co-authored-by: Lazy Nina <>

---------

Co-authored-by: Ed Moss <[email protected]>
Co-authored-by: Lazy Nina <>
Co-authored-by: Lazy Nina <[email protected]>
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.

2 participants