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 #533

Merged
merged 59 commits into from
Oct 26, 2023
Merged

🪄 [QA] Update stage environments #533

merged 59 commits into from
Oct 26, 2023

Conversation

github-actions[bot]
Copy link

This is a pull request that upon merging will update stage environments with recent main changes.
The environments that will be updated:

Read more: Deployment to Production Flow

jagodarybacka and others added 22 commits October 24, 2023 18:42
Use locally saved data to get most of the informations about XP
The current tracking is just that the user hit the page. It's double-
tracking on dev, need to check that this doesn't happen in prod.
It feels a little wobbly here, but assuming it works, it should give us
a way to see if people start staking and fail to complete, or same with
unstaking, in case there are wallet issues or similar.
The `github.head_ref` variable does not include the `ref/heads/` part.
The `github.head_ref` variable does not include the `ref/heads/` part.
@netlify
Copy link

netlify bot commented Oct 26, 2023

Deploy Preview for taho-development ready!

Name Link
🔨 Latest commit 64c8546
🔍 Latest deploy log https://app.netlify.com/sites/taho-development/deploys/653a3db47e9c67000754a757
😎 Deploy Preview https://deploy-preview-533--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.

Karolina Kosiorowska and others added 5 commits October 26, 2023 08:58
Ref #503 

Adjusting xp allocations since the start date do not match with
contracts
Ref #503 

What has been done:
- Correct start date was hard-coded
- Calculation of the current season week was adjusted depending on if
the season has already started
Resolves #509 

Adding extra check to not render the "first visit to realm" assistant
pop-up if user is already staked
Karolina Kosiorowska and others added 28 commits October 26, 2023 09:30
Resolves #292
Resolves #474

### What

- removed fetching merkle distributor address from the events
- we are assuming xp drop file will have the merkle distributor address
saved together with other drop data in the JSON file
- `xp-data.json` contains all the info about the drops we want to
execute
- ui fixes  
  - fixed problem with parsing bigint to user amount
  - calculating sum of all unclaimed XP
  - problems with XP congrats modal

### Testing

As we can't really merge xp drop JSON files to the staging environments
there is a separate env to test it on the branch
#504

Please test it on https://xp-testing--taho-development.netlify.app/ -
there was a drop done for Gitcoin realm


### TODO

Dynamic imports for JSONs are not working right now locally, nor fetch
but we can fix it later
Resolves #528 
Resolves #526 

What has been done:
- "Council" renamed to "Guardians"
- Added "Realm" word to realm name in modal
This PR is an extension of #485.
Let's use a fallback provider for arbitrum sepolia.


<img width="612" alt="Screenshot 2023-10-25 at 15 48 48"
src="https://github.com/tahowallet/dapp/assets/23117945/61719ae7-e9ef-4b1d-91ba-ee6d23182658">
Resolves #531 

Change favicon to Subscape
Resolves #520 
Resolves #522 

What has been done:
- Rulebook opens in new tab now
- Changed color of Gitcoin realm
Resolves: #527 

<img width="700" alt="Screenshot 2023-10-26 at 10 14 19"
src="https://github.com/tahowallet/dapp/assets/28560653/8b7406c6-6647-46a2-8d20-da2859d9a90f">
Resolves #516
Resolves #515
Resolves #521 

What has bee done:
- Changed the entering animation of realm modal
Closes #503

For now let's just hardcode the weekly reward.
We never put this explicitly on the roadmap, but it would be good to get
a little better feel for how people are using the dApp, and be able to
compare against the wallet info.

A few notes: 

- I haven't been able to test extensively, and in particular am not
fully convinced of the approach for staking/unstaking. It's built to
track the beginning and end of that process, so we can see if people are
starting to stake/unstake and then not making it through to transaction
completion.
- Priority-wise, I'd like to have pageviews (the first commit) at
launch, then if possible realm opens, and then if we're feeling good
about it the staking/unstaking stuff. To some extent we can do
staking/unstaking on-chain, so it's not quite as critical.
- We'll want to set up the ANALYTICS_ENV and POSTHOG_API_KEY variables
appropriately. Right now I'm just using the API key from taho.xyz. The
default analytics env is DEV, we'll want PROD for the released dApp.

Torch-passing here, let's consider pageview + realm opens as second
priority to any blockers, but higher priority than any nice-to-haves for
launch.

Leaving this in draft as I realize we may need to cherry-pick partial
commits and such to get the outcome we're most comfortable with.
@michalinacienciala michalinacienciala merged commit 8c7898c into stage-live Oct 26, 2023
6 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.

5 participants