Commit graph

35 commits

Author SHA1 Message Date
neobii
e6137df423 corrected quotes 2018-12-05 08:49:36 -06:00
neobii
e5885cabd7 added english field errors 2018-12-05 08:44:59 -06:00
SachaG
47bd12eb80 Make Flash component display HTML 2018-11-04 16:29:38 +09:00
Bogdan Dimofte
881a6533f8 datatable: add i18n for the search field 2018-10-11 10:42:37 +03:00
SachaG
5fc0e30f40 Fix ESLint 2018-09-12 11:59:00 +09:00
James Babcock
a9422307e1 Add support for email address verification. 2018-08-27 15:47:16 -04:00
ochicf
4f76207378 use label instead of name 2018-06-28 09:30:41 +02:00
Erik Schannen
c3f33cb7e0 Changes to SmartForm behaviour
- Moved UI portions of FormComponent to FormComponentInner.jsx in vulcan-ui-bootstrap

 - Added user alert when the user navigates to another route while there are unsaved changed in the form (disabled by default)

 - Added setting forms.warnUnsavedChanges and SmartForm property warnUnsavedChanges to enable user alert

 - Added optional Revert button in FormSubmits to allow the user to discard any changes to the form; this is activated by passing a "revertCallback" property to SmartForm (which can be empty: () => {})

 - Added two functions that form components can access in the child context: refetchForm() to refetch the document from the database (in case it was updated by a background process), isChanged() to determine if there are any unsaved changes

 - For any phrases I have added to en_US.js I also added it to es_ES.js and fr_FR.js with the comment // TODO: translate

 - Updated Form.clearForm and Form.mutationSuccessCallback so that the user can continue working on the document after submitting it

 - The form now scrolls the flash message into view when a submit results in errors

 - Fixed bugs in FormComponent.shouldComponentUpdate() and Form.getDocument()

 - Fixed bug in FormComponent.handleChange() - number fields could not be cleared, only set to 0

 - Fixed a bug in FormComponent.getValue() - it returned the initial value of a checkbox even after it was set to false, and a number even after it was set to 0
2018-05-08 20:09:42 -04:00
SachaG
18bec2b2c0 Small fixes 2018-04-28 10:54:24 +09:00
SachaG
67e0e180ae Update EmbedURL 2018-03-29 11:58:05 +09:00
SachaG
754bb14889 Values are now fetched from FormComponent through context instead of being passed as props 2018-03-25 12:13:30 +09:00
SachaG
1d7cef5556 Work on form errors & validation 2018-03-25 10:54:45 +09:00
SachaG
748e2f8fea Charges dashboard improvements 2018-02-24 18:26:56 +09:00
Justin Reynolds
04789bad94 Fix incorrect i18n email required key 2018-01-25 14:00:51 -06:00
SachaG
6659bd14e6 Add support for throwing/showing "document not found" errors in withDocument and default resolvers 2018-01-04 09:41:48 +09:00
SachaG
c80e38eb1f Add New button to datatables 2018-01-03 15:13:50 +09:00
Stephen Schutt
8298f5afba add email already exists error to i18n to fix bug where duplicate emails returns an 'unknown error' message 2018-01-02 19:32:36 +01:00
SachaG
d967b927e9 Split out i18n strings into correct packages 2017-09-13 10:21:15 +02:00
SachaG
fa9877ef04 small fixes 2017-08-30 18:50:25 +09:00
Matt Meshulam
a03b47d37d Display errors on password reset form 2017-08-28 18:26:09 -05:00
SachaG
2d0c422607 Add 'user.postlogin' hook to queue actions until after a user is logged in 2017-08-21 15:35:19 +09:00
SachaG
3387745805 form fixes 2017-08-16 16:24:50 +09:00
SachaG
985c509aca Improve form error handling; fields now show relevant validation errors 2017-08-16 16:18:40 +09:00
SachaG
2e439a6c89 add optional edit button to datatable 2017-08-02 18:56:29 +09:00
SachaG
314f6cb87a internationalize Card component 2017-07-26 07:30:58 +09:00
SachaG
629e62fbb1 Do not use FormattedRelative 2017-06-01 18:23:36 +09:00
SachaG
a3c8b1a303 Do not show forgot password link when user has no password; add getCurrentCategoriesArray and getCategoryLink methods to CategoriesList; add message to log in form 2017-05-19 14:58:37 +09:00
SachaG
6cff2b19fd integrate Embedly thumbnail inside EmbedlyURL component (not using ThumbnailURL anymore) 2017-05-06 16:08:01 +09:00
SachaG
ac2aa28e6c fix twitter login; throw different error when document is not found 2017-04-30 20:36:14 +09:00
SachaG
1749d4dcd7 Small fixes 2017-04-30 20:32:06 +09:00
SachaG
2b33c05981 Make upvoted/downvote posts/comments visible to current user only; do not use Accounts.createUser when seeding; small fixes 2017-04-29 12:33:05 +09:00
SachaG
8dbd482b11 Various UI fixes 2017-04-28 16:37:08 +09:00
SachaG
4f0c190dd8 Add permission checks to Posts resolvers 2017-04-07 16:06:33 +09:00
SachaG
7fd6cce117 working on Instagram example; use forms-upload package 2017-03-27 14:57:16 +09:00
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00