Brett Sun
1808d38c70
Merge PrizePieceContainer from #76
2015-12-17 17:39:30 +01:00
Brett Sun
c7f272c3a3
Small fixes for DRY and React warnings
2015-12-17 17:31:33 +01:00
Brett Sun
0f8094ef55
Merge pull request #69 from ascribe/AD-1346-hide-piece-registration-if-cant-submit
...
AD-1346 Hide piece registration if user cannot submit to whitelabel
2015-12-17 16:44:25 +01:00
Brett Sun
1580dd8f52
Small additional info for logging COA errors
2015-12-17 16:40:38 +01:00
Brett Sun
6c5a2e0869
Load babel polyfill dependency but don't import
...
From the babel.io.github guys.
2015-12-17 16:09:47 +01:00
Brett Sun
d996967dd9
Merge pull request #81 from ascribe/AD-1524-coa-should-be-created-if-none-exists
...
If fetching COA results in 404, create a new COA
2015-12-17 16:03:10 +01:00
Brett Sun
e81341269d
If fetching COA results in 404, created a new COA
2015-12-17 15:46:30 +01:00
Brett Sun
95bce14220
Merge pull request #79 from ascribe/hotfix-contract-creation
...
Hotfix contract agreement creation failing on first time
2015-12-17 13:12:37 +01:00
Brett Sun
3cea407ae6
Use left alignment for global notification messages
2015-12-17 13:06:42 +01:00
Brett Sun
41df6fe837
Add global notification to form validation
2015-12-17 13:05:39 +01:00
Brett Sun
b6ca964adb
Fix contractAgreementList not updating correctly after initial creation
2015-12-17 11:01:49 +01:00
Brett Sun
bf244e2bfa
Add padding-bottom to ascribe-property instead of ascribe-property-wrapper
...
Avoids having to style all the collapsible Properties with
`padding-bottom: 0` to center labels when collapsed.
2015-12-16 19:03:01 +01:00
Brett Sun
ad17a9d6f3
Show server error in notification if one is given for failed piece registrations
2015-12-16 18:14:06 +01:00
Brett Sun
84ee8f6a9b
Use the right property on Image for previewing
2015-12-16 17:50:09 +01:00
Brett Sun
1fc1337207
Fix React warnings
2015-12-16 17:49:47 +01:00
Brett Sun
f2f775f20c
Carry down currentUser as prop to MediaContainer instead of adding state
2015-12-16 17:49:30 +01:00
Brett Sun
875e98dd3b
Merge pull request #75 from ascribe/AD-1506-cyland-loan-later-button
...
Fix PR feedback for Cyland loan button
2015-12-16 15:46:47 +01:00
Brett Sun
9f553f973c
Check for the checkbox being unchecked before reseting value
2015-12-16 15:45:54 +01:00
Brett Sun
b971d516cc
Fix PR feedback for Cyland loan button
2015-12-16 15:33:00 +01:00
Brett Sun
f4227e9906
Update form's email state if the email prop changes
2015-12-16 15:17:47 +01:00
Brett Sun
fb917f1a09
Reset the Property value when its checkbox is unselected
...
The user doesn’t want to apply the property, so it should reset to
whatever it is by default.
2015-12-16 14:50:39 +01:00
Brett Sun
75fe89a0ff
Limit edition creation to between 1-100
2015-12-16 14:48:43 +01:00
Brett Sun
0da3891d51
Merge pull request #70 from ascribe/fix-polyfill-import
...
Fix polyfill import
2015-12-16 14:25:06 +01:00
Brett Sun
5e46fb5c17
Merge pull request #72 from ascribe/AD-1506-cyland-loan-later-button
...
AD-1506 Cyland loan later button
2015-12-16 14:24:54 +01:00
Brett Sun
e3c4e54386
Reverse order of Cyland loan form buttons
...
Maintains consistency with other buttons on the web app.
2015-12-16 14:24:03 +01:00
Brett Sun
e7c29d0d98
Cyland Admin should also not be able to register work
...
As per (AD-1504)[https://ascribe.atlassian.net/browse/AD-1504 ], Cyland
admin should not be able to register work, but instead use another
account to get loaned work.
2015-12-16 13:59:31 +01:00
Brett Sun
8687b393bf
Add slight padding to bottom of app so it doesn't look cut off
2015-12-16 12:45:40 +01:00
Brett Sun
94e20d2ba8
Remove unnecessary button class
2015-12-16 12:45:21 +01:00
Brett Sun
764b9dbf12
Remove leftover function from previous functionality that was removed
2015-12-16 12:44:50 +01:00
Brett Sun
7fbe8a311b
Use col-xs instead of col-sm to handle mobile screens on white label landing pages
2015-12-16 12:43:43 +01:00
Brett Sun
1ea89313ff
Add custom buttons to loan form for Cyland registration
2015-12-16 12:43:03 +01:00
Brett Sun
5ee3b07cc1
Revert "Hotfix for iOS Safari mergeOptions clashes"
...
This reverts commit 1b4c6938f6
.
The actual problem was the late loading of the polyfills.
2015-12-15 16:26:49 +01:00
Brett Sun
274f149272
Make sure polyfill is loaded first by using import statement
...
ES6 `import` statements hoist their imports to the top of the file.
Using `require(‘babel/polyfill’)` actually loads the polyfill after the
other imports, causing errors.
2015-12-15 16:26:40 +01:00
Brett Sun
1b4c6938f6
Hotfix for iOS Safari mergeOptions clashes
2015-12-14 21:27:58 +01:00
Brett Sun
1de06b0ac5
Only show register work route if user can submit to wallet for IkonoTV, Lumenus
2015-12-14 18:59:10 +01:00
Brett Sun
b3b94b6f60
Fix spacing of WalletRoutes
2015-12-14 18:58:33 +01:00
Brett Sun
08025cc427
Remove unused showAddWork
property from Header
2015-12-14 18:58:05 +01:00
Brett Sun
6cc9ce8094
Don't redirect to register piece and then to contract notifications
...
Avoids new user getting asked if they want to cancel registration of a
piece before they even agree to the Ikono contract.
2015-12-14 18:34:27 +01:00
Brett Sun
cef2785438
Hot fix to show edition even if not logged on
2015-12-14 17:00:04 +01:00
Brett Sun
8aae923388
Merge pull request #68 from ascribe/PR-hotfixes
...
PR hotfixes
2015-12-14 16:57:51 +01:00
Brett Sun
33db8e2cbe
Merge pull request #67 from ascribe/AD-1362-implement-portfolioreview-judging-flow
...
Use mime types for <input>'s accept property
2015-12-14 16:32:14 +01:00
Brett Sun
5aaf02b0b4
Fire profileDidLoad event in PR to load intercom
2015-12-14 16:30:38 +01:00
Brett Sun
d9615188b0
Only assume TypeError if request's response is null
2015-12-14 14:54:57 +01:00
Brett Sun
e24c9c9c74
Small change to PR piece registration
...
Ignore `success` return of request, as requests will error if this is
returned false.
2015-12-14 14:34:13 +01:00
Brett Sun
9342262f5c
Move ignoreSentry parameter of logGlobal to be last in parameter list
2015-12-14 14:31:53 +01:00
Brett Sun
d0cef8c836
Add additional data fields requested by PR
...
Also adds way to sort the Properties in Prize Details by appending
`[digit]-[label]` to the Property’s name.
2015-12-14 13:03:19 +01:00
Brett Sun
be2f9bbc97
Make sure uploaded file from UploadButton has been linked with S3 before we try deleting it
2015-12-14 12:08:49 +01:00
Brett Sun
3286ef77bf
Add 404 handling to prizes' piece container
2015-12-14 11:57:14 +01:00
Brett Sun
bee420a919
Small fixes for PR's otherdata fileClass
2015-12-14 11:57:10 +01:00
Brett Sun
8f98251735
Add additional comment for Safari behaviour of input's accept property
2015-12-14 11:41:06 +01:00