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

fix: user prop updater staging #7443

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

just-toby
Copy link
Contributor

staging hotfix for #7442

@just-toby just-toby requested review from tinaszheng and a team October 10, 2023 22:38
@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 10:47pm

useEffect(() => {
// User properties *must* be set before sending corresponding event properties,
// so that the event contains the correct and up-to-date user properties.
user.set(CustomUserProperties.USER_AGENT, navigator.userAgent)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we sure these are also ok to move into the statsig provider? 👀 might run into the issue of these use effects running at the same time as other ones that send events I think? nbd would just keep an eye on it

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #7443 (dd7d36c) into main (2c7381f) will increase coverage by 0.02%.
Report is 7 commits behind head on main.
The diff coverage is 0.00%.

Flag Coverage Δ
cloud-tests 83.60% <ø> (ø)
unit-tests 42.46% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@cypress
Copy link

cypress bot commented Oct 10, 2023

5 flaky tests on run #14956 ↗︎

0 118 0 0 Flakiness 5

Details:

fix: user prop updater staging
Project: Uniswap Interface Commit: dd7d36c942
Status: Passed Duration: 04:57 💡
Started: Oct 10, 2023 10:44 PM Ended: Oct 10, 2023 10:49 PM
Flakiness  cypress/e2e/swap/uniswapx.test.ts • 5 flaky tests • e2e

View Output Video

Test Artifacts
UniswapX Toggle > prompts opt-in if UniswapX is better Output Screenshots
UniswapX Orders > can swap exact-in trades using uniswapX Output Screenshots
UniswapX Orders > can swap exact-out trades using uniswapX Output Screenshots
UniswapX Orders > renders proper view if uniswapx order expires Output Screenshots
UniswapX Eth Input > switches swap input to WETH after wrap Output Screenshots

Review all test suite changes for PR #7443 ↗︎

@just-toby just-toby merged commit f09ded1 into main Oct 10, 2023
22 of 23 checks passed
@just-toby just-toby deleted the fix/user-prop-updater-staging branch October 10, 2023 22:51
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.

3 participants