xavcz
94edfc01ec
small tweaks on loadMore buttons, update graphql-tools (JSON scalar fix), fix remove callback on comments
2016-12-06 09:45:36 +01:00
Sacha Greif
ac713264a3
move optimistic UI logic to withList using reducers option instead of inside individual mutations; add extraFragment option to form wrapper and handle query and mutation fragments differently; give remove mutation a return value; pass Terms in listTotal resolver
2016-12-05 09:29:49 +09:00
Sacha Greif
714d89a1ed
pass extra fields to form fragment
2016-12-04 19:00:01 +09:00
xavcz
2e72185a2c
wip on comments
2016-12-02 13:43:26 +01:00
Sacha Greif
212cdf48c2
Telescope.components.CanDo -> ShowIf
2016-12-01 16:09:54 +09:00
Sacha Greif
b16c7ce0be
put withCurrentUser back in nova:core after all…
2016-11-30 16:58:28 +09:00
xavcz
ddd71eebd1
withCurrentUser belongs to nova:users
2016-11-29 14:08:24 +01:00
Sacha Greif
e09022b350
add fragments inside components
2016-11-23 11:07:48 +09:00
Sacha Greif
dd13571291
cleaning up
2016-11-23 08:41:50 +09:00
xavcz
1137fb96aa
adapt the Telescope.createCollection
api to all the collections, some clean up in old containers files
2016-11-22 18:14:51 -05:00
xavcz
afcb8f12c5
provide a nicer way to define options/config of a withList hoc (maybe re-inventing the wheel there), remove outdated CollectionContainers components
2016-11-20 02:25:16 +01:00
xavcz
6c14712a74
work on withList and queries generation
2016-11-19 20:01:17 +01:00
xavcz
5b3f2105d1
apply the new API registerComponent to the base-components
2016-11-17 20:42:16 +01:00
xavcz
9f4fe1a917
withCurrentUser hoc in nova:core
2016-11-15 18:33:16 +01:00
xavcz
600ab15c4d
Apollo branch up to date with v0.27.4
2016-11-15 12:51:43 +01:00
xavcz
08a686f496
use Collection.fragments in queries/mutations
2016-11-14 20:27:23 +01:00
xavcz
dd32c36f28
more work on removeSuccessCallback (wired with withRemove) ; add options noRemoveMutation (ex for UsersEdit)
2016-11-13 14:12:15 +01:00
xavcz
78802d6790
add query collectionListTotal (= list total count) on every collection by default, query list from the ui : getCollectionList(..) { collectionListTotal(..) collection(..) } ; withRemove "automation" based on these queries
2016-11-13 13:43:36 +01:00
Sacha Greif
a2f2a2e0fe
fix comment reply callback
2016-11-09 21:54:56 +09:00
Sacha Greif
cab93c1128
re-enable comment nesting
2016-11-09 11:55:12 +09:00
xavcz
b2620befbd
update CommentsItem state on mutation success callback
2016-11-08 18:50:50 +01:00
Sacha Greif
ce13bf11c0
fix a few issues with forms
2016-11-08 14:56:48 +09:00
xavcz
6e82219c5b
wip on categories mutation, comment logs on comments ( 🤔 )
2016-11-07 23:04:41 +01:00
xavcz
bca4b38358
fix commenters (UI / schema / resolvers), pass documentId to postsVote, move PostsListsContainer query to Posts.graphQLQueries.list, FormWrapper.clearErrors() -> FormWrapper.clearForm({clearErrors, clearCurrentValues}): prevent bug of keeping latest value when submitting a formNew that doesn't unmount
2016-11-07 18:03:07 +01:00
Sacha Greif
4e91966072
working on commentsListContainer
2016-11-07 23:46:12 +09:00
Sacha Greif
02b3e785c5
working on commentsEdit
2016-11-07 15:03:45 +09:00
Curtis G
eb0536a662
Only show comment reply button for logged in users
2016-11-06 13:31:58 -05:00
Sacha Greif
d217c93eba
small fixes
2016-11-05 18:42:57 +09:00
Sacha Greif
a0a7d235e9
working on comments mutations
2016-11-05 18:37:46 +09:00
xavcz
b5709b0a52
flash-messages logic handle via redux for all the components
2016-10-31 17:13:14 +01:00
xavcz
fa4f0bfcf3
add viewableIf
to non-array fields of Users (array fields cause trouble with mongo $ projection)
2016-10-30 18:25:51 +01:00
xavcz
e15093824a
sketchy example on single post
2016-10-19 11:07:21 +02:00
xavcz
b04cb52470
currentUser is now only given via context, update README about it, add a missing import
2016-10-14 08:47:18 +02:00
Sacha Greif
3ec90a04b5
remove Telescope global
2016-08-08 11:18:21 +09:00
xavcz
0820523750
use CanDo
component when relevant, comment & deprecate ol' permission components
2016-08-06 19:47:04 +02:00
Sacha Greif
c748bdc5bd
permissions clean up & refactoring
2016-07-20 10:25:05 +09:00
xavizalote
c0f4c40e85
decouple components actions from Meteor
2016-06-24 09:44:32 +02:00
Sacha Greif
41f349d18c
removing Users global
2016-06-23 15:00:58 +09:00
Sacha Greif
0e28be3c92
removing Comments global
2016-06-23 12:17:39 +09:00
Sacha Greif
b51c48b117
pass actions, messages, and events as part of context instead of depending on them from within base-components
2016-06-14 17:03:35 +09:00
Sacha Greif
c3a81bb3e6
remove unnecessary imports
2016-06-11 16:36:45 +09:00
Sacha Greif
2c6e3d0d30
more i18n work
2016-06-10 10:25:38 +09:00
Sacha Greif
c1572344ba
working on i18n
2016-06-09 17:42:20 +09:00
Sacha Greif
5ee570299a
replacing packages with their npm equivalents
2016-06-07 15:03:00 +09:00
Sacha Greif
b25c44bc7d
fix component name bugs
2016-05-22 21:56:17 +09:00
Sacha Greif
e8a7c657ad
change component import syntax to be more explicit
2016-05-22 16:42:24 +09:00
Justin Gross
bcfa305530
Complete soft delete feature for comments
...
- Add deleteComment function to CommentsItem.jsx
- Add Delete link next to Edit link in CommentsItem.jsx
- Hide reply link if comment.isDeleted
- Add styling for Delete link element in _comments.scss
- Add check for document.isDeleted in Users.can.edit in permissions.js
2016-05-06 17:07:40 -04:00
Sacha Greif
453634c4c4
small improvements and clean up to components
2016-05-03 12:44:50 +09:00
Sacha Greif
0907733208
more work on consistent naming
2016-04-19 15:54:53 +09:00
Sacha Greif
6665a7c968
making component names and class names more consistent.
...
- Posts, Comments, Users, etc. are always pluralized.
- CSS classes are based off component names (PostsTitle -> posts-title)
2016-04-19 15:45:36 +09:00