• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / superset / 25 / 6
70%
master: 0%

Build:
Build:
LAST BUILD BRANCH: airbnb-master
DEFAULT BRANCH: master
Ran 03 Jun 2017 12:26AM UTC
Files 41
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jun 2017 12:04AM UTC coverage: 69.374%. First build
TOX_ENV=py27-sqlite

push

travis-ci

graceguo-supercat
fix local state 'columns'

I found a bug in VisualizeModal:
in setStateFromProps(props), we create columns object and set into state.
But setStateFromProps will be called every componentWillReceiveProps, which means when user close Modal, open Modal etc, it will reset columns state to original props. As a result if user changed any checkbox, then close and re-open modal, his previous change will lost. This thing will become more annoying when mixed with redux updating its state.

I think we should keep 'columns' as a local state, and it should remember states even after user close Modal and reopen it. my fix is just calling setStateFromProps from constructor, not from every componentWillReceiveProps.

4322 of 6230 relevant lines covered (69.37%)

0.69 hits per line

Source Files on job 25.6 (TOX_ENV=py27-sqlite)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25
  • Travis Job 25.6
  • 55e01cf0 on github
  • Next Job for TOX_ENV=py27-sqlite on gg-keepColumnsStateLocal (#42.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc