Commit Graph

72 Commits

Author SHA1 Message Date
Samy Pesse 37920c758b Normalize style of dropdown 2016-10-13 17:57:09 +02:00
Samy Pesse 05646996c0 Rename "navigation" to "history" and add loading bar 2016-10-13 16:17:00 +02:00
Samy Pesse f1f2024489 Add support for align HTML attribute 2016-10-13 15:22:52 +02:00
Samy Pesse 227b329e78 Start style for dropdowns 2016-10-13 14:47:06 +02:00
Samy Pesse da8c78b3c8 Refactor Backdrop, Hotkeys and Dropdown 2016-10-13 13:35:59 +02:00
Nicolas Gaborit 3aea3e5d88 Adapt plugin sharing (#1553)
* Reuse old package config

* Add plugin config shape

* Add ButtonGroup to core components

* List all sharing sites

* Displaying buttons from config

* First iteration of Dropdown component (need CSS)

* Using Dropdown for sharing button

* Create HotKeys component

* Move Backdrop to its own file

* Trying a cleaner API for Dropdown

* Add README.md

* livereload: Add missing gitbook-plugin dependency

* sharing: Now use Immutable state

* sharing: Adapt quickly to new Dropdown

* sharing: Fix sharing from dropdown
2016-10-13 12:56:46 +02:00
Samy Pesse ba56801352 Add base for new fontsettings plugin 2016-10-13 00:18:47 +02:00
Samy Pesse 961b9d7031 Fix error for code blocks without language 2016-10-12 15:47:29 +02:00
Samy Pesse 3a2abb870b gitbook-plugin create should add eslint config 2016-10-11 10:19:48 +02:00
Samy Pesse 885a161d42 Update react-safe-html@0.4.0 2016-10-11 09:25:07 +02:00
Samy Pesse 9a9b5a2621 Show "copied" text when clicking the copy button 2016-10-10 12:56:23 +02:00
Samy Pesse 417013a230 Resolve assets and lunr index before loading 2016-10-09 16:52:27 +02:00
Samy Pesse 03b89194d7 Prepare for multiple role rendering for ebooks 2016-10-08 18:19:49 +02:00
Samy Pesse 68ec88c620 Add script to bump version 2016-10-08 14:32:35 +02:00
Samy Pesse 1d291ff2f0 Fix style of toolbar and add title to it 2016-10-06 23:04:20 +02:00
Samy Pesse 58ae96b7f6 Add "url" to summary articles and files in json representation 2016-10-06 20:08:47 +02:00
Samy Pesse 1354582c4e Generate an url index for generation 2016-10-06 16:29:32 +02:00
Samy Pesse 9d20a9afa5 Store config as immutable in state 2016-10-06 09:41:47 +02:00
Samy Pesse 45683185a2 Add reducer for file in gitbook state 2016-10-05 23:19:11 +02:00
Samy Pesse 6ce4949df3 Add "url" to file 2016-10-05 23:12:00 +02:00
Samy Pesse 805886e4a9 We trigger current url history only once the page has been mounted 2016-10-05 14:22:01 +02:00
Samy Pesse 45752fc79c Complete highlight plugin 2016-10-05 01:47:16 +02:00
Samy Pesse 16ca48b2c0 Correctly update page when url changed 2016-10-04 18:32:31 +02:00
Samy Pesse 84315a99f1 First handling of templating blocks 2016-10-03 23:34:27 +02:00
Samy Pesse 4049279269 Emit current location when listening 2016-10-03 15:48:28 +02:00
Samy Pesse b04befd67c Use replace of url for search to avoid filling history 2016-10-03 15:21:40 +02:00
Samy Pesse d82032298d Fix new api for activate/deactivate 2016-10-03 14:56:55 +02:00
Samy Pesse 34eb35699d Change "init to "activate" 2016-10-03 10:35:24 +02:00
Samy Pesse 3ae72bb47c Sync search with querystring 2016-10-03 00:59:26 +02:00
Samy Pesse cd2d5e5101 Pass actions to thunk acitons 2016-10-02 15:28:25 +02:00
Samy Pesse d22d090b05 Add style for search input in default theme 2016-10-02 01:04:25 +02:00
Samy Pesse 24624f0d0e Fix clear of search 2016-10-02 00:15:59 +02:00
Samy Pesse 9aaf561c41 Complete i18n for search plugin 2016-10-01 23:11:50 +02:00
Samy Pesse 8be4cbc887 Add action I18n.registerLocales and locales for default theme 2016-10-01 23:11:50 +02:00
Samy Pesse 8753897edc Fix js error because of changing API 2016-10-01 14:39:09 +02:00
Samy Pesse da83d9e91d Change api for registering components 2016-10-01 14:14:30 +02:00
Samy Pesse 2cf507a807 Base api to use i18n 2016-09-30 14:16:48 +02:00
Samy Pesse 1489129407 Improve Gitbook.connect to accept a mapActionsToProps 2016-09-29 23:53:18 +02:00
Samy Pesse 9d8dffb6f0 Fix query action for search 2016-09-29 19:04:56 +02:00
Samy Pesse 6015defe11 Integrate search in default theme 2016-09-29 17:20:29 +02:00
Samy Pesse 7f28379154 Fix dist command 2016-09-29 16:03:16 +02:00
Samy Pesse 287c80b2e1 Start search plugin 2016-09-28 18:14:35 +02:00
Samy Pesse 26fc021b90 Fix lerna bootstrap 2016-09-28 14:54:01 +02:00
Samy Pesse c314281da0 Add CONTRIBUTING.md 2016-09-28 10:03:38 +02:00
Samy Pesse bc5df83846 Start designing toolbar 2016-09-27 17:08:34 +02:00
Samy Pesse f1ef1902f3 Style page with gitbook-markdown-css 2016-09-27 16:39:58 +02:00
Samy Pesse 748c46172b Fix reducers mutating the state instead of creating a new one 2016-09-27 16:12:58 +02:00
Samy Pesse 51f4cd6dae Fix link and navigation click 2016-09-26 18:45:12 +02:00
Samy Pesse ff42b58f77 Add basic for pjax navigation 2016-09-26 17:26:36 +02:00
Samy Pesse 7fa3e34f9f Mark article as active in summary 2016-09-25 19:05:35 +02:00