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

airbnb / superset / 25
70%
master: 0%

Build:
Build:
LAST BUILD BRANCH: airbnb-master
DEFAULT BRANCH: master
Ran 03 Jun 2017 12:25AM UTC
Jobs 4
Files 41
Run time 2min
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

pending completion
25

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.

4342 of 6230 relevant lines covered (69.7%)

2.78 hits per line

Jobs
ID Job ID Ran Files Coverage
3 25.3 (TOX_ENV=py34-postgres) 03 Jun 2017 12:27AM UTC 0
69.44
Travis Job 25.3
4 25.4 (TOX_ENV=py34-sqlite) 03 Jun 2017 12:25AM UTC 0
69.39
Travis Job 25.4
5 25.5 (TOX_ENV=py27-mysql) 03 Jun 2017 12:25AM UTC 0
69.44
Travis Job 25.5
6 25.6 (TOX_ENV=py27-sqlite) 03 Jun 2017 12:26AM UTC 0
69.37
Travis Job 25.6
Source Files on build 25
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #25
  • 55e01cf0 on github
  • Next Build on gg-keepColumnsStateLocal (#42)
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