lp:~3v1n0/ubuntu-settings-components/add-months-js-clamping
- Get this branch:
- bzr branch lp:~3v1n0/ubuntu-settings-components/add-months-js-clamping
Branch merges
- Unity8 CI Bot: Approve (continuous-integration)
- Lukáš Tinkl (community): Approve
-
Diff: 99 lines (+55/-6)3 files modifiedplugins/Ubuntu/Settings/Components/Calendar.qml (+1/-1)
plugins/Ubuntu/Settings/Components/dateExt.js (+4/-5)
tests/qmltests/Components/tst_Calendar.qml (+50/-0)
Branch information
Recent revisions
- 175. By Marco Trevisan (Treviño)
-
dateExt: take care of the numbers of days in month when adding months
We have to clamp to the last day of the month, or JS will go to the next/previous
month automatically. - 174. By Marco Trevisan (Treviño)
-
dateExt: redefine daysInMonth to support negative values, using JS Date
- 171. By Marco Trevisan (Treviño)
-
RadioMenu: add menu item for creating radio items
In this case the component has a quite different look in pointer mode compared to touch mode, since
the bullet has to be placed in the middle of the leading padding space when using pointer.
Instead in touch-mode it behaves like any other icon or action item.Approved by: Lukáš Tinkl, Unity8 CI Bot
- 170. By Marco Trevisan (Treviño)
-
Calendar: update to new style with weekdays header and Month selection (LP: #1640936, #1641719, #1641721, #1641722, #1641724, #1641728)
Approved by: Lukáš Tinkl, Unity8 CI Bot
- 169. By CI Train Bot Account
-
* Menus: add Pointer and Touch styles to be used depending on the user
interaction with components
Menu items now have a new Style property that defines some common properties
such as shared colors and sizes that change depending on the UX journey. I'm
only defining Pointer and TouchStyles for now, but they can be easily
overridden in case.
Removed some deprecated properties and adapted colors and sizes to new
style.
* Bump package version as there's a new API for various components
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-settings-components