Commit graph

106 commits

Author SHA1 Message Date
Jordan Eldredge
d9f8c2782a Move to thunks. Use display state from store 2016-07-27 23:12:29 -07:00
Jordan Eldredge
1853bf0352 Render the main window DOM with React (#163)
Because we pass it no props, we can safely manipulate it's DOM state, content
that it won't get rerndered out from underneath us.
2016-07-27 22:33:34 -07:00
Jordan Eldredge
4396225789 Move Close to React (#160) 2016-07-26 20:46:40 -07:00
Jordan Eldredge
049d1b2dfa Move Eject to React (#159) 2016-07-26 17:57:05 -07:00
Jordan Eldredge
00f9ed38fb Move Shuffle/Repeat to React 2016-07-26 17:37:25 -07:00
Jordan Eldredge
a86d81a9b7 Move MonoStereo to React 2016-07-26 17:22:52 -07:00
Jordan Eldredge
e24354756c Move marquee functions to Marquee 2016-07-26 16:59:43 -07:00
Jordan Eldredge
83f5b92932 Major refactor
Major refactor, mostly to compute Marquee values instead of setting them.
2016-07-25 22:32:42 -07:00
Jordan Eldredge
8eef8e848d Provie a key element to the chars in strings 2016-07-22 08:29:15 -07:00
Jordan Eldredge
1965879bcd Move Position to react/redux 2016-07-22 08:11:09 -07:00
Jordan Eldredge
f6df92fb29 Add util function getTimeStr and being testing 2016-07-22 08:02:31 -07:00
Jordan Eldredge
b11b6b916b Minor alignment refactor 2016-07-22 08:01:01 -07:00
Jordan Eldredge
5990ca04fa Move blance to react/redux 2016-07-12 23:04:00 -07:00
Jordan Eldredge
d5869292fe Remove unused volume code 2016-07-12 22:39:40 -07:00
Jordan Eldredge
340629214f Move Volume to React/Redux 2016-07-12 22:37:28 -07:00
Jordan Eldredge
2198842889 Move stepping check out of reducers 2016-07-12 22:15:11 -07:00
Jordan Eldredge
357b0c7950 Remove unused DOM node bindings 2016-07-12 09:19:30 -07:00
Jordan Eldredge
e37d19d9ac Move kbps and khz to redux
These are the last text nodes, so we can finally remove the old Font file.
2016-07-12 09:16:20 -07:00
Jordan Eldredge
389f5cb27d Abstract CharacterString for resuability 2016-07-12 09:14:58 -07:00
Jordan Eldredge
06482e6795 Move time displasy to Redux/React 2016-07-11 21:30:27 -07:00
Jordan Eldredge
130d18f072 Abstract Character componant 2016-07-11 21:09:44 -07:00
Jordan Eldredge
9558890d51 Add length and time elapsed to redux state 2016-07-11 20:39:09 -07:00
Jordan Eldredge
3ef2bf7041 Refactor how we handle special NUM_EX CSS 2016-07-11 20:37:03 -07:00
Jordan Eldredge
1fe9fe5da7 Reinstate pausing marquee
Also fix a bug where releasing the mouse button after moving the cursor outside
of the marquee would fail to restart the marquee.
2016-07-10 20:02:10 -07:00
Jordan Eldredge
0558f3c612 Move Actons to React 2016-07-10 19:45:37 -07:00
Jordan Eldredge
6b65e944e2 Remove rudunant constructor 2016-07-10 19:07:36 -07:00
Jordan Eldredge
90dbfecf10 Allow redux dev tools to work 2016-07-10 14:40:13 -07:00
Jordan Eldredge
d24376f57f Trigger file dialog via dispatch 2016-07-10 14:40:00 -07:00
Jordan Eldredge
6b79eb54dc Move css files closer to their js 2016-07-10 14:39:46 -07:00
Jordan Eldredge
09f70d5e2a Trigger file opener via dispatch 2016-07-10 14:38:50 -07:00
Jordan Eldredge
e2f0339ef7 Use keydown for better hotkey response 2016-07-10 08:16:10 -07:00
Jordan Eldredge
20b5ec28c7 Migrate Marquee to react/redux
Also begin splitting up the reducers
2016-07-09 23:21:38 -07:00
Jordan Eldredge
060aafef65 Introduce Redux 2016-07-09 14:19:50 -07:00
Jordan Eldredge
9d73441989 Introduce first taste of React
Future PRs will move more code to React, but this seemed like a good place to
start.
2016-07-06 18:49:24 -07:00
Jordan Eldredge
92c1df41cc Guard for in 2016-07-05 21:08:02 -07:00
Jordan Eldredge
3a119416ba Move some code out of font.js 2016-07-05 21:03:52 -07:00
Jordan Eldredge
c5f3f91fe7 Remove unused import 2016-07-03 21:59:46 -07:00
Jordan Eldredge
f37ceb24f1 Switch to ES6-style imports 2016-07-03 21:56:37 -07:00
Jordan Eldredge
b5c7824f86 Begin introducing es6 2016-07-03 21:37:12 -07:00
Jordan Eldredge
92f5d429f2 Switch from require.js to WebPack
This means we lose the ability to run without a build tool, but it sets the
stage for migrating to React.
2016-05-02 21:20:13 -07:00
Jordan Eldredge
75a691503c Fix easter egg 2016-02-20 20:02:11 -08:00
Jordan Eldredge
e575ee24b4 Refactor multi-display and font 2015-12-13 17:24:20 -08:00
Jordan Eldredge
9fba6f0337 Refactor hotkeys, context, browser 2015-12-13 16:52:04 -08:00
Jordan Eldredge
2dd030364c Improve build process, deprecate embedded version 2015-12-13 15:50:29 -08:00
Jordan Eldredge
932a5a255f Create DOM in Javascript
This allows us to develop locally without a server.
2015-12-12 19:49:50 -08:00
Jordan Eldredge
8b986ec3cb Add eslint 2015-12-12 13:38:48 -08:00
Jordan Eldredge
dea6e43f96 Allow skins that are not in a /dir
Loading skins other than the default was broken
2015-07-07 21:45:50 -07:00
Jordan Eldredge
49f34b4086 Fix bug where loaing skins crashed in Chrome
When you load a skin after the initial load, there is no callback.
2015-06-21 14:58:23 -07:00
Jordan Eldredge
ab3ea207d4 Ensure variables stay local 2015-06-21 14:58:02 -07:00
Jordan Eldredge
56282d9669 Only use the NUMS_EX style if file is in skin
Fixes a regression introduced when we changed the way skins are defined.
2015-06-21 14:16:33 -07:00