Wykres commitów

83 Commity (b7643f869d64e02624724eabb3a6b9ef567249be)

Autor SHA1 Wiadomość Data
Thibaud Colas bdf00874bd Enable tree shaking via Webpack 2 2017-06-14 13:47:53 +02:00
Thibaud Colas 6cfd139cc2 Inline util from redux-actions to reduce bundle size 2017-06-09 16:43:50 +03:00
Thibaud Colas e64903659e Remove unused react-addons-test-utils 2017-06-09 16:43:50 +03:00
Thibaud Colas fea537566f Remove unused Webpack loaders and babel-cli 2017-06-09 16:42:48 +03:00
Thibaud Colas b4f8e09e43 Replace babel-polyfill with more lightweight polyfills 2017-06-09 16:42:48 +03:00
Thibaud Colas 53923397cc Move Babel config to package.json 2017-06-09 16:42:48 +03:00
Thibaud Colas f75fa0a880 Use portable sub-directory install npm command 2017-06-09 16:42:48 +03:00
Thibaud Colas d2a62f7277 Remove useless browserify config from package.json 2017-06-09 16:42:48 +03:00
Thibaud Colas 61b6de2e4e Tidy up new React + API explorer for mobile (fixes #3607) (#3635)
* Remove useless CSS declaration

* Remove commented out styles

* Merge duplicate declarations

* Remove even more commented out code

* Move footer mq to footer declaration

* Remove more useless code

* Stop vendor prefixing for IE below 11

* Remove useless vendor prefixing

* Merge identical declarations

* Fix 1px overflow in content wrapper

* Fix explorer scrolling when open on mobile

* Remove unused import

* Add Redux performance measurements to explorer menu

* Rewrite explorer reducer to avoid unnecessary operations

* Stop changing reducer state on every action regardless of type

* Remove redundant children.isFetching property in nodes reducer

* Remove redundant children.isLoaded property in nodes reducer

* Remove redundant children.isError property in nodes reducer

* Refactor nodes explorer reducer with sub-reducer

* Fix linting issue

* Remove unused class name

* Change default icon className from empty string to null

* Remove old TODO comment

* Hoist icons in ExplorerItem component for better performance

* Add comment

* Add tooling for performance measurement of React components

* Clean up explorer panel component definition

* Make performance measurements opt-in

* Improve alignment of page explorer menu on mobile

* Close explorer on touchend rather than touchstart

* Comment out performance measurement code

* Remove fade transition completely
2017-06-09 00:08:04 +03:00
Janneke Janssen 911567af4e Update Webpack to v2 (#3628)
* Update webpack and its dependencies
* Update base config to Webpack 2
2017-06-07 12:39:24 +03:00
Janneke Janssen f4f0e78f6a Update React & Jest (#3611)
* Update to the latest jest version

* Update react dependencies

* Migrate React.PropTypes to PropTypes package

* Add prop-types to the package.json

* Update transition-group import to its new package

* Update jest snapshots

* Exclude node_modules from webpack babel-loader
2017-05-28 21:49:05 +03:00
Janneke Janssen 2ff4a5aad1 Update explorer for latest scope, UI, with tests 2017-05-13 23:53:10 +03:00
Rob Moorman a0e4b0bafa Pin eslint-config-wagtail version
Pin eslint-config-wagtail version to prevent conflicts with minor rule changesets
2017-05-13 23:53:10 +03:00
Harris L 3f85c5fed5 Make explorer tab-navigable
* use focus-trap-react
* switch clickable span to button
* let focus trap handle outside click
2017-05-13 23:53:10 +03:00
Sævar Öfjörð Magnússon 81c6f3e3b1 Change explorer behavior for pages w/ children, with tests 2017-05-13 23:53:10 +03:00
Thibaud Colas 8bf2c9bf2e Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
Josh Barr d675807cf8 First version of the explorer on top of admin API 2017-05-13 23:53:10 +03:00
Janneke Janssen 493a30bcf9 Add nvmrc to the project and updated developing docs 2017-02-20 11:14:33 +01:00
Janneke Janssen 64bb8b2989 Move webpack configuration in subfolder of client/
Move webpack configuration to a subfolder in the client directory

Remove trailing whitespace

Rename prd.config.js to prod.config.js

Simplify lint:js target path
2017-01-26 01:16:04 +02:00
Matt Westcott 6f834c9a9b Update links to github.com/torchbox to point to github.com/wagtail 2016-12-15 11:49:49 +00:00
Matt Westcott 6b6866345e freeze NPM packages at a point in time when they actually appear to collectively work 2016-05-04 16:24:37 +01:00
Matt Westcott 5945ad8b28 upgrade gulp to 3.9.1 2016-05-03 21:50:45 +01:00
Matt Westcott fcce9b8dc1 version-bump gulp-sass (the latest node-sass breaks compatibility with 2.0... I think) 2016-05-03 16:48:24 +01:00
Josh Barr cf23387843 replace pushd with cd 2016-03-07 09:54:07 +00:00
justinvdm 7207e31784 Add missing dependencies to package.json 2016-02-25 17:34:15 +02:00
Josh Barr 14f02a0b50 Tooling for modern front-end components: React JS, ES6, and BEM CSS
Thanks to @justinvdm for the help

Merges: #2275
2016-02-25 13:32:48 +00:00
Dave Cranwell fc980bd103 updated npm packages. ongoing linting of scss files 2015-11-23 21:39:54 +00:00
Matt Westcott f6e6f9a909 Bump browserify to 3.46.1
3.36.0 depends (indirectly, via derequire 0.8.0) on esprima-six, which has disappeared from npm causing installation to fail. https://github.com/substack/node-browserify/pull/710
2015-11-14 02:36:25 +00:00
Denis Voskvitsov 4d04e73674 Update gulp-sass to 2.0.x 2015-10-21 12:19:24 +03:00
Dave Cranwell 109f1d799b added new gulpfile directory with modularised tasks 2015-06-04 17:44:08 +01:00
Tim Heap ddebafa119 Remove libsass dependency, precompile CSS for distribution
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.

libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:

    $ pip install -e path/to/wagtail
    $ cd path/to/wagtail
    $ npm install
    $ npm start

All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.

Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00
Josh Barr 69fedba2b0 added newline to end of file 2015-04-25 17:48:06 +12:00
Josh Barr b02ca75214 added spec for linting js 2015-04-25 17:46:45 +12:00