Commit graph

351 commits

Author SHA1 Message Date
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
Nick Taylor
cd25f9adfc Downgrade Storybook for Webpack compatibility (#5783) 2020-01-28 16:37:25 -05:00
dependabot-preview[bot]
a4765003a4 Bump codemirror from 5.50.2 to 5.51.0 (#5742)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.50.2 to 5.51.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.50.2...5.51.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 12:51:16 -05:00
dependabot-preview[bot]
d42fda0692 Bump twilio-video from 2.0.0 to 2.0.1 (#5743)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/2.0.0...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 12:50:41 -05:00
dependabot-preview[bot]
c3f8d5b520 Bump @github/clipboard-copy-element from 1.1.1 to 1.1.2 (#5746) 2020-01-27 06:45:00 -05:00
dependabot-preview[bot]
7f1c3f3580 Bump husky from 4.0.10 to 4.2.1 (#5749)
Bumps [husky](https://github.com/typicode/husky) from 4.0.10 to 4.2.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.0.10...v4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 06:43:09 -05:00
dependabot-preview[bot]
85de645453 Bump lint-staged from 10.0.0 to 10.0.2 (#5750) 2020-01-27 06:40:25 -05:00
Jacob Herrington
3e99fb527f Add StimulusJS and Refactor Internal article_script (#5539) deploy]
* Add StimulusJS 1.1.1

Because:
- Internal will likely need more interactivity going forward
- Vanilla JS and jQuery are great, but aren't quite as organized as we
might like
- Stimulus fits our model of what internal should be (imo)
- Adopting Preact or something with templating would require rewriting a
bunch of erb (that is currently working just fine)

Stimulus is a JavaScript framework that directly compliments turbolinks
and the approach vanilla Rails takes to JavaScript. I've set it up to
specifically be used in the internal views where we are currently using
jQuery and vanilla JS. I think we should chip away at the vanilla JS
currently in place with this, which appears to be both scalable and
pragmatic exactly the sort of tool we want for building our internal
tools.

* Replace crufty article JS with Stimulus

I'm swapping out some of the stuff going on in article_script.erb with
some StimulusJS, it seems like a good test case for Stimulus.

This lets us organize the code a little more intentionally and hopefully
fixes a small performance complaint that Michael had.

* Rename uncommunicative methods

* Add unit tests for Stimulus classes

* Move Stimulus code to javascript/internal
2020-01-24 16:00:24 -05:00
Nick Taylor
7d93594447 Fix package.json name. (#5668) 2020-01-23 10:26:58 -05:00
rhymes
09cf6719eb Use honeybadger.js from npm (#5643)
rails-assets.org is often down, and apparently has been down intermittently since yesterday.

In addition to this the only thing the gem does is literally to add `honeybadger.js` to the assets path:

```ruby
gem_path.join('app/assets').each_child.to_a
```

Hence we can ditch the gem and use the library directly.
2020-01-22 08:22:51 -05:00
dependabot-preview[bot]
cde25ec8d1 Bump husky from 4.0.7 to 4.0.10 (#5593) 2020-01-20 15:02:34 -05:00
dependabot-preview[bot]
2c8ee69b1a Bump eslint-plugin-react from 7.17.0 to 7.18.0 (#5595)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.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.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 13:31:38 -05:00
rhymes
af302b511d Remove git add from lint staged (#5607) 2020-01-20 11:34:32 -05:00
dependabot-preview[bot]
57d2e5b8a8 Bump jest-axe from 3.2.0 to 3.3.0 (#5594)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 3.2.0 to 3.3.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.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:15:49 -05:00
dependabot-preview[bot]
8a853aa44f Bump lint-staged from 9.5.0 to 10.0.0 (#5592)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.5.0 to 10.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.5.0...v10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:14:20 -05:00
dependabot-preview[bot]
8f87f02978 Bump eslint-plugin-import from 2.19.1 to 2.20.0 (#5479) [deploy]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 12:05:48 -05:00
dependabot-preview[bot]
0c305c3347 Bump husky from 3.1.0 to 4.0.7 (#5482) [deploy]
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.0.7.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.1.0...v4.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:18:02 -06:00
dependabot-preview[bot]
1fed89ed02 Bump redoc-cli from 0.9.4 to 0.9.5 (#5481)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.4 to 0.9.5.
- [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-01-13 16:10:45 -06:00
dependabot-preview[bot]
1c2a0816f6 Bump codemirror from 5.50.0 to 5.50.2 (#5363) 2020-01-06 16:23:12 -05:00
dependabot-preview[bot]
277c496d4c Bump eslint-config-prettier from 6.7.0 to 6.9.0 (#5284) 2019-12-30 12:10:13 -05:00
dependabot-preview[bot]
d213cbf0a6 Bump jest-fetch-mock from 3.0.0 to 3.0.1 (#5283) 2019-12-30 10:22:48 -05:00
dependabot-preview[bot]
b5db5b19a9 Bump jest-fetch-mock from 2.1.2 to 3.0.0 (#5207) 2019-12-26 15:29:06 -05:00
dependabot-preview[bot]
d1cb715858 Bump codemirror from 5.49.2 to 5.50.0 (#5209) 2019-12-26 14:02:22 -05:00
dependabot-preview[bot]
eb8f0a005c Bump twilio-video from 1.20.0 to 2.0.0 (#5208) 2019-12-26 13:54:43 -05:00
dependabot-preview[bot]
92dbbd2873 Bump marked from 0.7.0 to 0.8.0 (#5125) 2019-12-16 13:27:26 -05:00
dependabot-preview[bot]
ecada63c30 Bump redoc-cli from 0.9.2 to 0.9.4 (#5126)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.2 to 0.9.4.
- [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>
2019-12-16 11:09:31 -05:00
Mac Siri
83e1313b1a
Expand Lint-staged's file coverage (#5109) [ci skip] 2019-12-13 16:28:31 -05:00
dependabot-preview[bot]
65d38c4501 Bump eslint-plugin-import from 2.18.2 to 2.19.1 (#5042) 2019-12-09 16:57:22 -05:00
dependabot-preview[bot]
6f6f453e6c Bump eslint-plugin-react from 7.16.0 to 7.17.0 (#4978) 2019-12-02 13:56:30 -05:00
dependabot-preview[bot]
bd8f746f1f Bump lint-staged from 9.4.3 to 9.5.0 (#4974)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.3 to 9.5.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.3...v9.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 08:56:11 -05:00
Jacob Herrington
7d0aeeefe5 Improve the clarity of the docs and fix Prettier config (#4899)
* Improve format and clarity of the docs [ci skip]

While this change produces a lot of git noise by enacting what seems
like an arbitrary linewrap on most of the files in the documentation it
will result in better version control and tracking of the changes in the
documentation.

For example, as it currently stands, if one was to make a
PR to move a comma in a sentence because each paragraph in most of the
files is on a single line, that small change would look in the git
history like the author had modified the entire paragraph. In reality,
this author just moved a comma.

This change also includes a significant number of modifications to the
more article-esque docs. Many of these docs were written in a sort of
stream-of-conciousness and aren't as easy to read as they could be.
Hopefully this is the first of several readability changes. If we could
get these docs to a more accessible reading level, we would probably see
an increase in contributions. :)

* Delegate markdown wrapping to Prettier

* Add linewrapping explanation in the docs [ci skip]
2019-11-26 08:40:53 -05:00
dependabot-preview[bot]
41def72da7 Bump pusher-js from 5.0.2 to 5.0.3 (#4909) [deploy] 2019-11-25 14:14:55 -05:00
dependabot-preview[bot]
cf403aba6c Bump eslint-config-prettier from 6.6.0 to 6.7.0 (#4908) 2019-11-25 10:43:34 -05:00
Jacob Herrington
c6c5421163 Javascript automated testing and a11y doc (#4873)
* Add jext-axe package and introduce a11y testing

Automated a11y testing is NOT comprehensive. We cannot expect this to
even scratch the surface of potential a11y issues.

However, we can expect to find a percentage of issues that are currently
flying under the radar. Adopting some automation around a11y testing
also allows us to use CI to find a11y regressions -- which should be
really handy.

I've never really used Jest before, and Preact seems to make it a little
more complicated, but as far as I can tell, this is a decent way to add
at least some minor automated a11y testing.

* Add doc about automated a11y tests
2019-11-22 08:32:01 -05:00
Mac Siri
d2373b5678
Add Clipboard polyfill (#4824) [deploy] 2019-11-20 11:32:30 -05:00
dependabot-preview[bot]
24bd9206da Bump twilio-video from 1.19.2 to 1.20.0 (#4842)
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.19.2 to 1.20.0.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.20.0/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.19.2...1.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 16:04:20 -05:00
dependabot-preview[bot]
3be3be2b72 Bump lint-staged from 9.4.2 to 9.4.3 (#4845)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.2 to 9.4.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.2...v9.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 16:00:56 -05:00
dependabot-preview[bot]
3c586ae759 Bump chart.js from 2.9.2 to 2.9.3 (#4846)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.2...v2.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 16:00:14 -05:00
dependabot-preview[bot]
933805063b Bump eslint-config-prettier from 6.5.0 to 6.6.0 (#4844)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.5.0...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 15:58:03 -05:00
dependabot-preview[bot]
9990739012 Bump husky from 3.0.9 to 3.1.0 (#4847)
Bumps [husky](https://github.com/typicode/husky) from 3.0.9 to 3.1.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.0.9...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 15:57:37 -05:00
dependabot-preview[bot]
9686b2b6c4 Bump preact from 8.5.2 to 8.5.3 (#4772) 2019-11-12 11:38:08 -05:00
dependabot-preview[bot]
ca8673a638 Bump @github/clipboard-copy-element from 1.0.7 to 1.1.1 (#4771) 2019-11-11 16:06:33 -05:00
dependabot-preview[bot]
f73bd64c60 Bump prettier from 1.18.2 to 1.19.1 (#4773)
Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:26:31 -05:00