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

🚀 [QA] Update release environment #886

Merged
merged 68 commits into from
Dec 14, 2023
Merged

🚀 [QA] Update release environment #886

merged 68 commits into from
Dec 14, 2023

Conversation

thesis-valkyrie
Copy link
Collaborator

This is a pull request that upon merging will update production environment with recent stage-live changes.
The environment that will be updated:

Read more: Deployment to Production Flow

xpaczka and others added 30 commits December 1, 2023 15:51
When user was typing the balance amount manually then
input was not updating values correctly.
We moved to `useCallback` instead of `useEffect` and fixed
the condition for updating parent component with new values.
We had a mistake with the expected behavior.
Resolves #866 

## What has been done
Messages from assistant were not displayed correctly due to unnecessary
`useEffect`. Also extracted some `Island` logic to `useOnRealmClick`
hook.

## Testing
- [x] Clear `localStorage`
- [x] Connect wallet that is not staked in any realm
- [x] After entering portal, `Welcome to Subscape, Nomad` message
appears
- [x] After clicking on realm for first time, `Why join a realm` message
appears
### What

Prepare app for the end of beta season, changes when `IS_BETA_CLOSED =
true` are:

- countdown shows time left to claim XP 

![image](https://github.com/tahowallet/dapp/assets/20949277/2c8051f0-e72f-420d-afe0-9e08de77a6e2)

- there are no challanges visible 

![image](https://github.com/tahowallet/dapp/assets/20949277/ad05c822-0cd1-4aac-89a8-61b67c825f64)

- staking is impossible 

![image](https://github.com/tahowallet/dapp/assets/20949277/0e1cae78-19bd-4fa7-a754-365161cb63d1)

- There is a hint below the claimable XP

![image](https://github.com/tahowallet/dapp/assets/20949277/f7adfd92-1b95-4c1a-9b4a-3a31f914df6a)

- there are no "stake to join realm" or "you are already staked in
another realm" banners visible (as it is no longer possible to stake)

### Testing

- [x] with `IS_BETA_CLOSED = true` test changes listed above
- [x] with `IS_BETA_CLOSED = false` - there should be no changes
compared to prod env
Resolves #764

### What
When user was typing the balance amount manually then input was not
updating values correctly.
We moved to `useCallback` instead of `useEffect` and fixed the condition
for updating parent component with new values.

The issue was caused mostly by incorrect condition but I wanted to get
rid of `useEffect` as the dependencies array was intentionally
incomplete and it seems like it wasn't the most correct hook anyway.

### Testing

General regression testing is needed here (@michalinacienciala). Let's
not merge unless it will be tested for regressions.

- [x] make sure scenarios written in the task above are working
correctly now
- [x] test staking and unstaking both full and partial amounts
- [x] make sure we can stake/unstake values with decent precision
(either by typing or using "max" button)


![image](https://github.com/tahowallet/dapp/assets/20949277/c4756451-b6eb-425b-8641-fea353ed4f6d)
jagodarybacka and others added 11 commits December 13, 2023 10:43
## Issues connected

Ref #875 
Ref #876  
Resolves #878 

## What has been done

- Added logic for sign up form
- Added message for sign up form (success, failed, invalid email)

## Testing

- [x] Entering no email - "Invalid email" message is displayed
- [x] Entering not valid email - "Invalid email" message is displayed
- [x] Entering valid email - "Sign up successful" message is  displayed
- [x] If sign up successful, email input is cleared
- [x] All messages (success or fail) disappears after 3 seconds
- [x] After sign up, email used will be visible in customer.io -> People

## Screenshots / images / videos

![Zrzut ekranu 2023-12-12 o 15 02
53](https://github.com/tahowallet/dapp/assets/73061939/8e1cd934-c08d-44d4-81c9-372d8bbe2f2d)
## Issues connected

Resolves #863 

## What has been done

Modified text rendered when connecting dapp to Taho wallet

## Testing

- [x] Connect your wallet, the text should be "Granting access to your
account."

## Screenshots / images / videos

![Zrzut ekranu 2023-12-13 o 16 32
45](https://github.com/tahowallet/dapp/assets/73061939/2079b564-4b1d-4daf-94ad-0c105e1247f1)
## What has been done

Week counter went above season duration, changed to be 7/7

## Testing

- [x] Set `BETA_IS_CLOSED` flag to `true` - current week is 7/7

## Screenshots / images / videos

![Zrzut ekranu 2023-12-14 o 10 15
54](https://github.com/tahowallet/dapp/assets/73061939/0c2123c4-49ac-4eb2-a9c1-c494fc128e48)
Resolves #875
Resolves #876 

## What has been done

Added new link to Galxe campaign

## Testing

- [ ] Check if link is working on the beta end modal
## Issues connected

Resolves #823 

## What has been done

- Fixed ENS and UNS names not updated automatically (without reload)
- Added `useCachedWalletName` hook

## Testing

- [x] Clear `localStorage`
- [x] Connect wallet
- [x] After a short interval, account name is automatically updated
- [x] Reload the page, the name is still visible
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
Copy link

netlify bot commented Dec 14, 2023

Deploy Preview for taho-development ready!

Name Link
🔨 Latest commit b69a6cd
🔍 Latest deploy log https://app.netlify.com/sites/taho-development/deploys/657b4d74b9e8880008ebd05c
😎 Deploy Preview https://deploy-preview-886--taho-development.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 14, 2023

Release checklist

This release checklist should be performed before release is published.

  • if something is not working please create an issue and link it here. Checkbox
    should be checked only if everything was fine
  • in case of serious issues or doubts you should ask the team first

Approve the PR when the checklist is finished ✅

Merge the PR when it is approved and we want to update the production
environment 🚀

Manual tests

*many of these tests can be combined with each other as you're testing. I suggest looking through the whole checklist first then executing tests in a way that allows you to check off multiple items at once. Some suggestions are provided.

  1. Connect to wallet that previously staked

    • you see the Portal is Open message
    • you can see the map after entering and the Beta has ended modal
    • you see the Claim your NFT and Get Updates
    • you see your address connected
    • you see the name of your realm
    • you can navigate to other realms but not stake in them you can navigate to all realms but not stake in any of them
    • you can stake more TAHO in that realm if you're not fully staked
    • you can unstake
  2. Connect to wallet that hasn't staked but has $TAHO

    • you see the Portal is Open message
    • you can see the map after entering and the Beta has ended modal
    • you see the Claim your NFT and Get Updates
    • you see your address connected
    • you don't see a realm name beside that
    • you can explore realms and stake into one (if you staked above, you don't have to do it again. Just make sure to test stake and unstake at least once) you can navigate to all realms but not stake in any of them
  3. Connect to wallet that has NO $TAHO (& no $VETAHO)

    • you see the Portal is Open message and the Join Beta button, but no buttons to join Beta or enter the map
    • Join Beta redirect works as expected
    • you can't see the map
  4. Switch connected wallet in the extension (it's easy to check these off along with the above while you're switching accounts)

    • dapp reloads and shows the portal screen
    • reloads with Connect Wallet button if you go to a wallet that's not
      connected
    • reloads with that address connected if that's a connected website for
      the address: if it's an eligible address, you see Access Granted &
      Enter the portal
    • reloads with that address connected if that's a connected website for
      the address: if it's an ineligible address, you see the Portal is Open
      message and Join Beta button
  5. Helper Tool

    • doesn't pop up automatically for users who have visited before and
      closed it
    • doesn't pop up automatically for staked users
    • does come up with the correct message when you click it (standard
      "hang in there, Nomad...")
    • does come up properly for a user connecting for the first time and
      running through onboarding
      does not show up for a user connecting for
      the first time
  6. Population (this is easily tested with the above when you're staking/unstaking - verify the population changes and then you've combined these tests with that)

    • shows on each realm
    • shows on the bottom bar
    • is updated appropriately if a new account stakes/unstakes
  7. Challenges

    • shows on each realm as expected are not shown anywhere in the dapp
  8. Disconnect from dapp

    • click disconnect on address drop down and it disconnects and shows the
      portal screen
  9. Connect Wallet

    • with Taho and MM installed and Taho set as a default wallet - only Taho
      connection should be possible
    • with Taho and MM installed and Taho not set as a default - only Taho
      connection should be possible
    • with Taho not installed and MM installed - should show both options -
      Taho directs to the Chrome store, MM opens method connection screen and
      allows connecting
    • with Taho not installed and no other - should show both options - Taho
      directs to the Chrome store, MM opens the connection method screen and
      directs to the Chrome store
  10. XP

  • an account with XP to claim sees that under Claimable Rewards on the Realm modal (in pre-prod we can see this on stage-live but might be easiest to only test this when we're testing XP drops)
  • account can claim XP and sees the wallet balance of VETAHO change accordingly (requires that the account earned XP and hasn't claimed it yet so this could be hard to test on each release but when we're testing XP drops, we should do this)
  • leaderboard shows the top 10 earners in the realm - the connected account is shown at the top with their place on the board shown

xpaczka and others added 13 commits December 14, 2023 14:29
## What has been done

Fixes error with `ens` destructuring 

## Screenshots / images / videos


![image](https://github.com/tahowallet/dapp/assets/73061939/52178c41-afa2-4ee8-82be-02d1738e6091)
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
We are missing Gitcoin - but the rest can be merged to stage already
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
@michalinacienciala michalinacienciala merged commit d797541 into release Dec 14, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants