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

open-eats / openeats-web / 362
61%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2020 07:22PM UTC
Jobs 1
Files 19
Run time 2s
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
362

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

Jobs
ID Job ID Ran Files Coverage
1 362.1 04 Jul 2020 07:22PM UTC 0
61.22
Travis Job 362.1
Source Files on build 362
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #362
  • f744037b on github
  • Prev Build on master (#356)
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