Releases: USGS-VIZLAB/vizlab
Releases · USGS-VIZLAB/vizlab
drop imager dependency
content.css to fix header/footer spacing
webpack + dev/prod modes
Be able to build webpack using different modes specified in your viz repo's package.json
file. Just change the argument when you run vizmake
to the correct script, e.g. vizmake(webpack_build_cfg = "dev")
or vizmake(webpack_build_cfg = "prod")
.
webpack
Add initial webpack functionality to repo.
setting analytics vars in initial GA snippet
Merge pull request #387 from wdwatkins/master namespace analytics vars, bump version
Footer style changes for Section 508 compliance
image lazy loading ability + usgs-analytics script moved
Merge pull request #375 from lindsaycarr/master load usgs-analytics after the footer
v0.3.4
Merge pull request #368 from mwernimont/master Version update
Remake and more
This release finalizes our October 2017 Sprint, with follow up through February 2018, by Appling, DeCicco, Oliver, Read, Wernimont, and Zwart
In future vizzies, you should…
- DON'T bother with createProfile() or createMakefiles(), or using make to build. DO:
- run
vizmake()
in the R console to build the viz, no configuration required - run
vizid <- vizmake('vizid')
for one ID to build that step and its dependencies
- run
- DON'T bother with log files for diagnosing problems. DO:
- add
browser()
lines to use as breakpoints duringvizmake()
runs, or - add
browser()
lines duringvizmake('vizid')
for a single viz id, or - add RStudio breakpoints and call
fetch('vizid')
(orprocess
, etc.), or - get the read-in output of individual targets with
vizid <- vizmake('vizid')
- add
- DO read and edit the vizlab wiki - we added a lot, including:
- rules of engagement for viz sprints
- a style guide
- an explanation of
fetch
andfetchTimestamp
- DON'T set a default like
viz=as.viz('viewbox')
in fetch/etc. methods. DO use this format:
fetch.viewbox <- function(viz)
and then call
debug(fetch.viewbox); fetch('viewbox')
or
debug(fetch.viewbox); vizmake('viewbox')
to run the method - DO create fetch items that depend on process items when needed
- DO try out
fetch.usgs_watermark
,readData.shp
, andreadData.svg
- DO try out
publish.json
andpublish.tabular
for preparing data for use with d3 or jquery - DO use the new
hovertext
function from inst/js/tooltip.js, which keeps itself visible and moves around smoothly
What we did
- Improved thumbnails
- Simplified information required in viz.yaml
- Fixed embedding
- Switched from make to remake
- vizmake acts much like remake::make but with bonus features
- Fetch items can depend on process items
- Prints time at start and end of each build
- Timestamps are better tested and sure seem to be working
- The build may be faster. Skipping unnecessary steps (see timestamps ^^) definitely makes it faster
- Improved built-in tooltip support
- Moves smoothly with mouse
- Doesn't get clipped by the edges of the svg
- Multiple svgs are possible
- Added data-handling functions
- fetch.usgs_watermark - grabs USGS letters and wave for watermark placement
- readData.shp - assumes 1 layer in the shapefile. More specific shapefile readers with indexing capabilities will be created for vizstorm
- readData.svg - should work for any svg
- Upgraded our analytics
- Added DOI analytics code
- Upgraded to new Google Analytics system
- Added a tracker or two
- Improved our branding
- Retina favicon on viz & landing pages
- Removed OWI logo from landing page
- Added "U.S. Geological Survey" to footer
- Curated the issues
with GIF mimetype
Includes many parts of October 2017 sprint (https://github.com/USGS-VIZLAB/vizlab/projects/4) but nothing remake-related.