0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 12:08:40 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Trevor Buckner 14f721d209 Fix spacing on Notification popup for legibility 2019-02-07 12:24:26 -05:00
Trevor Buckner 1219f64cb3 Notification about Chrome PDF missing letters bug
Changed DISMISS KEY to current date to make popup appear again.
2019-02-07 12:19:38 -05:00
Trevor Buckner c634192289 Added a notification popup similar to the "YOU ARE NOT USING CHROME" message. Can be used to notify users of current known issues, updates, etc.
Currently just reminds users to back up documents with a link to the Reddit FAQ.
2019-01-11 16:26:03 -05:00
Kurtis Miller fcb0cd8ee7 Reset to previous commit 2018-11-26 20:12:59 -05:00
Kurtis Miller aafac16af2 Add bold/italic shortcuts, reposition renderer warning 2018-11-26 20:12:59 -05:00
Rae Che 3532d75365 s/let/const/ to satisfy ESLint 2018-08-24 10:12:53 -04:00
Rae Che f6b058f3c9 brewRenderer: Capture event properties while still in event loop.
React [pools events](https://github.com/facebook/react/issues/2850),
which means that once the lambda runs later on the properties we want
to read will be null. Instead, we capture the properties in the event
loop.
2018-08-20 14:14:52 -04:00
Rae Che ec0de7a408 BrewRenderer: Remove redundant errors state property.
The errors are in fact tracked in `this.props`, not `this.state`.
2018-05-31 10:53:07 -04:00
Rae Che 9ea99236ff Omit redundant property definition in brew renderer 2018-05-31 10:53:07 -04:00
Rae Che 15ac397b63 Fix inconsistent React state update.
Flagged by lgtm.com (as js/react/inconsistent-state-update).
2018-05-31 10:53:07 -04:00
Trevor Buckner d417c76c56 Remove unused event triggers
Removed `onMouseOver` and `onMouseOut` since they are no longer needed to trigger `will-change`
2018-05-14 08:30:19 +01:00
Trevor Buckner 2f15cc5611 Lint 2018-05-14 08:30:19 +01:00
Trevor Buckner eb08172fb1 Move will-change to stylesheet
This makes `will-change: transform` permanent in the brewRenderer stylesheet rather than trying to load and unload it programatically.
2018-05-14 08:30:19 +01:00
Trevor Buckner 0cc87a4f0f Lint Fixes 2? 2018-05-14 08:30:19 +01:00
Trevor Buckner 004dc79eb2 Lint fixes 2018-05-14 08:30:19 +01:00
Trevor Buckner a8a70c2d70 Unified spacing 2018-05-14 08:30:19 +01:00
Trevor Buckner 825c259fba Optimize for smooth scrolling of BrewRenderer
The will-change property allows the browser to optimize for smoother animations. This completely eliminates the scrolling stutter.
2018-05-14 08:30:19 +01:00
Rae Che fd5d142c16 Fix calculation of currently-viewed page.
Previously, this relied on a hard-coded constant determining the
height of a page. However, that's unnecessary -- we know the scroll
height of the window and the number of pages, so we can compute it.
2018-05-10 14:35:03 -04:00
Scott Tolksdorf f18a181e2e Updating to user create-react-class 2018-04-09 00:12:56 -04:00
Scott Tolksdorf ed1b5252be lint 2018-04-09 00:12:56 -04:00
Scott Tolksdorf 6e0f042b42 Adding quick fix for PPR getting out of sync 2017-03-03 19:25:56 -05:00
Scott Tolksdorf 5fe7c7a6d8 renamed render warnings and now built into the brewrenderer 2017-01-14 14:21:51 -08:00
Scott Tolksdorf 9fd7586726 Fixed renderer crashing with malformed html on load 2016-12-25 23:44:24 -05:00
Scott Tolksdorf e5ffb7c629 Greatly improved the user page UI 2016-12-03 16:27:15 -05:00
Scott Tolksdorf 9285e53e55 Added conditional partial page rendering 2016-12-03 14:49:00 -05:00
Scott Tolksdorf 9f05556bc5 Error bar added to edit page 2016-09-24 10:25:10 -04:00
Scott Tolksdorf 2a0c06cd3d New error bar made 2016-09-24 10:25:10 -04:00
Scott Tolksdorf cd2337ff2c Experimenting with validation more 2016-09-24 10:24:38 -04:00
Scott Tolksdorf 9a96eebdb1 Adding my own markdown-html validator, still needs line numbers though 2016-09-24 10:24:01 -04:00
Scott Tolksdorf 888d3faa4c Editor and renderer redraw when you resize the browser 2016-08-20 13:26:48 -04:00
Scott Tolksdorf ead975b605 Adding in page ids to allow for hyperlinking 2016-06-10 12:16:46 -04:00
Scott Tolksdorf e38850f807 Created new wrapper for my markdown parser, added it to the print page 2016-06-07 09:50:50 -04:00
Scott Tolksdorf 3e796501e2 Fied lists in stat blocks 2016-06-05 13:47:59 -04:00
Scott Tolksdorf 2b2b6b2793 Cleaning up the brewrender 2016-05-29 13:26:34 -04:00
Scott Tolksdorf 00bf12ecb7 Spelllist is rendering nicely 2016-05-29 11:22:30 -04:00
Scott Tolksdorf c993ae9cf5 Woh, it is working 2016-05-29 11:22:30 -04:00
Scott Tolksdorf 626cba6062 Newlines 2016-05-28 09:41:05 -04:00
Scott Tolksdorf 6209fcd5cb Brew content will now not server render jsut incase it has malformed html, so it wont break the page 2016-05-18 00:20:07 -04:00
Scott Tolksdorf c9bfd08bb3 Removing unneeded code 2016-05-10 21:45:58 -04:00
Scott Tolksdorf ed7decb42b Adding new navitems and finishing the edit and share page 2016-05-09 16:54:32 -04:00
Scott Tolksdorf 1bd85e80ee Styled the page info 2016-05-09 10:57:23 -04:00
Scott Tolksdorf 30e6bb28ad Creating thew new brew renderer 2016-05-09 09:35:43 -04:00
Scott Tolksdorf 62654102b8 Changed project structure to have the root page into main and subbed out the pages into their own folder 2016-05-06 15:59:18 -04:00