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

MediaComem / biopocket-mobile / 161 / 1
87%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v1.0.0
DEFAULT BRANCH: master
Ran 09 May 2018 11:27AM UTC
Files 19
Run time 1s
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

09 May 2018 11:23AM UTC coverage: 88.085% (-2.8%) from 90.909%
NODE_ENV=test

push

travis-ci

web-flow
Show a card when a location's marker is clicked (#5)

Show a card when a location's marker is clicked

The card is currently rendered using Ionic's Popover service.
Ultimately, this should be switched to a custom implementation ; the
current behavior being not ideal for two main reasons:

* The first is that the animation is relative to the platform and, except
the ios animation, the other are bad for the UX. We should try and
implement our own slide-in up animation.
* The second reason being that when clicking on a location's marker, the map
should move to put this marker at the center of the viewport. But since
the height of the card is needed for the calculation, it's only possible
to move the map *after* the card is displayed, resulting in a delay in the
map animation that is also bad UX.

The card currently display only very basic information without any real
layout. This should be updated when the layout integration starts.

Sidenote: I've added a new section on the `DEVELOPMENT.md` file that list
links to the documentation of libraries used in the project. This should
be updated whenever we add a new major library.

Tests: I've replaced all `callCount` calls with the correct equivalent
from the Chai Sinon Assertion Library (that is : `calledOnce`,
`calledTwice` and so on ; this is for better consistancy.

Story: TG-51
Tasks: TG-99, TG-100

20 of 30 branches covered (66.67%)

Branch coverage included in aggregate %.

187 of 205 relevant lines covered (91.22%)

4.26 hits per line

Source Files on job 161.1 (NODE_ENV=test)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 137
  • Travis Job 161.1
  • bd9b48b4 on github
  • Prev Job for NODE_ENV=test on sprint-1-discovering-biodiversity (#108.1)
  • Next Job for IONIC_E2E_DEBUG=1 IONIC_E2E_STANDALONE_TIMEOUT=60000 IONIC_ENV=test NODE_ENV=test SESSION_SECRET=secret on sprint-1-discovering-biodiversity (#176.1)
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