Commit graph

543 commits

Author SHA1 Message Date
Michael Kohl
8b5e66ca0e
Docker fixes (#6803)
* Try out parallel Travis builds

* Add more Bundler options

* Appease the spec gods

I don't think we actually need Timecop.freeze in this spec

* Try inlining factories

* Make sure the time has actually changed

* Add CodeClimate coverage for parallel build

* Explicitly list jobs, don't rely on matrix expansion

* Merge master and move storybook to after_script

* Add missing environment variable

* Remove old cc-test-reporter config

* Move yarn build-storybook back to script, remove conditional coverage upload

* Update yarn constraint and Docker docs

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-03-24 13:15:04 -04:00
Nick Taylor
462b65a27b
Upgraded @storybook/addon-knobs to 5.3.17 (#6812) 2020-03-24 11:21:11 -04:00
Nick Taylor
18a7c58fdd
Added missing dependencies for Heroku deploys. (#6800) 2020-03-24 11:12:00 +01:00
Nick Taylor
bac84ea962
Add @babel/plugin-syntax-dynamic-import to dependencies (#6799) [deploy] 2020-03-23 18:23:08 -04:00
Nick Taylor
be3a1be10f
Upgrade to webpacker 5.0.0 (#6786) 2020-03-23 13:23:41 -04:00
Nick Taylor
52c2f40256
Upgrade Storybook to 5.3.17 (#6754)
* Renabled building Storybook.

* Explicitly added webpack style loaders for Storybook custom webpack config.

* Upgraded Storybook configuration.

* Added mixin/function to handle SASS compilation for Sprockets and Storybook's webpack.

* Readded stylesheets/js required for crayons to run.

* Added a custom title to Storybook.

* Fixed custom Storybook CSS.

* Migrated Search storybook stories.

* Migrated crayons' box stories.

* Migrated crayons' modal stories.

* Migrated crayons' button stories.

* Changed title a bit until we get a logo.

* Migrated crayons' notice stories.

* Migrated crayons' dropdown stories.

* Migrated crayons' indicator stories.

* Migrated crayons' typography stories.

* Migrated crayons' form element stories.

* Migrated crayons' navigation stories.

* Migrated crayons' avatar & logo stories.

* Migrated fatured article stories.

* Migrated article loading stories.

* Migrated today's podcast episodes stories.

* Migrated podcast episode stories.

* Migrated rest of article stories.

* Update app/javascript/.storybook/manager.js

Co-Authored-By: rhymes <rhymesete@gmail.com>

* Commented new SASS function and mixin.

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-03-23 09:46:50 -04:00
dependabot-preview[bot]
0ebdf17efe
Bump marked from 0.8.0 to 0.8.1 (#6719) 2020-03-20 11:38:23 -04:00
Nick Taylor
1b822c2d80
Fix devDependencies/dependencies issue in package.json (#6736) [deploy] 2020-03-19 17:51:57 -04:00
dependabot-preview[bot]
127b1a1e41
Bump honeybadger-js from 2.1.3 to 2.2.0 (#6722) 2020-03-19 14:50:28 -04:00
dependabot-preview[bot]
24c3090842
Bump ibm-openapi-validator from 0.25.0 to 0.26.0 (#6720) 2020-03-19 13:39:20 -04:00
dependabot-preview[bot]
2a6716f359
Bump redoc-cli from 0.9.6 to 0.9.7 (#6723)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.6 to 0.9.7.
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-19 13:22:43 -04:00
dependabot-preview[bot]
912cc0a605
Bump @stoplight/spectral from 5.1.0 to 5.2.0 (#6724) 2020-03-19 11:33:19 -04:00
Nick Taylor
8c235c3211
Revert "Get those devDeps back! (#6690)" [deploy] (#6696)
This reverts commit 432e2c4f29.
2020-03-18 11:40:00 -04:00
Nick Taylor
432e2c4f29
Get those devDeps back! [deploy] (#6690)
Fixed the issue with a dev dependency having to be a dependency in package.json so that deploys work on Heroku.
2020-03-18 10:28:07 -04:00
Nick Taylor
adc83f7175
Moved devDependencies to dependencies to attempt fixing deploy (#6685) [deploy] 2020-03-17 17:38:24 -04:00
Molly Struve
51bb16adee
specify yarn version in package.json (#6680) [deploy] 2020-03-17 14:05:47 -05:00
Nick Taylor
ccf7e6e5bf
Upgrade to webpacker/webpack 4 and Babel 7 (#6664)
Upgraded to webpacker 4/webpack 4 and Babel 7
2020-03-17 08:20:36 -04:00
dependabot-preview[bot]
a5523584df
Bump ibm-openapi-validator from 0.24.1 to 0.25.0 (#6653) 2020-03-16 13:16:54 -04:00
dependabot-preview[bot]
730f76cf9b
Bump jsdom from 16.2.0 to 16.2.1 (#6654) 2020-03-16 13:16:28 -04:00
dependabot-preview[bot]
a191123c85
Bump jest-fetch-mock from 3.0.2 to 3.0.3 (#6652)
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-16 10:00:17 -04:00
dependabot-preview[bot]
dfc3171fae
Bump eslint-config-airbnb-base from 14.0.0 to 14.1.0 (#6651) [deploy] 2020-03-16 09:19:29 -04:00
dependabot-preview[bot]
ab2670625e
Bump jest-fetch-mock from 3.0.1 to 3.0.2 (#6535) 2020-03-09 17:31:07 -04:00
dependabot-preview[bot]
776e0e7a07
Bump eslint-plugin-react from 7.18.3 to 7.19.0 (#6536)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.18.3 to 7.19.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.18.3...v7.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 16:46:36 -04:00
dependabot-preview[bot]
b096b19897
Bump jest-axe from 3.3.0 to 3.4.0 (#6537)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/nickcolley/jest-axe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-09 15:39:22 -04:00
rhymes
4c6b901b7a
Validate API OpenAPI 3 spec (#6519)
* Add @stoplight/spectral to dev dependencies for validation

* Add yarn api-docs:lint command

* Fix linting errors

* Lower severity level

* Add ibm-openapi-validator as linter, as it inspects slightly differently
2020-03-09 16:40:05 +01:00
dependabot-preview[bot]
3b2b9cb77b
Bump babel-eslint from 10.0.3 to 10.1.0 (#6403) [deploy]
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.3 to 10.1.0.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.3...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 10:16:21 -05:00
dependabot-preview[bot]
93e8bfed48
Bump lint-staged from 10.0.7 to 10.0.8 (#6404) 2020-03-02 10:36:36 -05:00
rhymes
c3e7179f5b
Bump to sprockets 4.0.0 (#6172) [deploy]
* Bump to sprocket 4.0.0

* Add manifest.js

* Link internal/layout.css

* Make it more similar to Rails 5.2 default
2020-02-24 18:16:08 -05:00
dependabot-preview[bot]
f54153d334
Bump codemirror from 5.51.0 to 5.52.0 (#6268) 2020-02-24 18:14:45 -05:00
dependabot-preview[bot]
40290a633c
Bump twilio-video from 2.1.0 to 2.2.0 (#6272) 2020-02-24 18:14:13 -05:00
Nick Taylor
689b933a2e
Upgraded all Storybook dependencies. (#6278) 2020-02-24 08:55:28 -06:00
dependabot-preview[bot]
b689e9c343
Bump honeybadger-js from 2.1.2 to 2.1.3 (#6266)
Bumps [honeybadger-js](https://github.com/honeybadger-io/honeybadger-js) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/v2.1.2...v2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 09:03:47 -05:00
Nick Taylor
5e677daac1
Homepage feed components (#6052)
* wip - <PodcastArticle /> component.

* Added filler user avatar for other article types.

* Added <LoadingArticle /> component.

* wip

* wip on <Article /> component.

* Added <Article /> component to barrel file.

* Deleted assets from dummy storybook assets folder.

* Updated podcast article story avatar.

* More work on <Article /> component.

* Refactoring Storybook stories.

* Refactored so main component is just the <Article /> component.

* Added a missing video article property.

* Some refactoring of <Article /> component.

* Added Storybook knobs addon.

* Now <Article /> component supports an isBookmarked prop.

* Fixed podcast Storybook story.

* Made the knobs Storybook addon the first tab

* Added more <Article /> Storybook stories.

* More <Article /> component tweaks.

* Added publish time to <Article /> component stories.

* Made the timeAgo function compatible with Preact.

* Added loading="lazy" attribute to <img /> in <Article /> component.

* Added <Article /> Storybook story for past published date.

* Fixed publish date for <Article /> story data.

* Scrapped random avatars.

* Added snapshots for <Article /> component.

* Added snapshots for <LoadingArticle /> component.

* Now test article entities are shared.

* Fixed some wording of Storybook stories.

* Breaking up Article.jsx to make codeclimate happy.

* Now <Article /> component receives icon props.

* Added knobs for <Article /> icon props.

* Added *.stories.jsx to codeclimate exclusion list.

* Added **/*.stories.jsx to codeclimate exclusion list.

* Alright now we have the good glob for excluding Storybook from codeclimate 😆

* Added org headline changes from low hanging fruit PR.

* Updated <Article /> snapshot for org headline.
2020-02-19 11:39:13 -06:00
Nick Taylor
ee9b1f58b9
Enabled ERB support for webpacker (#6166) [deploy] 2020-02-19 08:58:37 -05:00
Nick Taylor
a7dc893f50
Updates to Storybook for home page makeover. (#6130) 2020-02-18 08:42:37 -06:00
dependabot-preview[bot]
88bddc13e8
Bump jsdom from 16.1.0 to 16.2.0 (#6111) 2020-02-17 12:07:08 -05:00
dependabot-preview[bot]
de87cb5dc4
Bump honeybadger-js from 2.1.1 to 2.1.2 (#6113)
Bumps [honeybadger-js](https://github.com/honeybadger-io/honeybadger-js) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases)
- [Changelog](https://github.com/honeybadger-io/honeybadger-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 09:43:55 -05:00
dependabot-preview[bot]
31908e84bd
Bump pusher-js from 5.0.3 to 5.1.1 (#6112) 2020-02-17 09:16:35 -05:00
dependabot-preview[bot]
247f4295eb
Bump husky from 4.2.1 to 4.2.3 (#6114) 2020-02-17 09:11:40 -05:00
Nick Taylor
3a46635c34
Configure husky/lint-staged for *.scss files. (#6089) 2020-02-16 16:55:37 -05:00
dependabot-preview[bot]
0962f6656c
Bump twilio-video from 2.0.1 to 2.1.0 (#5990) 2020-02-10 13:48:26 -05:00
dependabot-preview[bot]
665fd822eb
Bump honeybadger-js from 2.1.0 to 2.1.1 (#5986) 2020-02-10 13:44:04 -05:00
dependabot-preview[bot]
bdf0888590
Bump redoc-cli from 0.9.5 to 0.9.6 (#5988)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 09:33:24 -05:00
dependabot-preview[bot]
22c643669a
Bump jsdom from 15.2.1 to 16.1.0 (#5845) [deploy]
Bumps [jsdom](https://github.com/jsdom/jsdom) from 15.2.1 to 16.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/15.2.1...16.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 17:05:31 -05:00
dependabot-preview[bot]
1b79b03874
Bump eslint-config-prettier from 6.9.0 to 6.10.0 (#5850) 2020-02-04 15:47:30 -05:00
dependabot-preview[bot]
95b1bd832b
Bump eslint-plugin-react from 7.18.0 to 7.18.3 (#5851) 2020-02-04 15:29:17 -05:00
dependabot-preview[bot]
4a3411f33a
Bump honeybadger-js from 2.0.2 to 2.1.0 (#5849) 2020-02-03 12:05:07 -05:00
dependabot-preview[bot]
951f917d88
Bump lint-staged from 10.0.3 to 10.0.7 (#5852) 2020-02-03 10:29:06 -05:00
dependabot-preview[bot]
52ecb94837
Bump @storybook/addons from 3.4.11 to 3.4.12 (#5843) 2020-02-03 10:27:41 -05:00
dependabot-preview[bot]
bf9ede94bf
Bump eslint-plugin-import from 2.20.0 to 2.20.1 (#5844) 2020-02-03 10:27:23 -05:00