Commit graph

16 commits

Author SHA1 Message Date
dependabot[bot]
3d3c8cc529 Bump node-sass from 4.9.0 to 4.9.3 (#473) [ci skip]
Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.0 to 4.9.3.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.9.0...v4.9.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 17:11:53 -04:00
dependabot[bot]
852ab0679a Bump lint-staged from 7.2.0 to 7.2.2 (#497) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.2.0 to 7.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v7.2.0...v7.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 16:51:59 -04:00
Grey Baker
5db053157b Bump eslint (#476) [ci skip]
* Bump eslint from 4.13.1 to 5.4.0

Bumps [eslint](https://github.com/eslint/eslint) from 4.13.1 to 5.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.13.1...v5.4.0)

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

* Use Node 8 on TravisCI (default is 0.12!)

* Update package-lock.json and yarn.lock for rebase changes
2018-08-28 16:30:37 -04:00
dependabot[bot]
42d2384430 Bump prop-types from 15.6.0 to 15.6.2 (#498) [ci skip]
Bumps [prop-types](https://github.com/facebook/prop-types) from 15.6.0 to 15.6.2.
- [Release notes](https://github.com/facebook/prop-types/releases)
- [Changelog](https://github.com/facebook/prop-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/prop-types/commits/v15.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 15:50:58 -04:00
dependabot[bot]
41db1db19d Bump @storybook/addon-actions from 3.4.6 to 3.4.10 (#472) [ci skip]
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook) from 3.4.6 to 3.4.10.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v3.4.6...v3.4.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 15:12:56 -04:00
dependabot[bot]
7a5e5ec0a4 Bump babel-preset-env from 1.6.1 to 1.7.0 (#467) [ci skip]
Bumps [babel-preset-env](https://github.com/babel/babel-preset-env) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/babel/babel-preset-env/releases)
- [Changelog](https://github.com/babel/babel-preset-env/blob/1.x/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-preset-env/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 15:11:43 -04:00
dependabot[bot]
4be345eb34 Bump jest from 22.1.2 to 23.5.0 (#499) [ci skip]
Bumps [jest](https://github.com/facebook/jest) from 22.1.2 to 23.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v22.1.2...v23.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-28 14:53:40 -04:00
dependabot[bot]
386b5a31e3 Bump eslint-config-prettier from 2.9.0 to 3.0.1 (#517) [ci skip] 2018-08-28 14:06:34 -04:00
dependabot[bot]
3468cf5a26 Bump codemirror from 5.39.0 to 5.40.0 (#500)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.39.0 to 5.40.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.39.0...5.40.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-27 16:43:52 -04:00
Mac Siri
0f3342bcec [WIP] Implement non front-matter editor (#415)
* Create alternate editor

* Install linkstate (?)

Not sure how it disappear in the first place

* Run yarn install

* Modulize ArticleForm component

* Refactor

* Isolating css WIP

* Implement simplified frontmatter-less editor

* Modulize individual form element

* Ajust props names

* Transform json params to snakecase

* Remove codes

* Update /new, almost there for release

* Fix editor resize issues

* Change defaultvalue to value in article form tag element

* Modify html buttons in article form
2018-07-27 20:12:33 -07:00
Nick Taylor
18980034d3 Nick/feature/search to preact (#532)
* Works, but lots of cleanup/questions.

* Fixed comment.

* Only want the search script to load once with InstantClick active.

* Removed unnecessary DOMContentLoaded from copy paste.

* 🔧 Enabled (P)React Devtools.

* Updated comment about reactToEvent.

* Removed unnecessary server-side generated JS for search.

* <Search /> component now has component state.

* Search functions are in there own module now.

* 👷Refactor

* Render propped it up.

* Fixed issue with encoding of search term.

* Removed data-no-instant attr from script.

* 👷Refactor

* Now flash of search loading is avoided..

* Moved search under components folder.

* Tests

* fixedEncodeURIComponent does not need to be exported.

* Tests

* Folders to ignore from the VS Code Local History extension.

* Tests

* Snapshot test for <Search /> component.

* Tests

* Now the <SearchContainer /> handles the '/' key shortcut.

* Made the search box ID a prop defaulting to 'nav-search'

* Excluded barrel files from code coverage.

* Componentized search CSS.

* Storybook stories for <Search /> component.

* Removed extension folders to ignore.

* Fixed logic for "/" key triggering search.

* updated jest snapshot for <Search /> component.

* updated package.json lock file.

* Disabled the import/prefer-default-export rule.

* Now search term clears if not on a non-search results page.

* removed comment that is no longer valid.

* No longer using render prop for Search. Doesn't make sense as it's not stuff that is reused.

* Added preact-render-spy do dev deps.
2018-07-19 17:02:48 -04:00
Nick Taylor
851bb4e336 Nick/task/onboarding article stories (#392)
* Updated lock file.

* Added an assets folder for Storybook.

* 👷Refactor

* Added some standard prop types for dev.to.

* Extracted onboarding article as it's own component.

* 👷Refactor

* Added Storybook stories for onboarding articles.
2018-06-06 10:29:46 -04:00
Nick Taylor
261b6683b3 Onboarding welcome Storybook stories (#385) 2018-06-05 14:50:30 -04:00
Nick Taylor
d67c2437bc Dx/add prettier code (#188)
* Added prettier for front-end code formatting.

* Prettier runs on JSX too now

Modified supported extensions for running prettier.

* Added some documentation in the README about prettier, husky and lint-staged.

* package-lock.json updated.

* Keep lint-staged package-manager agnostic (#196)

* Remove code-breaking comma
2018-04-09 14:05:18 -07:00
Nick Taylor
6a8df8c8dd Add (P)react Storybook. (#142) 2018-03-26 11:56:32 -04:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00