Page MenuHomePhabricator

Add Vue Filters to make the code clean and use them as necessary
Closed, ResolvedPublic3 Estimated Story Points

Description

There are some places where words look better if they are capitalized, IMO. I have pointed those out in this screencast, these are from the top of my head. https://www.useloom.com/share/828cc3598a384178b9397cfea027125a

Vue filter like capitalize, lower could be created so the view can be updated with a simple {{ string | capitalize }}.
And could also make the code cleaner in places where .toLowerCase() is used. After this task, the code would look like {{ string | lower }} which I think conveys the intention rather well in a general manner without being too technical about it.

Event Timeline

Change 425541 had a related patch set uploaded (by Amitjoki; owner: Amitjoki):
[analytics/wikistats2@master] Add Vue Filters to make the code clean and use them as necessary for casing

https://gerrit.wikimedia.org/r/425541

mforns set the point value for this task to 3.
mforns moved this task from Next Up to In Progress on the Analytics-Kanban board.

Change 425541 abandoned by Amitjoki:
Add Vue Filters to make the code clean and use them as necessary for casing

Reason:
Messed this up by including two unrelated changes

https://gerrit.wikimedia.org/r/425541

Change 425845 had a related patch set uploaded (by Amitjoki; owner: Amitjoki):
[analytics/wikistats2@master] Add Vue Filters to make the code clean and use them as necessary for casing

https://gerrit.wikimedia.org/r/425845

Change 425845 merged by Mforns:
[analytics/wikistats2@master] Add Vue Filters to make the code clean and use them as necessary for casing

https://gerrit.wikimedia.org/r/425845