1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
Commit Graph

2511 Commits

Author SHA1 Message Date
Brett Sun
f4eef6b7c8 Prevent empty change events being fired on actions that just delegate to sources 2016-01-15 13:56:56 +01:00
Brett Sun
e5a8ebd623 Use parameters instead of meta objects in state to pass information to sources 2016-01-15 13:55:58 +01:00
Brett Sun
587b58a500 Fix 404 not being detected properly on piece and edition detail 2016-01-15 13:00:09 +01:00
Brett Sun
bc7515ffe7 Allow ModalWrapper triggers to have an onClick handler 2016-01-15 11:54:16 +01:00
Brett Sun
03490b8c63 Fixes for converting pieceFetcher into store 2016-01-14 16:44:52 +01:00
Brett Sun
7a53d539a6 Small fixes for components using pieces and editions 2016-01-14 16:31:19 +01:00
Brett Sun
3e67e2d2ee PieceId should only ever be a number if passed as a prop 2016-01-14 14:52:33 +01:00
Brett Sun
7136f2ce6c Add getInitialState and source pattern for PieceStore 2016-01-14 13:20:45 +01:00
Brett Sun
a5442e5acd Add getInitialState pattern for EditionStore 2016-01-13 17:24:32 +01:00
Brett Sun
ea18b31db1 Small style changes for Piece and Edition ListStores 2016-01-13 17:14:09 +01:00
Brett Sun
466872affb Move getInitialState() to be the first function after a store's constructor 2016-01-13 17:13:44 +01:00
Brett Sun
72db69ee9e Remove unused PrizeList store and action 2016-01-13 16:17:31 +01:00
Brett Sun
1ffa1eb6aa Fix potential race condition causing ProxyHandler to not evaluate its redirect functions if the component doesn't get updated 2016-01-13 16:03:08 +01:00
Brett Sun
cc9fa2378f Remove unnecessary duplication of updating encoding status in Edition
Also reduces the time between each update to 5s since 10s feels way too
long.
2016-01-12 17:55:37 +01:00
Brett Sun
b22ae7def1 Small bug fixes for components affected by the UserStore and WhitelabelStore being passed down as a prop 2016-01-12 15:07:38 +01:00
Brett Sun
5b2178eb7e Use height for landing page logos
Using height means the browser can allocate space for the image before
it loads, so there’s no flash of movement
2016-01-12 15:06:43 +01:00
Brett Sun
315e5f0108 Add .isRequired to App proptypes 2016-01-12 15:05:00 +01:00
Brett Sun
1dca764166 Use Link instead of an anchor for AccordionList's empty placeholder to avoid page refresh 2016-01-12 12:34:55 +01:00
Brett Sun
ed264d8511 Fix MediaContainer not being refreshed while in Edition 2016-01-11 19:34:39 +01:00
Brett Sun
40041197d6 Update components for loading WhitelabelStore from top level app 2016-01-11 19:22:25 +01:00
Brett Sun
4133922f31 Fix a few small additions/deletions with UserActions 2016-01-11 19:10:24 +01:00
Brett Sun
8009174787 Change AccordionListItems and parents for loading UserStore from top level app 2016-01-11 19:06:50 +01:00
Brett Sun
d4064ee83a Change Header and parents for loading UserStore from top level app 2016-01-11 18:41:07 +01:00
Brett Sun
9059ca184a Remove previously missed imports from ContractSettings 2016-01-11 18:26:39 +01:00
Brett Sun
d867a3d9c1 Change SignupForm for loading UserStore from top level app 2016-01-11 18:24:55 +01:00
Brett Sun
1c4ca0d152 Change RegisterPieceForm and parents for loading UserStore from top level app 2016-01-11 18:16:46 +01:00
Brett Sun
58f57af932 Remove unused props in LoginForm 2016-01-11 18:07:52 +01:00
Brett Sun
eafa675760 Small code style changes 2016-01-11 17:57:35 +01:00
Brett Sun
8531b77633 Merge with master 2016-01-11 17:52:32 +01:00
Brett Sun
a6463087c0 Merge pull request #76 from ascribe/cleanup-mediacontainer
Clean up MediaContainer
2016-01-11 17:49:52 +01:00
Brett Sun
e8ef33571f Merge pull request #83 from ascribe/fix-toolbar-widget-warnings
Small fixes for Toolbars and Tables
2016-01-11 17:49:24 +01:00
Brett Sun
d4bb00168c Change AclButtonList and parents for loading UserStore from top level app 2016-01-11 17:41:31 +01:00
Brett Sun
f31d6352eb Merge general_utils.js from #35 for selectFromObject 2016-01-11 17:09:17 +01:00
Brett Sun
fbb35915eb Update market routes for loading user and whitelabel settings in top level app 2016-01-11 16:57:48 +01:00
Brett Sun
194c554637 Update Ikono routes for loading user and whitelabel settings in top level app 2016-01-11 16:56:24 +01:00
Brett Sun
723f93e629 Update CC routes for loading user and whitelabel settings in top level app 2016-01-11 16:28:27 +01:00
Brett Sun
3e66b78d4c Update Cyland routes for loading user and whitelabel settings in top level app 2016-01-11 16:27:03 +01:00
Brett Sun
443be236f5 Whitespace fix for comments 2016-01-11 16:26:36 +01:00
Brett Sun
06ea23c627 Update prize routes for loading user and whitelabel settings in top level app 2016-01-11 15:14:54 +01:00
Brett Sun
5ae166edf3 Add AppRouteWrapper to handle passing down props to routes 2016-01-11 14:00:09 +01:00
Brett Sun
d622ddac06 Load current user and whitelabel settings in AscribeApp 2016-01-11 12:54:15 +01:00
Brett Sun
cc16508e64 Merge with master 2016-01-11 11:59:35 +01:00
Brett Sun
0e67784e93 Remove unnecessary div in PieceListToolbarOrderWidget
Also renames some variables in PieceListToolbarFilterWidget for
readability
2016-01-11 11:49:27 +01:00
Brett Sun
455232049d Merge with master 2016-01-11 11:36:50 +01:00
Brett Sun
8dfa257317 Merge pull request #96 from ascribe/AD-1503-email-link-param-prefills-not-working
AD-1503 Email links do not prefill fields
2016-01-11 11:29:16 +01:00
Brett Sun
19841ce6c4 Refactor EventActions and UserStore to more cleanly handle user authentication and log out events 2016-01-08 14:59:45 +01:00
Brett Sun
2cedfd636e Use Raven's ignoreErrors configuration option to ignore certain errors 2016-01-08 14:49:39 +01:00
Brett Sun
7e77cb58dc Log the previous location if a 404 is encountered 2016-01-08 11:45:01 +01:00
Brett Sun
fce578e854 Decorate rackt/history with history of previous locations
Could be turned into a createHistory enhancer function
(https://github.com/rackt/history/blob/master/docs/Glossary.md#createhis
toryenhancer), but we’ll see what the guys at rackt/history say about
it…
2016-01-08 11:44:25 +01:00
Brett Sun
d1a056b7d9 Use left text align for ascribe-pre 2016-01-07 18:30:27 +01:00