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

AutarkLabs / open-enterprise / 4264 / 7
100%
dev: 100%

Build:
DEFAULT BRANCH: dev
Ran 17 Jan 2020 12:59PM UTC
Files 1
Run time 0s
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

17 Jan 2020 12:50PM UTC coverage: 100.0%. Remained the same
COVERALLS_PARALLEL=true COVERAGE=true

push

travis-ci

rkzel
refactor(projects): mv Tabs & Header out of App.js (#1894)

Soon, we will get rid of Issues from the Tabs bar, and when you tap on a
project from Overview, you will see a ProjectDetail view. This
ProjectDetail view will be very similar to the current Issues component,
but will show a back button & filter bar instead of the tabs, and may
have different header text.

Rather than adding more edge-case logic to App.js, I simplified it,
moving this logic to the Content components. Here's what changed:

* rm Header and Tabs from App.js, add to Content components
* extract Tabs logic to own component, easy to use anywhere
* relocate which-Content-to-show logic to Routes component
* clean up props passed to Content components – Issues saw the biggest
  cleanup. Some of the props declared in its propTypes were vestigial,
  and many that were passed from App.js could be looked up in the
  component itself.

While testing this, I discovered a bug, triggered by these steps:

1. add a project
2. visit `/issues`
3. refresh the page
4. cached data loads initially
5. aragonAPI replays info from the blockchain, since current data is not
   more than 100 blocks old and nothing is cached in its `store`
6. data gets reset, so `repos` becomes empty
7. we construct a nonsense GraphQL query for an empty set of repos

The fix for this required one line, so I included it here.

36 of 36 branches covered (100.0%)

Branch coverage included in aggregate %.

68 of 68 relevant lines covered (100.0%)

7.6 hits per line

Source Files on job 4264.7 (COVERALLS_PARALLEL=true COVERAGE=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 986
  • Travis Job 4264.7
  • 47f22936 on github
  • Prev Job for COVERALLS_PARALLEL=true COVERAGE=true on dev (#4263.7)
  • Next Job for COVERALLS_PARALLEL=true COVERAGE=true on dev (#4267.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