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

Mezo test build #3800

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from
Draft

Mezo test build #3800

wants to merge 58 commits into from

Conversation

hyphenized
Copy link
Collaborator

@hyphenized hyphenized commented Mar 11, 2025

Testing env

SUPPORT_MEZO_NETWORK=true
USE_CUSTOM_MEZO_API_ORIGIN=https://portal.api.test.mezo.org
USE_CUSTOM_MEZO_DAPP_ORIGIN=https://taho-nft-claim--mezo-dapp.netlify.app

Latest build: extension-builds-3800 (as of Fri, 14 Mar 2025 23:54:04 GMT).

hyphenized and others added 30 commits February 28, 2025 14:01
This will control visibility and behaviour of banners and other UI elements
This sets a recurrent alarm to hit the API and check claim state unless the
wallet is not eligible or the campaign has already been finished. If eligible,
users receive a notification based on their claim completion.
Transactions must have been completed and target the borrower contract
on the mezo network.
This is used by posthog to distinguish users
- onDismiss is no longer passed as an options to the extension API
- Fixed a race condition in NotificationService state initialization
- Fixed the notifications settings toggler

As MV3 requires permissions to be requested during a user action,
the prompt for user permission no longer works if triggered through
a redux thunk that executed in the background.
Sets a visibility assertion to confirm element exists before synchronously
asserting value
Exclusively used for newly added builtin networks
Moves test network visibility user setting to preference service and sets force toggles it to display on all new and existing installs
This PR moves the testnet visibility setting to the preference service,
and sets a migration to enable it on all existing and new installs.

## Testing
- [ ] On a new install, check testnets shows up by default on network
switcher
- [ ] On existing install, after update testnets should show up

Latest build:
[extension-builds-3793](https://github.com/tahowallet/extension/suites/35160394180/artifacts/2686423977)
(as of Tue, 04 Mar 2025 05:05:23 GMT).
This makes it easier to manually clear notifications
This moves campaign related logic out of the main service into a
dedicated service. It also causes dismissing campaign banners to clear
and stop triggering notifications about the same topic.

Campaign state is kept within the service db and updates are pushed to
state in redux.


Latest build:
[extension-builds-3794](https://github.com/tahowallet/extension/suites/35331061341/artifacts/2708368343)
(as of Fri, 07 Mar 2025 03:08:56 GMT).
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