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

2370 Commits

Author SHA1 Message Date
Brett Sun
4f21b5d4d7 Refactor MarketSubmitButton to rely on the extra data from its given editions instead of fetching from the PieceStore 2016-01-15 17:56:32 +01:00
Brett Sun
a24ad3b774 Add handleCancel callback to ModalWrapper 2016-01-15 17:55:34 +01:00
Brett Sun
e84206149c wip 2016-01-15 17:18:17 +01:00
Brett Sun
4c4e5e0004 Load piece when necessary in MarketRegisterPiece 2016-01-15 17:18:05 +01:00
Brett Sun
8d9df43339 Clean up whitelabel AdditionalDataForms 2016-01-15 17:17:34 +01:00
Brett Sun
50129b9d0c Refactor MarketSubmitButton to pull the piece as necessary rather than always fetching it in MarketAdditionalDataForm 2016-01-15 14:22:28 +01:00
Brett Sun
c6071d8ab4 Merge branch 'use-parameters-in-calls-to-sources' into AD-1558-piece-and-edition-detail-show-stale-data
Merge with update to the pattern used in sources
2016-01-15 14:20:18 +01:00
Brett Sun
31bec7f2f8 Remove extraneous call for fetching webhook events
Successfully fetching the webhooks will fetch the events as well.
2016-01-15 14:00:36 +01:00
Brett Sun
91c97afb7c Small clean up for WebhookSettings 2016-01-15 13:59:41 +01:00
Brett Sun
b3d6620f73 Simplify example in naming conventions for sources 2016-01-15 13:58:15 +01:00
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
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
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
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
Brett Sun
74a587906b Add anchorize utility to textareas
And Tim thought this was going to be a piece of cake… next time he can
play with the url regex.
2016-01-07 18:29:55 +01:00
Brett Sun
7f1e4ce0db Rename third party handler files to match their declarations 2016-01-06 15:23:48 +01:00
Brett Sun
cf6dbb26f3 Fix loading of Facebook share button 2016-01-06 15:13:09 +01:00
diminator
2acf3f4056 Added round to prizepiece
upon new round:
- reset is_selected
- increment round for is_selected=True
bug fix filter on is_selected
2016-01-06 14:24:58 +01:00
Brett Sun
e12d086997 Merge pull request #92 from ascribe/AD-1362-implement-portfolio-review-judging-flow-stage-3
AD-1362 Implement portfolio review judging flow stage 3
2016-01-06 00:32:37 +01:00
Brett Sun
e76a36621e Use correct prize_round parameter 2016-01-05 19:45:49 +01:00
Brett Sun
41c9a10c84 Use a default shouldRedirect that just always returns true 2016-01-05 17:28:45 +01:00
Brett Sun
13e61fe35f Add query support for history 2016-01-05 17:27:35 +01:00
Brett Sun
4624e936b3 Use the new history api and its LocationDescriptors 2016-01-05 17:27:25 +01:00
Brett Sun
af9d9132d2 Use query-string instead of qs
Saves bytes, as done by rackt/history:
https://github.com/rackt/history/issues/121
2016-01-05 14:13:46 +01:00
Brett Sun
dfd860a65c Import classlist-polyfill into app 2016-01-05 13:38:58 +01:00
Brett Sun
c3f05861cc Upgrade react-router and history to latest non-breaking release 2016-01-05 13:36:58 +01:00
Brett Sun
e20d378fc8 Add classList polyfill 2016-01-05 10:10:24 +01:00
Brett Sun
0ce1633294 Add round parameter to prize ratings 2016-01-04 19:40:54 +01:00
Brett Sun
c4730dbae5 Merge pull request #91 from ascribe/AD-1543-edition-detail-hangs-on-first-view-after-transfer
AD-1543 Edition detail hangs on first view after transfer
2016-01-04 18:10:27 +01:00
Brett Sun
15a2bfae9a Fix check for coa 2016-01-04 18:06:26 +01:00
Brett Sun
3c72ee331d Convert AppGateway to be single instance 2016-01-04 13:14:50 +01:00
Brett Sun
4a3a368fc5 Remove unused logo and permissions fields from subdomain constants 2016-01-04 13:09:03 +01:00