-
Notifications
You must be signed in to change notification settings - Fork 75
The first beta of version 3.0 #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
139feac
8bcce73
5373cb0
30d3273
14dfe2f
a0f7622
0f73c87
dbe9a7b
1a7d29e
e1fa4b8
18a40a2
cc8ded2
fc99cc4
1f67723
b178132
46dd482
e314ddb
dcbb730
22b94c8
6224289
3dc868a
14dd334
f013d7f
02440bc
5bfcc70
7b5305f
b429653
236da1a
832b111
a119ac2
124ec3b
70f724e
a3bbb04
079649d
fca9ef3
5d63578
df3eb04
a5b18e5
4fd4eff
116d71d
7a7bd71
af6dee7
b182dbf
be0aea4
3cbb69f
2363473
69fec96
89d7225
81db6f0
7589c32
c4ce4d6
19fe092
90e3d2c
e1fc323
cb168bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| language: node_js | ||
| node_js: | ||
| - "0.12.4" | ||
| before_install: npm install -g grunt-cli | ||
| install: npm install | ||
| before_script: grunt |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # 3.x Upgrade Guide | ||
|
|
||
| Version 3.x features a redesigned Month Picker menu which: | ||
|
|
||
| 1. Looks more consistent with [jQuery UI Datepicker](https://jqueryui.com/datepicker/). | ||
| 2. Turns the Year title into a button which gives the user a "hint" about | ||
| the Jump Years menu when they mouse over it. | ||
| 3. Allows the user to return to the year they clicked Jump years at. | ||
|
|
||
| See it for yourself at the [demo on JSFiddle](http://jsfiddle.net/kidsysco/JeZap/). | ||
|
|
||
| ## i18n property name changes | ||
| If you changed out the buttons, labels or other text using the | ||
| i18n support you should rename and translate `next5Years` to `next12Years` | ||
| and `prev5Years` to `prev12Years`. | ||
|
|
||
| You should also add the `backTo` property, which is used for the | ||
| new *Back to 2016* button when the user enters the Jump Year menu. | ||
|
|
||
| ## CSS changes | ||
| Version 3.x uses `em` instead of `px` units. | ||
| This means that the menu determines it's size according to the | ||
| `body` element's `font-size`, instead of having a fixed width of `200px`. | ||
|
|
||
| If you need to resize the menu, add this rule to your CSS: | ||
| ``` | ||
| /* Makes the Month Picker menu 20% bigger. */ | ||
| .month-picker { | ||
| font-size: 1.2em; | ||
| } | ||
| ``` | ||
|
|
||
| Version 3.x removes: | ||
| ``` | ||
| .month-year-input { | ||
| width: 60px; | ||
| } | ||
| ``` | ||
|
|
||
| If you still want the plugin to implicitly resize the input fields it's applied to you must add this rule to your own CSS. | ||
|
|
||
| If you explicitly defined a rule that reverts the effects of this rule, it's no longer necessary and it can be deleted. | ||
|
|
||
| ## Markup changes | ||
| If you've applied custom CSS to the Month Picker menu, please note that: | ||
|
|
||
| The following elements were removed: | ||
| ``` | ||
| <td class="year-container-all"> | ||
| <div id="year-container"> | ||
| <span class="year-title" /> | ||
| <span class="year" /> | ||
| </div> | ||
| ``` | ||
| They were replaces by `<td class='month-picker-title'><a /></td>`. | ||
| The `<a>` tag is a [jQyery UI Button](https://jqueryui.com/button/). | ||
|
|
||
| The following elements: | ||
| ``` | ||
| <td class="previous-year"><button /></td> | ||
| <td class="next-year"><button /></td> | ||
| ``` | ||
| were replaced by: | ||
| ``` | ||
| <td class="month-picker-next"><a /></td> | ||
| <td class="month-picker-previous"><a /></td> | ||
| ``` | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KidSysco Perhaps we should say something here about the update being simple, and in some cases will only require downloading the new minified version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Benjamin,
Sorry I have not gotten back sooner, I have been looking at this though. It
is a lot of work and it is taking me a while to get my head around
everything here.
I like everything I see so far, everything here was discussed prior. You
set a goal, you worked towards that goal and yea, I think you are just
about there!
I will get back to you shortly when I get through everything.
r.
On Wed, Jan 20, 2016 at 12:59 AM, Benjamin Albert notifications@github.com
wrote:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives me something to push to kickoff Travic-CI!
good thinking Benjamin!
:D
On Wed, Jan 20, 2016 at 12:59 AM, Benjamin Albert notifications@github.com
wrote: