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 stage environments #872

Merged
merged 54 commits into from
Dec 14, 2023
Merged

🪄 [QA] Update stage environments #872

merged 54 commits into from
Dec 14, 2023

Commits on Dec 1, 2023

  1. Add pull request template

    xpaczka committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    4e418f0 View commit details
    Browse the repository at this point in the history
  2. Fix workflow run script

    xpaczka committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    996db8d View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    0e26e21 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Simplify PR template

    xpaczka committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    7711526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fb43b7 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Fix token input for typing balance value manually

    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.
    jagodarybacka committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    97f1a54 View commit details
    Browse the repository at this point in the history
  2. Fix expected results for wallet connections on the release checklist

    We had a mistake with the expected behavior.
    michalinacienciala committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    4e359e5 View commit details
    Browse the repository at this point in the history
  3. Fix assistant messaging

    xpaczka committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    890df8d View commit details
    Browse the repository at this point in the history
  4. Simplify import

    xpaczka committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    3fdc36e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Fix expected results for wallet connections on the release checklist (#…

    …870)
    
    We had a mistake with the expected behavior.
    jagodarybacka authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    8da2675 View commit details
    Browse the repository at this point in the history
  2. Change XP countdown text

    xpaczka committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    572a684 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aece96f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22ff5c9 View commit details
    Browse the repository at this point in the history
  5. Fix assistant messaging (#871)

    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
    jagodarybacka authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    83c41bf View commit details
    Browse the repository at this point in the history
  6. Add layout for beta end modal

    xpaczka committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    6d473c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a74820d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    968355f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    87f9a6b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d3295ec View commit details
    Browse the repository at this point in the history
  11. Close modal on button click

    xpaczka committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    abafc27 View commit details
    Browse the repository at this point in the history
  12. Type-o fix

    xpaczka committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    38ef93f View commit details
    Browse the repository at this point in the history
  13. End of beta - UI changes (#873)

    ### 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
    xpaczka authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    d96ff90 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    027a010 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5b2b232 View commit details
    Browse the repository at this point in the history
  16. Fix token input for typing balance value manually (#862)

    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)
    michalinacienciala authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    d57d1b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    0ca5ba5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed3111d View commit details
    Browse the repository at this point in the history
  3. Change countdown text info

    xpaczka committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    b2e164e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78c79eb View commit details
    Browse the repository at this point in the history
  5. Update useState

    xpaczka committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    d1cca1e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eacbbbd View commit details
    Browse the repository at this point in the history
  7. Update claiming date

    xpaczka committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7f98bf5 View commit details
    Browse the repository at this point in the history
  8. Create pull request template (#821)

    ## Pull request template
    
    This PR creates a pull request template that will be used for all pull
    requests, to make them consistent and always provide enough information
    about what was changes / what was added
    
    **The PR template looks like this:**
    
    ## Issues connected
    
    Resolves
    
    ## What has been done
    
    - Change 1
    
    ## Testing
    
    - [ ] Test 1
    
    ## Screenshots / images / videos
    
    Please provide assets necessary for the PR (remove if not applicable)
    
    **Open to suggestions, what should be changed / what should be added**
    jagodarybacka authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    1d63448 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    073cb2f View commit details
    Browse the repository at this point in the history
  10. Type-o fix

    xpaczka committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    6bc7c6c View commit details
    Browse the repository at this point in the history
  11. Beta end modal (#874)

    Ref #875 
    Ref #876 
    
    ## What has been done
    - Added "Beta has ended" modal on top of the map
    - Added "Portal is closed" modal on the onboarding page
    - Set flags to prevent users from entering the map, when portal is
    closed
    - Automatically clear onboarded wallet when portal is closed
    
    ## What is missing
    - Link to claim Galxe NFT
    - Endpoint for "Sign up" form
    
    ## Testing
    - [x] Set `IS_BETA_CLOSED` flag to `true`
    - [x] "Beta has ended" modal is on top of the map
    - [x] Modal can be closed
    - [x] Set `IS_PORTAL_CLOSED` flag to `true`
    - [x] Onboarded wallet is cleared from `localStorage`
    - [x] "Portal is closed" modal is on the onboarding page
    - [x] Population count is not visible
    - [x] Is it not possible to connect the wallet
    
    ![Zrzut ekranu 2023-12-12 o 09 35
    26](https://github.com/tahowallet/dapp/assets/73061939/0b01bcb6-4aad-4ee7-9e6a-274cfdc0027b)
    ![Zrzut ekranu 2023-12-12 o 09 34
    53](https://github.com/tahowallet/dapp/assets/73061939/5d1f8ca7-80ba-4b14-9957-4a3e739b4bd5)
    jagodarybacka authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    cb7d393 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bd577de View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5f977a6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9924e68 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    79681f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Set up logic for sign up form

    xpaczka committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    f966618 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4a4b97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1374a17 View commit details
    Browse the repository at this point in the history
  4. Fix typ-o

    xpaczka committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    20fc1a9 View commit details
    Browse the repository at this point in the history
  5. Beta end sign up form (#880)

    ## 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)
    jagodarybacka authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    2d9982a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d28514c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3eaa023 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7e9786d View commit details
    Browse the repository at this point in the history
  9. Modify default blocknative text when connecting with Taho (#882)

    ## 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)
    michalinacienciala authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    61c4b45 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    5090078 View commit details
    Browse the repository at this point in the history
  2. Change current week on beta close (#884)

    ## 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)
    jagodarybacka authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    2f4775b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3024e7 View commit details
    Browse the repository at this point in the history
  4. Update Galxe campaign link (#885)

    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
    xpaczka authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    83cfdf4 View commit details
    Browse the repository at this point in the history
  5. Fix ENS and UNS names not visible in UI (#879)

    ## 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
    jagodarybacka authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    80e931b View commit details
    Browse the repository at this point in the history