Skip to content

Releases: texastribune/data-visuals-create

[7.6.5] - 2024-04-02 🦊

02 Apr 14:53
Compare
Choose a tag to compare

[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 figma2html
  • templates/__common__/config/tasks/parse-figma2html.js - refined script to move figma2html files, added error handling when there's no figma2html-exports directory in workspace
  • templates/__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 🦊

12 Feb 23:02
Compare
Choose a tag to compare

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 🦊

12 Feb 23:01
Compare
Choose a tag to compare

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 - added parseFigma2html function which will run first in the series of promisses
  • templates/graphic/app/templates/graphic-static.html - added a description about figma2html and code chunks to insert figma2html's html file, cleaned template
  • templates/__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 🦊

02 Nov 20:14
Compare
Choose a tag to compare

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 - removed headless: 'new' from the puppeteer.launch() function

[7.4.5] - 2023-10-27 🦊

27 Oct 21:13
ea4e186
Compare
Choose a tag to compare

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 - added headless: 'new' to the puppeteer.launch() function following deprecation guidance from puppeteer

[7.4.4] - 2023-07-10 🦊

11 Jul 01:23
Compare
Choose a tag to compare

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 - run templates/__common__/config/tasks/check-node-versions.js when running parse, start, and build; add engines to specify requirements for node version (17 or later)
  • README.md - add a sentence to explain data-visuals-create only supports node version 17 or later

[7.4.2] - 2022-12-22 🦊

22 Dec 18:31
1907a44
Compare
Choose a tag to compare

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 🦊

23 Nov 17:53
7642751
Compare
Choose a tag to compare

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 🦊

06 Jun 23:17
a0bcef9
Compare
Choose a tag to compare

Changed

  • templates/__common__/config/tasks/graphics-meta.js - make sources metadata an array
  • templates/feature/app/scripts/utils/ad-loader.js - make ad square if ad has class dv-gpt-ad-square
  • templates/feature/app/templates/embed.html, templates/graphic/app/templates/graphic-static.html - wrap credit, note and source metadata in data- tags so "Credit:", "Note:" and "Source:" don't appear in metadata
  • templates/graphic/app/templates/graphic.html - add default graphic headline and wrap credit, note and source metadata in data- tags

[7.3.0] - 2022-04-20 🦊

21 Apr 00:43
495d1ed
Compare
Choose a tag to compare

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 features
  • templates/__common__/app/templates/macros/prose.html, templates/feature/app/templates/macros/processors.html - pass in type 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 features
  • templates/feature/app/templates/graphic.html -> templates/feature/app/templates/embed.html - rename graphic embed template in features