SachaG
|
85dde4b402
|
move views logic to createCollection
|
2017-03-05 10:33:34 +00:00 |
|
SachaG
|
46236b572b
|
withList errors shouldn’t clear our results
|
2017-03-05 08:09:53 +00:00 |
|
SachaG
|
f82e458302
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
# packages/nova-base-components/package.js
# packages/nova-posts/package.js
|
2017-02-16 23:11:47 +09:00 |
|
xavcz
|
390ea7444d
|
fix metatags on PostsPage
|
2017-02-16 10:09:28 +01:00 |
|
SachaG
|
8bc6aacf85
|
Small tweaks: i18n’ize error message, pass terms to posts list
|
2017-02-06 10:43:55 +09:00 |
|
SachaG
|
b11188eda6
|
handle missing users/posts better
|
2017-02-04 15:40:26 +09:00 |
|
SachaG
|
3cde24d4fb
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
# packages/nova-base-components/lib/posts/PostsList.jsx
# yarn.lock
|
2017-02-03 15:37:52 +09:00 |
|
SachaG
|
cf1ee06273
|
pass error to PostsList and show error message
|
2017-02-03 15:36:40 +09:00 |
|
xavcz
|
e533dd47e7
|
fix some lint issues, remove some dead code, remove double imports from the same package & import from core instead of lib except for packages depending explicitly on lib (users, emails, ..)
|
2017-02-02 16:18:33 +01:00 |
|
xavcz
|
08c171ed64
|
fix #1541: increasePostViewCount mutation + associated resolver; store posts viewed on the client session on postsViewed in the redux store; document PostsPage HOC & lifecycle hook
|
2017-02-01 16:37:06 +01:00 |
|
xavcz
|
2c2a647e7a
|
work on <head />: allow custom script tag, fix rss feed, expose 'excerpt' on post fragment
|
2017-01-31 18:57:45 +01:00 |
|
SachaG
|
45b9de4789
|
Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName
|
2017-01-30 19:46:48 +09:00 |
|
SachaG
|
38de180530
|
Add comment voting using graphql union type
|
2017-01-29 11:17:00 +09:00 |
|
SachaG
|
7e640cc1bd
|
Make new comment mutation return post to auto-update post object in store with new commentCount and list of commenters
|
2017-01-23 11:01:14 +09:00 |
|
SachaG
|
4661ec9583
|
Wrap PostsPage with currentUser
|
2017-01-23 10:30:58 +09:00 |
|
SachaG
|
c1131422a0
|
Use immutability helper for vote; pass currentUser to Vote.jsx as prop
|
2017-01-22 10:12:05 +09:00 |
|
xavcz
|
c0fcc944d7
|
Nova's components & routes registered in a declarative way: no load order mess, better control of the flow, no changes for the end user
|
2017-01-18 12:51:10 +01:00 |
|
SachaG
|
db17e917f8
|
Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code
|
2017-01-18 10:18:33 +09:00 |
|
Sacha Greif
|
7e3bda4203
|
Change daily view loading
|
2017-01-16 10:27:42 +09:00 |
|
Sacha Greif
|
10d1e7cc22
|
Fragment -> mutationFragment
|
2017-01-13 15:48:00 +09:00 |
|
Sacha Greif
|
171bf9feb9
|
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
|
2017-01-12 17:30:25 +09:00 |
|
Sacha Greif
|
f810c7166b
|
Wrap PostsList with withCurrentUser instead of wrapping PostsItem (move it one level up); get rid of ContextPasser and pass closeModal as props instead of context;
|
2017-01-10 17:49:03 +09:00 |
|
Sacha Greif
|
834c33fecf
|
simplify PostsDailyList logic a bit
|
2017-01-10 11:27:08 +09:00 |
|
Sacha Greif
|
b065e8c27a
|
loading improvements
|
2017-01-09 22:09:09 +09:00 |
|
Sacha Greif
|
94b514675f
|
fix daily view pagination
|
2017-01-09 21:14:25 +09:00 |
|
Sacha Greif
|
fc982bc20f
|
Make voting generic (posts, comments, etc.) WIP
|
2017-01-09 15:42:24 +09:00 |
|
xavcz
|
4ca3cab7ce
|
use networkStatus === 1 instead of loading prop from apollo-client hoc
|
2016-12-21 18:14:13 +01:00 |
|
Sacha Greif
|
62368a0d48
|
NovaForm -> SmartForm
|
2016-12-20 09:27:16 +09:00 |
|
Sacha Greif
|
70ddd87039
|
update to apollo-client 0.5.22; small fixes and clean-up; Posts.parameters.get -> Posts.getParameters; add sorting to withList (even though it doesn't work yet); add getParameters to all collections;
|
2016-12-18 19:04:11 +09:00 |
|
Sacha Greif
|
b931fb0df2
|
pass entire mutation fragment to NovaForm after all
|
2016-12-15 12:07:13 +09:00 |
|
Sacha Greif
|
f384b78cd2
|
rework withList reducer; fix post slug bug
|
2016-12-15 10:10:18 +09:00 |
|
Sacha Greif
|
83f72c9646
|
when a document is edited, test if it still belongs to a list or not
|
2016-12-14 22:35:02 +09:00 |
|
Sacha Greif
|
8591b49ea3
|
show log in form when creating new post when not logged in; small fixes
|
2016-12-14 11:29:52 +09:00 |
|
Sacha Greif
|
98fef8ef62
|
Telescope.settings.get -> getSetting
|
2016-12-12 15:00:56 +09:00 |
|
Sacha Greif
|
dd0df7dfc5
|
Telescope.utils -> Utils
|
2016-12-12 11:34:28 +09:00 |
|
Sacha Greif
|
292a5e5566
|
various fixes: upgrade react-apollo; handle array fields in forms; fix "daily" view
|
2016-12-12 09:55:24 +09:00 |
|
Sacha Greif
|
8fa846fda3
|
withSingle -> withDocument
|
2016-12-12 09:54:16 +09:00 |
|
Sacha Greif
|
b6b31222fd
|
remove limit on categories and daily lists; re-export stuff from nova:core; add copyHoCs function;
|
2016-12-10 21:58:40 +09:00 |
|
xavcz
|
2638023f4e
|
harmonize apollo branch to be on v0.27.5
|
2016-12-08 23:48:16 +01:00 |
|
xavcz
|
990f21aae1
|
withMessages hoc to avoid having redux code in components
|
2016-12-08 09:42:50 +01:00 |
|
xavcz
|
37f4bdaf91
|
Telescope.components.Foo -> Components.Foo, same for related components utils like registerComponent, getRawComponent & replaceComponent
|
2016-12-06 18:06:29 +01:00 |
|
xavcz
|
5071a86266
|
fix categories container & forms
|
2016-12-06 10:29:10 +01:00 |
|
Sacha Greif
|
42dbc8efb6
|
fix offset pagination
|
2016-12-06 14:48:35 +09:00 |
|
Sacha Greif
|
deb35f0772
|
finish daily view
|
2016-12-06 14:46:28 +09:00 |
|
Sacha Greif
|
c73b7611c0
|
making some progress on daily view
|
2016-12-05 16:30:31 +09: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
|
2d42bd5bf3
|
fragmentName from fragment in withRemove; destructure args in usersSingle resolver; ShowIf on PostsNewForm & UsersEditForm; connect as the "most-right" HOC on Newsletter
|
2016-12-01 16:12:39 +01:00 |
|
Sacha Greif
|
212cdf48c2
|
Telescope.components.CanDo -> ShowIf
|
2016-12-01 16:09:54 +09:00 |
|
Sacha Greif
|
09cce8f978
|
get fragmentName from fragment, no need to define it separately anymore
|
2016-12-01 12:13:27 +09:00 |
|