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: debounce userSettings update #9220

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

keita-determined
Copy link
Contributor

@keita-determined keita-determined commented Apr 22, 2024

Ticket

ET-187
ET-191

Description

  • debounce userSettings POST API call

Test Plan

  • Check if POST users/setting are not called many times during the new experiment table column width resize
  • Check if page loading is not blocked by POST users/setting in Fast 3G network
  • Check if theres no regression around userSettings

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Copy link

netlify bot commented Apr 22, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 79682a3
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/6626d8e111571e0009506001
😎 Deploy Preview https://deploy-preview-9220--determined-ui.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.

@keita-determined keita-determined marked this pull request as ready for review April 22, 2024 21:39
@keita-determined keita-determined requested a review from a team as a code owner April 22, 2024 21:39
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.57%. Comparing base (f8b3736) to head (79682a3).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #9220       +/-   ##
===========================================
- Coverage   44.70%   41.57%    -3.14%     
===========================================
  Files        1270      515      -755     
  Lines      155130    50040   -105090     
  Branches     2437        0     -2437     
===========================================
- Hits        69351    20802    -48549     
+ Misses      85543    29238    -56305     
+ Partials      236        0      -236     
Flag Coverage Δ
harness ?
web ?

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

see 755 files with indirect coverage changes

@keita-determined keita-determined merged commit 1ca3613 into main Apr 23, 2024
90 of 102 checks passed
@keita-determined keita-determined deleted the fix/debounce-user-settings branch April 23, 2024 18:41
ashtonG added a commit that referenced this pull request Jun 13, 2024
This pr solves some race conditions that were added in #9220 by undoing
the global settings debounce and instead localizing it to the column
width changes the bug was talking about. There's a light refacator of
`userSettings#setPartial` which should allow it to work on any io-ts
type that has props.
ashtonG added a commit that referenced this pull request Jun 13, 2024
This pr solves some race conditions that were added in #9220 by undoing
the global settings debounce and instead localizing it to the column
width changes the bug was talking about. There's a light refacator of
`userSettings#setPartial` which should allow it to work on any io-ts
type that has props.
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.

3 participants