roschaefer
1bd57dfeb8
Fix console.errors in test
2019-09-06 16:42:16 +02:00
roschaefer
1a1f73e53e
Fix specs
...
Destructuring `isModerator` and calling it in `displayAnonymous` lets
`Notification.spec.js` fail. Adding the getter fixes it.
2019-09-06 13:43:01 +02:00
roschaefer
a053181334
Fix #1506
2019-09-06 13:29:53 +02:00
roschaefer
5f14b4c45f
Fix lint
2019-09-03 23:19:55 +02:00
roschaefer
99dd6ea20a
Centralize fragments, fix @mattwr18's bugs
...
Most of those bugs weren't even introduced in this PR, e.g. the missing
`this.$i18n` for the comments mutations.
2019-09-03 21:28:29 +02:00
roschaefer
98194ef54a
Follow @mattwr18's suggestions
2019-08-30 16:00:32 +02:00
roschaefer
30a95e5713
Fix lint
2019-08-30 16:00:32 +02:00
roschaefer
cbcba8f08d
Follow @Tirokk 's suggestion
2019-08-30 16:00:32 +02:00
roschaefer
66b12090a7
Fix cypress tests
2019-08-30 16:00:32 +02:00
roschaefer
f635b0cbd5
Fix frontend tests
2019-08-30 16:00:32 +02:00
roschaefer
c585b23d7a
Fix notification queries in webapp
2019-08-30 16:00:32 +02:00
Robert Schäfer
0bf0ca0b8d
Merge pull request #1398 from Human-Connection/fix-deprecation-warnings
...
Update to use <client-only> instead of <no-ssr>
2019-08-27 16:00:09 +02:00
Matt Rider
2af4151918
Update to use <client-only> instead of <no-ssr>
2019-08-26 17:09:24 +02:00
Wolfgang Huß
793485c0fc
Write frontend tests
2019-08-22 15:20:40 +02:00
Wolfgang Huß
3d2df56141
Backend tests
2019-08-21 14:27:32 +02:00
Wolfgang Huß
d98ebdd713
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
2019-08-21 08:37:43 +02:00
Matt Rider
a77c9638f6
Refactor Notification.vue
...
- Follow @alina-beck's suggestions, use notification over notification: true, use span with font weight and margin-right to remove
2019-08-20 08:36:05 +02:00
Wolfgang Huß
aae5fd396e
Merge branch '1017-send-out-notifications-on-create-omment' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
...
# Conflicts:
# backend/src/middleware/handleNotifications/handleNotifications.js
# backend/src/middleware/handleNotifications/handleNotifications.spec.js
# webapp/components/notifications/Notification/Notification.vue
# webapp/components/notifications/NotificationMenu/NotificationMenu.vue
2019-08-19 16:58:18 +02:00
Matt Rider
053d8bcf7b
Fix UserQuery
2019-08-19 11:41:23 +02:00
Wolfgang Huß
efb5c75c24
Refactor after Roberts suggestions, number I
...
Start writing tests
2019-08-16 16:56:14 +02:00
Wolfgang Huß
8acccc99d0
Implemented a reason in the Notification
...
Used this for displaying in the mentions menu in frontend.
Rewrite backend test.
2019-08-15 19:29:06 +02:00
Matt Rider
1930e5bafe
Add some component tests, rename files
...
- with new naming schema
2019-08-08 17:04:23 +02:00
Matt Rider
7c6dbd6351
Fix failing tests, remove comments
...
- Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2019-08-08 14:03:59 +02:00
Wolfgang Huß
ccae251ad9
Implemented scrollBehavior for better scroll behaviar
...
This scrolls even if you go forth and back in the browser.
Corrected URL for notifications in a Post.
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-07-18 16:31:50 +02:00
Wolfgang Huß
744f0cb225
Approach to get scrollBehavior in a useful way. Works, but not fully successful
2019-07-18 08:30:44 +02:00
Wolfgang Huß
0d5471fee4
Try to implement scrollBehavior for Mentions of User in Comment of a Post
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-07-16 19:25:03 +02:00
Wolfgang Huß
cd0c509c81
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
2019-07-16 16:10:36 +02:00
Wolfgang Huß
ff234eeed5
Preparing for Mentions of users in Comments
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-07-16 08:12:40 +02:00
Matt Rider
bb4532827a
Refactor search input, navbar
...
- fix search input width on desktop
- removed adding removing classes on focus/blur search input
- fix notifications dropdown on mobile
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2019-07-15 11:20:28 -03:00
Matt Rider
ff0b4b6867
Fix lint
2019-05-29 09:47:24 -03:00
5202763dd8
frontend lint fixes
2019-05-23 19:40:39 +02:00
Robert Schäfer
6c37f525c5
Grey out a read notification + test it
2019-04-18 17:11:22 +02:00
Robert Schäfer
9a96f22870
Finish Mention.feature 🥒
2019-04-17 22:29:55 +02:00
Robert Schäfer
055b79bfe2
RemoveLinks is better suited as a filter
...
Unfortunately with `v-html` you cannot use filters directly in
handlebars.
See: https://github.com/nuxt/nuxt.js/issues/231
I also fixed the tests even **without** mocking vue-filters.js plugin 👍
2019-04-17 01:54:53 +02:00
Robert Schäfer
e595135e9d
Display post.createdAt along with Notification
2019-04-17 01:18:53 +02:00
Robert Schäfer
f5afdf2435
Merge Notification with NotificationPostCard
...
cc @mattwr18 Please don't see this as a revert of your work. Your
structure of the `notification-post-card` component was helpful and showed
the redundancy with `hc-post-card`. I reused a lot of the code, but
because I merged both components it now *looks* as if I authored all the code.
2019-04-17 01:10:17 +02:00
Robert Schäfer
00046a5429
Remove obsolete href method
2019-04-17 00:08:39 +02:00
Robert Schäfer
128480fd0e
Implement first test for Notification
...
Fixed a bug along the way `(post.contentExcerpt == null)`
2019-04-17 00:08:21 +02:00
Robert Schäfer
af60ad39a4
Follow directory layout
2019-04-17 00:08:21 +02:00
Matt Rider
d4a4c9f362
Fix failing tests
2019-04-15 19:49:42 -03:00
Matt Rider
e4908ed640
Add component for Notifications' posts, style
2019-04-15 19:33:27 -03:00
Robert Schäfer
5b77c92c35
Display and test notification counter
2019-04-09 20:51:54 +02:00
Robert Schäfer
edfbd2a6ed
Proper notification counter
2019-04-09 20:51:54 +02:00
Robert Schäfer
cf27f9e836
Refactor: Notification as a root component
2019-04-09 20:51:54 +02:00
Robert Schäfer
352b5ac7a4
Implement NotificationList with apollo
2019-04-09 20:51:54 +02:00
Robert Schäfer
512835f202
Implement NotificationList without store implement
2019-04-09 20:51:54 +02:00
Robert Schäfer
13fe228b58
Implement first test case for NotificationList
2019-04-09 20:51:54 +02:00