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

open-eats / openeats-web / 362 / 1
61%
master: 61%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2020 07:22PM 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

04 Jul 2020 07:20PM UTC coverage: 61.217%. Remained the same
362.1

push

travis-ci

web-flow
Add sortablity to the Grocery List (#44)

* Add sortablity to the Grocery List

Extend ListItems to hold and render a list of items that will slide.
Add sorting function to sort the list after a user has sorted an
element, and send that to the API, so that the whole list can
be updated with the new order in the DB.
When adding a new item, add an order index to it so that it will end up
at the end of the list (like the default behaviour from before), and
send that to the API so that it will stay there if the page is
refreshed.
Add a handle to the ListItem to grab for sorting. It's a bit buggy on
mobile interfaces right now.

Make the sorting handle not display when on a tab other than "All
Items". Sorting only part of the list would be someone of an undefined
function, so we just won't allow it.
Rework the CSS layout so that the destroy button correctly flexes around
the sorting handle.
This CSS rework means we can cleanup a bunch of the margin and absolute
distance hacks to allow for much simpler floating of objects vertically
center and margin distances from each other.
Also fix editing box being a fixed width, now it fits the list size,
while still having a left buffer so that the text lines up with other
lines.

* updates on sortable lists

* Change CSS class to drag-handle

This is to be less confusing, as there could be other handles that this
CSS probably shouldn't apply to.

Co-authored-by: ryan <ryannoelk@gmail.com>

46 of 102 branches covered (45.1%)

Branch coverage included in aggregate %.

115 of 161 relevant lines covered (71.43%)

1.63 hits per line

Source Files on job 362.1
  • 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 134
  • Travis Job 362.1
  • f744037b on github
  • Prev Job for on master (#356.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