Releases: texastribune/data-visuals-create
Releases · texastribune/data-visuals-create
[7.6.5] - 2024-04-02 🦊
[7.6.5] - 2024-04-08
Added
templates/__common__/app/templates/includes/figma2html-config.html
- added a script to 1) tweak figma2html output's image sources and 2) resize using CSS media query
Changed
templates/graphic/app/templates/graphic-static.html
- added a line to easily insert manual script related to figma2htmltemplates/__common__/config/tasks/parse-figma2html.js
- refined script to move figma2html files, added error handling when there's no figma2html-exports directory in workspacetemplates/__common__/app/styles/_typography.scss
,templates/__common__/app/styles/_typography-queso.scss
- added css style rules to show bold and italic correctly on figma2html graphics
[7.6.1] - 2024-02-12 🦊
Added
templates/__common__/_babel.config.json
- added a babel configuration file to ignore warnings
Changed
- Bumped
queso-ui
from 10.3.2 to 10.4.0 - Bumped
sass-mq
from 5.0.0 to 6.0.0
Updated markups and styles of feature templates to match new Tribune CMS styles:
- Changed:
templates/__common__/app/templates/macros/shares.html
,templates/feature/app/index.html
,templates/feature/app/templates/components/footer.html
,templates/feature/app/templates/components/navbar.html
,templates/feature/app/templates/components/share.html
,templates/feature/app/templates/includes/shares.html
,templates/feature/app/templates/includes/svg-defs.html
- Changed:
templates/feature/app/styles/components/_navbar.scss
,templates/feature/app/styles/main-queso.scss
- Added:
templates/feature/app/styles/components/_details.scss
[7.6.0] - 2023-11-30 🦊
Added
templates/__common__/config/tasks/parse-figma2html.js
- added a script to unzip exported figma2html file and move files to designated directories
Changed
templates/__common__/config/scripts/develop.js
- addedparseFigma2html
function which will run first in the series of promissestemplates/graphic/app/templates/graphic-static.html
- added a description about figma2html and code chunks to insert figma2html's html file, cleaned templatetemplates/__common__/app/styles/components/_graphic.scss
- cleaned some CSS so the grahic is center aligned and text doesn't get wider than 41.5rem following the styles in CMS
[7.4.6] - 2023-11-02 🦊
Fixed
- Fixed an issue where Kit is unable to take screenshots, making it not showing up in the CMS
Changed
templates/__common__/config/tasks/graphics-meta.js
- removedheadless: 'new'
from thepuppeteer.launch()
function
[7.4.5] - 2023-10-27 🦊
Changed
- Bumped update-check from 1.5.3 to 1.5.4
- Bumped http-cache-semantics from 4.1.0 to 4.1.1
- Bumped queso-ui from 9.4.2 to 10.3.2
- Bumped puppeteer from 5.5.0 to 19.4.0
templates/__common__/config/tasks/graphics-meta.js
- addedheadless: 'new'
to thepuppeteer.launch()
function following deprecation guidance frompuppeteer
[7.4.4] - 2023-07-10 🦊
Added
templates/__common__/config/tasks/check-node-versions.js
- detect node versions and show an error message when version 16 or older is used
Changed
templates/__common__/config/package.json
- runtemplates/__common__/config/tasks/check-node-versions.js
when runningparse
,start
, andbuild
; addengines
to specify requirements for node version (17 or later)README.md
- add a sentence to explaindata-visuals-create
only supports node version 17 or later
[7.4.2] - 2022-12-22 🦊
Changed
templates/__common__/config/tasks/graphics-meta.js
- comment out array transformation of a source line to hot fix the issue where the metadata format is not accepted to log a project on our spreadsheet
[7.4.1] - 2022-11-23 🦊
Changed
templates/__common__/utils/fetch/authorize.js
- change parameters to pass to Google OAuth 2.0 authorization URL, tweak terminal languages and string manipulation as a process of out-Of-Band (OOB) flow Migration
[7.4.0] - 2022-06-06 🦊
Changed
templates/__common__/config/tasks/graphics-meta.js
- make sources metadata an arraytemplates/feature/app/scripts/utils/ad-loader.js
- make ad square if ad has classdv-gpt-ad-square
templates/feature/app/templates/embed.html
,templates/graphic/app/templates/graphic-static.html
- wrap credit, note and source metadata indata-
tags so "Credit:", "Note:" and "Source:" don't appear in metadatatemplates/graphic/app/templates/graphic.html
- add default graphic headline and wrap credit, note and source metadata indata-
tags
[7.3.0] - 2022-04-20 🦊
Added
templates/feature/app/scripts/packs/graphic-embed.js
,templates/feature/app/scripts/packs/main-embed.js
- add JS scripts for graphic embeds in feature template
Changed
templates/graphic/app/scripts/embeds/frames.js
->templates/__common__/app/scripts/embeds/frames.js
- move frames script to common folder so it's included in graphics and featurestemplates/__common__/app/templates/macros/prose.html
,templates/feature/app/templates/macros/processors.html
- pass intype
to prose and processors so we can modify the CSS class attached to prose paragraphs (graphic embeds and full-page features have different prose styles)templates/feature/app/templates/base-graphic.html
->templates/feature/app/templates/base-embed.html
- rename base graphic embed template in featurestemplates/feature/app/templates/graphic.html
->templates/feature/app/templates/embed.html
- rename graphic embed template in features