Need support _.property callback style for collection methods

Bug #1462339 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Wishlist
Fuel UI Team
Mitaka
Won't Fix
Wishlist
Fuel UI Team
Newton
Confirmed
Wishlist
Julia Aranovich

Bug Description

I think it would be good to support _.property callback style for Backbone collection methods.
See an example here: https://lodash.com/docs#filter

This will allow to use
   nodes.filter('online')
instead of
   nodes.where({online: true})

description: updated
Changed in fuel:
importance: Low → Wishlist
Changed in fuel:
milestone: 7.0 → 8.0
tags: added: tech-debt
Dmitry Pyzhov (dpyzhov)
tags: added: area-ui
Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/316879

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-ui (master)

Change abandoned by Julia Aranovich (<email address hidden>) on branch: master
Review: https://review.openstack.org/316879
Reason: Abandoned in favor of https://review.openstack.org/313008

Revision history for this message
Julia Aranovich (jkirnosova) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Julia Aranovich (<email address hidden>) on branch: master
Review: https://review.openstack.org/316879
Reason: This patch does not optimize Lodash methods velocity, it makes them 25% slower.

Changed in fuel:
milestone: 10.0 → 10.1
status: In Progress → Confirmed
assignee: Julia Aranovich (jkirnosova) → Fuel UI Team (fuel-ui)
Changed in fuel:
milestone: 10.1 → 11.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.