timeline_setter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/doc.markdown +15 -4
- data/doc/timeline-setter.html +79 -94
- data/documentation/TimelineSetter/CLI.html +59 -9
- data/documentation/TimelineSetter/Parser.html +1 -1
- data/documentation/TimelineSetter/Timeline.html +1 -1
- data/documentation/TimelineSetter.html +1 -1
- data/documentation/_index.html +1 -1
- data/documentation/file.README.html +1 -1
- data/documentation/index.html +1 -1
- data/documentation/method_list.html +13 -5
- data/documentation/top-level-namespace.html +1 -1
- data/index.html +3 -2
- data/lib/timeline_setter/cli.rb +6 -2
- data/lib/timeline_setter/timeline.rb +1 -1
- data/lib/timeline_setter/version.rb +1 -1
- data/public/javascripts/timeline-setter.js +83 -87
- data/public/stylesheets/timeline-setter.css +5 -7
- data/spec/test_data.csv +4 -1
- data/templates/timeline-markup.erb +3 -3
- data/timeline_setter.gemspec +2 -2
- metadata +4 -4
data/doc/doc.markdown
CHANGED
@@ -82,7 +82,7 @@ Full list of options:
|
|
82
82
|
|
83
83
|
TimelineSetter looks for certain column names in your CSV file in order to
|
84
84
|
generate a timeline. All columns are required, though as you'll see, some of
|
85
|
-
them can be left blank. Here's a summary of each column and its significance:
|
85
|
+
them can be left blank (see a [sample CSV](https://github.com/propublica/timeline-setter/blob/master/spec/test_data.csv)). Here's a summary of each column and its significance:
|
86
86
|
|
87
87
|
<a id="date-csv"></a>
|
88
88
|
### date
|
@@ -126,7 +126,7 @@ best not to assign a name.
|
|
126
126
|
Any arbitrary HTML that will be inserted above `description`. This
|
127
127
|
field may contain image tags, YouTube tags, etc. -- nearly everything except
|
128
128
|
`<script>` tags. If you choose to use JavaScript, you must do it inside an
|
129
|
-
iframe and call that iframe inside this field.
|
129
|
+
iframe and call that iframe inside this field. **Note**: If you put an image or iframe in this field, make sure to set `height` and `width` attributes, or the card may not extend around the image.
|
130
130
|
|
131
131
|
<a id="deployment"></a>
|
132
132
|
## Folder structure and deployment
|
@@ -180,7 +180,7 @@ in/out, previous/next buttons) are available within `#TS-top_matter_container .T
|
|
180
180
|
Series checkboxes are injected into `.TS-series_nav_container` and templated
|
181
181
|
via `script#TS-notch_tmpl`. Currently, series colors are hard coded in the
|
182
182
|
JavaScript. We support a maximum of nine series colors (assigned in this order:
|
183
|
-
``#065718, #EDC047, #91ADD1, #929E5E, #9E5E23, #C44846, #
|
183
|
+
``#065718, #EDC047, #91ADD1, #929E5E, #9E5E23, #C44846, #465363, #EDD4A5, #CECECE``,
|
184
184
|
they can be overridden in the "color priority" section of `timeline-setter.css`). Technically
|
185
185
|
you can create an unlimited number of series, but they will eventually fall back
|
186
186
|
to the default charcoal notch color.
|
@@ -226,6 +226,7 @@ On the client side, there are a number of features we plan to add, including:
|
|
226
226
|
## Links
|
227
227
|
|
228
228
|
* In the Wild: [ProPublica: How One Blast Affected Five Soldiers](http://www.propublica.org/special/tbi-psycho-platoon-timeline)
|
229
|
+
* In the Wild: [TPM: The Wisconsin Union Struggle Timeline](http://www.talkingpointsmemo.com/interactive/2011/04/the-wisconsin-union-struggle-timeline.php)
|
229
230
|
|
230
231
|
<a id="credits"></a>
|
231
232
|
## Credits
|
@@ -242,7 +243,17 @@ questions should go to <a href="mailto:opensource@propublica.org">opensource@pro
|
|
242
243
|
<a id="changelog"></a>
|
243
244
|
## Change Log
|
244
245
|
|
245
|
-
<a id="release-
|
246
|
+
<a id="release-011"></a>
|
247
|
+
### 0.1.1
|
248
|
+
|
249
|
+
* Made JavaScript smarter about image widths, so now images can be used without specifying height and width attributes
|
250
|
+
* Fixed "read more" buttons so they can be clicked everywhere, not just on the text
|
251
|
+
* Fixed a CLI bug where timeline was being put in the wrong place when output directory is specified without a trailing slash
|
252
|
+
* Fixed duplicate colors in CSS
|
253
|
+
* Fixed layout rendering problems when a card was more than half the size of the timeline
|
254
|
+
* Fixed an issue where JSON couldn't be generated in Ruby 1.9
|
255
|
+
|
256
|
+
<a id="release-010"></a>
|
246
257
|
### 0.1.0
|
247
258
|
|
248
259
|
Initial release
|