Commit graph

31 commits

Author SHA1 Message Date
Vesa Luusua
891c13dac1 Fix ProfileSettingsForm submit button (ready/disabled) 2018-04-20 13:05:23 +03:00
Vesa Luusua
5ce4afd0a2 Remove submitting flag: it didn't work if promise (fetch) failed 2018-04-20 13:05:23 +03:00
Vesa Luusua
8a8da99ded Fix ProfileSettingsForm submit enabled/disabled bug. 2018-04-20 13:05:22 +03:00
Vesa Luusua
3c4513a0d2 Refactor ProfileSettingsForm: use Form connector from Final Form 2018-04-20 13:05:22 +03:00
Kimmo Puputti
946cf7f53c Use Image variants instead of sizes 2018-04-16 12:28:43 +03:00
Kimmo Puputti
f5fb478166 Add comment about CSS custom properties being global 2018-04-11 15:59:22 +03:00
Kimmo Puputti
aa4b3e7fcc Prefix local CSS properties with component name
Since the CSS custom properties are defined in the :root, they will be
global when the variables are preserved in the output bundle. This
changes them to something globally unique.
2018-04-11 14:29:42 +03:00
Kimmo Puputti
f0b955dc5b Refactor propTypes module
- Rename types
- Collect propTypes within a named propTypes export
- Use named imports for easier refactoring and customisation later
- Rename sdk types to sdkTypes in imports to avoid confusion
2018-01-11 11:40:03 +02:00
Vesa Luusua
89145e26ed Form elements should be divisible by 8 (desktop) or 6px 2017-12-21 16:30:14 +02:00
Kimmo Puputti
807c5005ed Make avatars into links to the user profile page 2017-11-07 11:18:23 +02:00
Kimmo Puputti
05c22cf073 Fix baseline alignment 2017-11-02 15:51:57 +02:00
Kimmo Puputti
a6196821c8 Add or edit bio in profile settings 2017-11-02 15:33:50 +02:00
Vesa Luusua
d8520f8e6d ProfileSettingsPage and form use storableError func and correct proptype validation. 2017-10-18 18:13:16 +03:00
Kimmo Puputti
a996f154d1 Import PropTypes from the prop-types package 2017-10-17 09:50:22 +03:00
Kimmo Puputti
90ab9c9a69 Format with latest Prettier 2017-10-13 10:11:51 +03:00
Kimmo Puputti
78de6d9d69 Disable deprecated proptype import lint error 2017-10-12 14:09:02 +03:00
Vesa Luusua
ea6c39b86e Bug fix: Ensure that file exists when showing ImageFromFile component 2017-10-12 11:13:55 +03:00
Kimmo Puputti
b6bed01092 Handle upload-over-limit error for profile image 2017-10-05 15:13:09 +03:00
Kimmo Puputti
4a3983f77e Use Form instead of form 2017-10-05 10:31:41 +03:00
Vesa Luusua
320ca59566 Change hash chars to url encoded format (%23) 2017-09-26 15:43:31 +03:00
Kimmo Puputti
e67c169505 Add inProgress/ready states to ProfileSettingsForm 2017-09-22 12:27:25 +03:00
Kimmo Puputti
661559a430 Change SpinnerIcon refs to use IconSpinner 2017-09-20 11:19:15 +03:00
Vesa Luusua
158960be56 ProfileSettingsForm: avatar was broken after design changes 2017-09-12 20:18:45 +03:00
Vesa Luusua
7b7d0c16ca Give Avatar time to load its responsive srcset stuff 2017-09-12 13:44:56 +03:00
Vesa Luusua
7c2bbc5e2c ProfileSettingsForm extends Component 2017-09-12 13:36:20 +03:00
Janne Koivistoinen
be7d83527e design review done 2017-09-08 21:03:25 +03:00
Janne Koivistoinen
4160c8b588 stash changes 2017-09-08 21:03:25 +03:00
Vesa Luusua
81b61186c7 ProfileSettings uses transient user after uploading avatar 2017-09-08 18:28:32 +03:00
Vesa Luusua
a47c4dea01 Refactoring and fixing form disabled state to use pristine 2017-09-08 12:16:24 +03:00
Vesa Luusua
47c15ab636 Missing display block to desktop 2017-09-08 01:32:10 +03:00
Vesa Luusua
cec8ce3cb6 ProfileSettingsForm 2017-09-08 01:29:35 +03:00