[Hawkular-commits] [hawkular/hawkular] 62f131: Replace truncate libraries with single custom filt...

Mike Thompson mtho11 at users.noreply.github.com
Tue Dec 1 17:42:07 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular
  Commit: 62f131d0d925099605dc1649fbf9ac59d986fc41
      https://github.com/hawkular/hawkular/commit/62f131d0d925099605dc1649fbf9ac59d986fc41
  Author: Alexandre Mendonça <amendonca at redhat.com>
  Date:   2015-12-01 (Tue, 01 Dec 2015)

  Changed paths:
    M console/src/main/scripts/bower.json
    M console/src/main/scripts/plugins/metrics/html/alerts-center-detail.html
    M console/src/main/scripts/plugins/metrics/html/alerts-center-list.html
    M console/src/main/scripts/plugins/metrics/html/alerts-center-triggers.html
    M console/src/main/scripts/plugins/metrics/html/partials/trigger-alerts-sidebar.html
    A console/src/main/scripts/plugins/metrics/ts/filters/truncateFilter.ts
    M console/src/main/scripts/plugins/metrics/ts/metricsPlugin.ts

  Log Message:
  -----------
  Replace truncate libraries with single custom filter

Filter usage:
{{ "some text" | truncate : <length> : <words> : <left|right|middle> | <separator> }}

- length: the truncated size (defaults to 15)
- words: keep words intact (defaults to false)
- left|right|middle: where to truncate (defaults to left)
- separator: the separator char/string (defaults to '...')


  Commit: e261b9e7bb0aa84866633a115dea4d48843282fb
      https://github.com/hawkular/hawkular/commit/e261b9e7bb0aa84866633a115dea4d48843282fb
  Author: Mike Thompson <mtho11 at users.noreply.github.com>
  Date:   2015-12-01 (Tue, 01 Dec 2015)

  Changed paths:
    M console/src/main/scripts/bower.json
    M console/src/main/scripts/plugins/metrics/html/alerts-center-detail.html
    M console/src/main/scripts/plugins/metrics/html/alerts-center-list.html
    M console/src/main/scripts/plugins/metrics/html/alerts-center-triggers.html
    M console/src/main/scripts/plugins/metrics/html/partials/trigger-alerts-sidebar.html
    A console/src/main/scripts/plugins/metrics/ts/filters/truncateFilter.ts
    M console/src/main/scripts/plugins/metrics/ts/metricsPlugin.ts

  Log Message:
  -----------
  Merge pull request #691 from ammendonca/HWK-TRUNCATE-FILTER

Replace truncate libraries with single custom filter


Compare: https://github.com/hawkular/hawkular/compare/6033644a8b10...e261b9e7bb0a


More information about the hawkular-commits mailing list