Brett Sun
0a4d19677f
Merge with master
2016-02-04 14:00:03 +01:00
Brett Sun
f1b677dbd1
Use the activeRoute prop to generate route classnames on whitelabels
2016-02-04 13:32:06 +01:00
Brett Sun
6f2424d103
Rebase remerge
2016-02-04 13:32:00 +01:00
Brett Sun
e616576fa5
Hide the footer if a route has the hideFooter
attribute
2016-02-04 13:31:19 +01:00
Brett Sun
764f81925b
Change children
prop from react-router to only be a Element type
...
Judging by
https://github.com/rackt/react-router/blob/master/docs/API.md#children-1
and a few inspections in the code, as well as tests, the `children`
prop injected into routes can only ever be a single React Element
object.
This allows us to easily get the active route of a child (if there is
an active route) by querying the `children`’s route prop.
2016-02-04 13:31:18 +01:00
Brett Sun
4e13376d5f
Add route class names to prize app
2016-02-04 13:31:18 +01:00
Brett Sun
2661f2ba57
Standardize CoaVerify route across apps
2016-02-04 13:30:18 +01:00
Brett Sun
3c6dea3585
Merge pull request #146 from ascribe/AD-1519-visual-regression-cli
...
AD-1519 Visual regression tests
2016-02-04 12:03:50 +01:00
Brett Sun
8ef19a1ed0
Fix prize instances of the verify route to be coa_verify
2016-02-04 11:26:30 +01:00
Tim Daubenschütz
b405bc675b
Fix PR feedback
2016-02-01 14:47:51 +01:00
Tim Daubenschütz
e2a481a3f0
Fix redirection of wallet owners
...
This also fixes a problem where newly created
users would be redirected to a 404 page.
2016-02-01 13:50:55 +01:00
Brett Sun
76a413cee1
Merge with master
2016-02-01 10:18:30 +01:00
Brett Sun
841cc05525
Merge with master
2016-01-29 11:35:43 +01:00
Brett Sun
7383fbb1f6
Standardize CoaVerify route across apps
2016-01-29 11:20:43 +01:00
Tim Daubenschütz
83eadf8528
Merge pull request #119 from ascribe/AG-109-marketplace-thumbnail-uploader-does-not-use-validation
...
AG-109 Marketplace thumbnail uploader does not use validation
2016-01-26 11:58:51 +01:00
Tim Daubenschütz
d8f2423344
Merge pull request #95 from ascribe/add-default-should-redirect
...
Collection should redirect to Register Work when a user does not have pieces yet
2016-01-26 11:08:32 +01:00
Tim Daubenschütz
3d43cd8505
Remove 'disabledOn' for prize routes
2016-01-26 11:07:41 +01:00
Brett Sun
27f1b7e9b4
Add default redirect for empty collections
2016-01-21 16:47:57 +01:00
Brett Sun
9559bc09b4
Disable 'Collection' header item when no pieces are found for the user
...
The disabling only happens when the piece list is fetched, which may
not happen immediately in some cases (ie. logged in user goes straight
to another person’s edition first). We’re not able to fetch the piece
list immediately, as some white labels apply default filters on the
piece list which forces them to wait until they can begin fetching
their piece lists.
2016-01-21 16:47:35 +01:00
Brett Sun
4dd701a414
Add extension validation to marketplace thumbnail uploader
2016-01-21 12:24:31 +01:00
Brett Sun
af59531fe7
Move fine uploader validation constants into their own file
2016-01-21 12:24:15 +01:00
Brett Sun
0045dc6981
Add anchorization to whitelabel forms
2016-01-20 12:31:02 +01:00
Brett Sun
c6afea2583
Calculate max thumbnail size instead of hard coding it on the registration form
2016-01-19 16:54:08 +01:00
Brett Sun
2e8d1faaca
Remove duplicate onRatingClick missed during merge
2016-01-19 15:59:43 +01:00
Brett Sun
d0d4f773c8
Re-add missed fetch for prize during merge
2016-01-19 15:57:49 +01:00
Brett Sun
f93cd93eff
Merge with master
2016-01-19 15:53:51 +01:00
Brett Sun
fbc1a43bf0
Merge with master
2016-01-19 15:28:50 +01:00
Brett Sun
86ff1f88d0
Fix small issues
2016-01-19 15:15:33 +01:00
Brett Sun
efbc605fc8
Standardize render structure across main app and white label apps
...
Also fixes some whitelabel landing pages broken from the
standardization and removes unnecessary class names
2016-01-19 15:04:46 +01:00
Brett Sun
7e1cfbb490
Add AppBase HOC to improve DRYness of functionality reused across apps
2016-01-19 15:00:50 +01:00
Brett Sun
aa00415a83
Merge with master
2016-01-18 14:15:19 +01:00
Brett Sun
23ccad9b5f
Add changes for PR comments
2016-01-18 13:29:08 +01:00
Brett Sun
621cc76e4a
Use template strings to join two strings together instead of join()
2016-01-18 11:37:11 +01:00
Brett Sun
78cf40ba64
Small cosmetic changes
2016-01-18 10:53:01 +01:00
Brett Sun
a2320b892d
Merge with master
2016-01-18 10:40:13 +01:00
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
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
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
466872affb
Move getInitialState() to be the first function after a store's constructor
2016-01-13 17:13:44 +01:00
Brett Sun
cc16508e64
Merge with master
2016-01-11 11:59:35 +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
e76a36621e
Use correct prize_round
parameter
2016-01-05 19:45:49 +01:00
Brett Sun
4624e936b3
Use the new history api and its LocationDescriptors
2016-01-05 17:27:25 +01:00
Brett Sun
0ce1633294
Add round
parameter to prize ratings
2016-01-04 19:40:54 +01:00
Brett Sun
13937c9951
Fix stale prize ratings showing up on other pieces when they do not have ratings
2015-12-23 20:43:46 +01:00