3scale/issues-test — Issue #412: adding view control on the metrics/methods
Author: HakubJozak
Created: 2012-02-10 17:54:16+00:00
State: open
Labels: feature

Some work on the way metrics are displayed.

1) Have a tick of "visible" set by default at true for each method/metric. If set to true normal behaviour, if set to false that metric should not be rendered on the plan. Right now a plan (renders all the metrics that have limits, even those with 0 and this is horrible to people that use the limits to control access)

2)Then an additional checkbox that says "icons" set by default to false.

no icon => normal behaviour
icon => displays a tick on the metric before the metric name on the plans view (plus the normal limits), displays a cross on the metric view (without the text limits) if there is ANY zero limit.

3) have a checkbox or a binary button "allowed/disallowed". If the metric has a zero limit should be on disallowed, if it has none should have allowed. If they click, they should create or remove a zero limits for that metric.

https://lumesse-admin.3scale.net/admin/apiconfig/plans/216/edit?type=application_plan

Tasks
- icons
- ajax requests
- plan_widget remove "limits" if empty
- clone plan with plan_metrics
- help for icons
- adding limit updates icon

https://www.pivotaltracker.com/story/show/16015773