ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Add list reorder & delete

Open brandyscarney opened this issue 10 years ago • 13 comments

Similar to v1

http://ionicframework.com/docs/api/directive/ionDeleteButton/ http://ionicframework.com/docs/api/directive/ionReorderButton/

brandyscarney avatar Feb 24 '16 20:02 brandyscarney

during the reorder-drag, is it possible to make the original item hidden and show the other items moving apart like most native apps?

lbickston avatar Mar 04 '16 04:03 lbickston

Is list reordering in general not yet supported in Ionic2, or is this ticket for something more nuanced around the buttons? Sorry the question, having trouble Googling around this topic.

lefnire avatar Mar 31 '16 19:03 lefnire

@lefnire not yet supported.

lbickston avatar Mar 31 '16 19:03 lbickston

For anyone looking for an interim reorder solution, Dragula performs pretty well on mobile. Sample commit. 'Course I'll switch right over to Ionic2's solution when available.

lefnire avatar Apr 08 '16 14:04 lefnire

We have to support reordering without handles, feature suggested by @2arcz6 here https://github.com/driftyco/ionic/issues/6439

manucorporat avatar Jun 09 '16 08:06 manucorporat

@brandyscarney @adamdbradley I think it makes sense to have this feature only available inside a virtual list. It already provides the foundational level to know the positions of each item.

For v2, I want the other items moving apart like a native app!

manucorporat avatar Jun 11 '16 15:06 manucorporat

@lefnire @djangojack @2arcz6 check out the progress here: https://github.com/driftyco/ionic/pull/6937

manucorporat avatar Jun 18 '16 03:06 manucorporat

Hi, is there an estimated date that this will be released to Ionic Beta? Looking to add something like this to my project now, so knowing an eta would be much appreciated. Thanks!

sarahhostyk avatar Jun 24 '16 19:06 sarahhostyk

Hey @sarahhostyk, reorder has been added and will be available with the beta 10 release (coming up soon). @manucorporat will be working on the list delete next. We're hoping to get list delete into the beta 11 release but he will let us know if that changes. Thanks!

brandyscarney avatar Jun 24 '16 19:06 brandyscarney

hey thanks @brandyscarney! Would you by chance have an approx. date for the beta 10 release? It will just help me plan out parts of my project better knowing an exact projected date. Thanks again!

sarahhostyk avatar Jun 26 '16 19:06 sarahhostyk

Hey @sarahhostyk, I plan on releasing beta 10 today as long as our testing goes well. :)

brandyscarney avatar Jun 27 '16 14:06 brandyscarney

Awesome, thanks @brandyscarney!

sarahhostyk avatar Jun 27 '16 14:06 sarahhostyk

Hi all. Is reorder in the current RC? I can't find any docs about it!

-----------> FOUND <--------------

Here: https://ionicframework.com/docs/v2/api/components/item/ItemReorder/

I was looking for it into "ion-list" docs. I think that a reminder would be useful.

Thanks!

pimol avatar Oct 17 '16 17:10 pimol