mattwr18
ebc5cf392d
Fix search by adding result id
...
- Apollo cache requires an id to commit to their store
- add id to each query result
- refactor out the store
- still can use a lot of refactoring
2019-12-13 12:30:00 +01:00
mattwr18
60bf819a56
Remove counts to make less expensive db requests
2019-12-09 17:41:38 +01:00
mattwr18
79c6bd5c20
Paginate moderations page without losing filtering
...
Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-12-09 16:37:04 +01:00
mattwr18
4d0df181b6
Merge pull request #2432 from Human-Connection/remove-query-for-disable-property-for-reports
...
Remove disable from reports.disable Query
2019-12-05 21:14:55 +01:00
mattwr18
517963174b
We are not setting disable on Report node
...
- we are adding the report rule which says that if a resource was
disabled by a report with this rule, then the latest review was the one
that disabled it.
- fix db script/ add new directory for keeping record of db scripts
2019-12-05 19:52:05 +01:00
mattwr18
be319615f8
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2253-fix-scroll-layout-issue
2019-12-05 11:16:16 +01:00
mattwr18
7db3696819
Return createdAt/updatedAt for Report
2019-12-02 20:50:28 +01:00
mattwr18
9401d4e1e1
[WIP] Extract code into own components
2019-11-28 17:38:44 +01:00
mattwr18
3d8435dde1
Get frontend working with data from backend
2019-11-28 16:13:48 +01:00
mattwr18
21be2c08ba
Update to return resource instead of to
...
- more verbose makes it easier to understand
2019-11-28 13:44:00 +01:00
mattwr18
1f7d8a023e
Update reports query in frontend
2019-11-27 17:45:32 +01:00
mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
mattwr18
ff404e3c37
Fix graphql mutation for returned Claim
2019-11-25 19:02:58 +01:00
Wolfgang Huß
4d645ebc04
Correct mutation to display the comment disabling right
2019-11-23 13:11:09 +01:00
Wolfgang Huß
6890ef25be
Add sorting to resource claims and reports lists
2019-11-23 10:34:55 +01:00
Wolfgang Huß
ec8910d6eb
Rename decide mutation to review
2019-11-22 15:12:00 +01:00
Wolfgang Huß
02bdc5ea5d
Rename node CaseFolder to Claim and relation FLAGGED to BELONGS_TO
2019-11-22 12:18:43 +01:00
mattwr18
b9d28e5a69
Set up frontend/backend to add imageAspectRatio
...
- on create and update
2019-11-21 11:32:42 +01:00
Wolfgang Huß
ef84e9991f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
2019-11-21 08:09:50 +01:00
mattwr18
95be6eaee6
Initial commit to add placeholder image for Post
2019-11-20 16:52:20 +01:00
Wolfgang Huß
cf02ca4506
Refactor decide mutation to new CaseFolder structure
2019-11-20 15:17:37 +01:00
Robert Schäfer
ab819e2957
Merge pull request #2200 from Human-Connection/2187-language-does-not-change-on-edit
...
2187 language does not change on edit
2019-11-18 17:03:55 +01:00
Wolfgang Huß
3b4de22855
Refactor reports mutation to CaseFolder structure
2019-11-18 11:25:47 +01:00
Wolfgang Huß
913fcc2cdb
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
# webapp/locales/pt.json
2019-11-14 09:41:00 +01:00
Alina Beck
6213a25355
Merge branch 'master' into 1747-show-shouts
2019-11-14 09:37:54 +03:00
Alina Beck
34239631a2
toggle shouts tab depending on user setting
2019-11-13 11:44:24 +03:00
mattwr18
feb65a6c9c
Update property name to be more descriptive
...
- I wanted to trigger a build, since we had issues with our build server
today. I think this naming is more in the direction we want to go,
though. Maybe it could be makeShoutsPublic as @alina-beck used for the
translation keys... what do you think @kachulio
2019-11-12 21:19:52 +01:00
mattwr18
3b5e40efaa
Merge branch 'master' of github.com:Human-Connection/Human-Connection into donation-info
2019-11-12 15:18:10 +01:00
mattwr18
a215093bc3
Make Donations reactive
...
Co-authored-by: @alina-beck <alina.beck@mail.com>
2019-11-12 13:26:30 +01:00
Alina Beck
bdeb208556
pre-fill donation input fields with data from query
2019-11-12 12:45:59 +03:00
Moriz Wahl
19602d7311
language is fetched in postFragment
2019-11-11 22:21:59 +01:00
mattwr18
f51ad1131b
UpdateDonations from admin/donations
...
@alina-beck I'm not 100% satisfied with this at the moment. I think that
the admin could have the goal and progress initialized from a query for
the Donations, and be able to update if one of them changed... what do
you think?
2019-11-11 19:16:07 +01:00
Wolfgang Huß
677039b786
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# webapp/pages/moderation/index.vue
2019-11-11 17:52:58 +01:00
roschaefer
8e129c6001
fix: update counter when notification is read
...
@mattwr18 vue-apollo rocks! Taking the time to study the docs is a
rewarding investment.
My first idea was to cache the `unreadNotificationsCount` with Vuex.
But the docs of apollo even suggest to use apollo's local state as a
complete replacement of Vuex:
https://vue-apollo.netlify.com/guide/local-state.html
Then I further investigated why the updated `NOTIFIED` objects won't
update the notification counter. Turns out: They don't have an ID and
the computed property didn't fire when the notifications array would
change. I fixed both in this commit and yes, it works as expected.
No additional code required 💪
2019-11-11 08:52:04 +01:00
mattwr18
7007b1c444
Paginate notifications, reusable component w/ test
2019-11-11 08:50:35 +01:00
mattwr18
b79770469f
Update notifications page
...
- display more notifications by simplifying the table
- get sorting working
2019-11-11 08:50:35 +01:00
mattwr18
7cdc12f4b9
Add notifications page with Notifications in table
...
- At the moment, the notifications are displayed in a table, and have
the same functionality as the NotificationMenu where you can click on
the title of the Post and visit the Post
- Unsure about the styling, it would kind of be nice to have a more
condensed list to see more notifications per page, but still be able to
click on a row and visit the Post
2019-11-11 08:50:35 +01:00
Wolfgang Huß
553a3ca2cb
Implement 'decide' button and functionality
2019-11-08 17:29:09 +01:00
Wolfgang Huß
2a23bbf101
Refactor frontend and 'reports' query again
2019-11-07 15:54:26 +01:00
Joseph Ngugi
044155a298
add allowShouts mutation
2019-10-31 21:22:44 +03:00
Wolfgang Huß
54be7782ba
First refactoring tests to new database structure
2019-10-30 16:59:24 +01:00
Wolfgang Huß
92605558ec
Correct spelling of comment
2019-10-25 14:55:05 +02:00
Wolfgang Huß
a949fce606
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-25 13:19:19 +02:00
mattwr18
a38731fcae
Merge pull request #1991 from Human-Connection/Locale_save_by_change_LocalSwitch
...
Locale save by change local switch
2019-10-24 10:02:46 +02:00
Wolfgang Huß
f5126e919f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-23 08:22:41 +02:00
ogerly
9dccb5fc0a
Save language for the user permanently when changing the language
2019-10-22 11:34:04 +02:00
Wolfgang Huß
db77448505
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-18 15:42:55 +02:00
Wolfgang Huß
965882885a
Refactor moderators report list
2019-10-18 15:41:18 +02:00
mattwr18
ddf8b657be
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1205-pinned-post-for-admins
2019-10-18 15:17:03 +02:00
mattwr18
be0c8044e8
Return pinnedAt date from pinPost resolver/clean up
...
- it's good to return the pinnedAt date for ordering
- move test to a better describe block
- remove unneeded outdated variables from graphql/PostQuery UpdatePost
- fix indentation in Post.gql
- fix pinnedAt to return pinned.createdAt, not post.createdAt
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-10-18 15:10:26 +02:00