2156 Commits

Author SHA1 Message Date
mattwr18
797b8338be
Merge pull request #2197 from Human-Connection/2195-define-missing-getters
Added Empty Definitions For Missing Getters And Mutations
2019-11-12 15:54:45 +01:00
mattwr18
10c932308c
Merge pull request #2204 from Human-Connection/dependabot/npm_and_yarn/webapp/vue-svg-loader-0.15.0
build(deps-dev): bump vue-svg-loader from 0.14.0 to 0.15.0 in /webapp
2019-11-12 14:03:49 +01:00
mattwr18
b0dc7ce946
Merge pull request #2203 from Human-Connection/dependabot/npm_and_yarn/webapp/async-validator-3.2.2
build(deps-dev): bump async-validator from 3.2.1 to 3.2.2 in /webapp
2019-11-12 14:03:31 +01:00
mattwr18
e19990a58b Fix lint 2019-11-12 13:43:51 +01:00
Moriz Wahl
d7397f5e46 posts/currentPosts now return empty array 2019-11-12 11:20:56 +01:00
Alexander Friedland
8bb8bb220d
Merge pull request #2193 from Human-Connection/Delete_BlockButton_in_MainPage_PostCard
Fix: Delete Block Button in MainPage PostCards
2019-11-12 11:18:42 +01:00
dependabot-preview[bot]
f79aa2c185
build(deps-dev): bump vue-svg-loader from 0.14.0 to 0.15.0 in /webapp
Bumps [vue-svg-loader](https://github.com/visualfanatic/vue-svg-loader) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/visualfanatic/vue-svg-loader/releases)
- [Commits](https://github.com/visualfanatic/vue-svg-loader/compare/0.14.0...0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 04:22:57 +00:00
dependabot-preview[bot]
05566cf6b8
build(deps-dev): bump async-validator from 3.2.1 to 3.2.2 in /webapp
Bumps [async-validator](https://github.com/yiminghe/async-validator) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yiminghe/async-validator/releases)
- [Changelog](https://github.com/yiminghe/async-validator/blob/master/HISTORY.md)
- [Commits](https://github.com/yiminghe/async-validator/compare/v3.2.1...v3.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-12 04:22:19 +00:00
mattwr18
ad01c9925f
Merge pull request #2201 from Human-Connection/2161-fix
console.error in Hashtag.spec.js #2161
2019-11-12 00:56:45 +01:00
mattwr18
d360acd7f9
Merge pull request #2186 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-actions-5.2.6
build(deps-dev): bump @storybook/addon-actions from 5.2.5 to 5.2.6 in /webapp
2019-11-12 00:40:43 +01:00
Mo Zargham
34fb529147 console.error in Hashtag.spec.js #2161 2019-11-11 18:15:26 -05:00
Moriz Wahl
163825e562 Added Empty Definitions For Missing Getters And Mutations 2019-11-11 21:20:53 +01:00
dependabot-preview[bot]
44defc57eb
build(deps-dev): bump @storybook/addon-actions in /webapp
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.2.5 to 5.2.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.6/addons/actions)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 19:41:16 +00:00
mattwr18
ce5d67235c
Merge pull request #2188 from Human-Connection/dependabot/npm_and_yarn/webapp/style-resources-loader-1.3.2
build(deps-dev): bump style-resources-loader from 1.2.1 to 1.3.2 in /webapp
2019-11-11 20:39:20 +01:00
mattwr18
9c21d8978a
Merge pull request #2183 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/vue-5.2.6
build(deps-dev): bump @storybook/vue from 5.2.5 to 5.2.6 in /webapp
2019-11-11 20:38:53 +01:00
mattwr18
48ae541330
Merge pull request #2176 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-a11y-5.2.6
build(deps-dev): bump @storybook/addon-a11y from 5.2.5 to 5.2.6 in /webapp
2019-11-11 20:38:34 +01:00
mattwr18
d036a57414
Merge pull request #2164 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.7.0
build(deps): bump date-fns from 2.6.0 to 2.7.0 in /webapp
2019-11-11 20:36:30 +01:00
mattwr18
ce3867a717
Merge pull request #2192 from Human-Connection/fix-invalid-json
Remove unintended comma
2019-11-11 19:21:37 +01:00
mattwr18
46ed623cfa
Merge pull request #2111 from Human-Connection/russian-locales
added Russian to locales
2019-11-11 14:38:00 +01:00
dependabot-preview[bot]
202de180a2
build(deps-dev): bump style-resources-loader in /webapp
Bumps [style-resources-loader](https://github.com/yenshih/style-resources-loader) from 1.2.1 to 1.3.2.
- [Release notes](https://github.com/yenshih/style-resources-loader/releases)
- [Changelog](https://github.com/yenshih/style-resources-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yenshih/style-resources-loader/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:32:48 +00:00
dependabot-preview[bot]
64ff54729e
build(deps-dev): bump @storybook/vue from 5.2.5 to 5.2.6 in /webapp
Bumps [@storybook/vue](https://github.com/storybookjs/storybook/tree/HEAD/app/vue) from 5.2.5 to 5.2.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.6/app/vue)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:32:46 +00:00
dependabot-preview[bot]
b8e428bf29
build(deps-dev): bump @storybook/addon-a11y in /webapp
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y) from 5.2.5 to 5.2.6.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.6/addons/a11y)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 13:32:26 +00:00
mattwr18
36722962e0
Merge pull request #1975 from Human-Connection/1974-notifications-page
Add notifications page with All Notifications
2019-11-11 14:29:40 +01:00
ogerly
47720e3ce0 Fix: Delete Block Button 2019-11-11 12:16:11 +01:00
mattwr18
bf87291879 Remove unintended comma 2019-11-11 11:55:18 +01:00
mattwr18
52bdfa7c48
Merge pull request #2073 from Human-Connection/Laod_saved_Laguage_and_select
1931 - after successful login the saved language of the user is set
2019-11-11 11:43:12 +01:00
dependabot-preview[bot]
98a60168c1
build(deps): bump date-fns from 2.6.0 to 2.7.0 in /webapp
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.6.0...v2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 07:58:17 +00:00
mattwr18
e1cee39aab
Merge pull request #2156 from Human-Connection/dependabot/npm_and_yarn/webapp/eslint-plugin-vue-6.0.0
build(deps-dev): bump eslint-plugin-vue from 5.2.3 to 6.0.0 in /webapp
2019-11-11 08:54:39 +01:00
mattwr18
288787bcb9 Remove deprecated slot syntax
- Update slot to use syntax supported after Vue 2.6
2019-11-11 08:52:51 +01:00
mattwr18
57b0a339c6 Avoid negative margins/targeting tags
- follow @alina-beck's PR suggestions
2019-11-11 08:52:51 +01:00
mattwr18
f2e2c78582 Add tests for notifications index page 2019-11-11 08:52:51 +01:00
mattwr18
64e2a2a7c2 Add story for Paginate component 2019-11-11 08:52:51 +01:00
mattwr18
7d0b9861b8 Add story for AvatarMenu 2019-11-11 08:52:51 +01:00
mattwr18
49f73976b7 Fix DropdownFilter story after refactor
- it was refactored to make reuse easier
2019-11-11 08:52:04 +01:00
mattwr18
d56c81dc3d Add test for NotificationsTable and refactor 2019-11-11 08:52:04 +01:00
mattwr18
09e4c20bb8 Update test to findIndex instead of hard coding
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-11-11 08:52:04 +01:00
mattwr18
b7e39ca3db Add test for DropdownComponent 2019-11-11 08:52:04 +01:00
mattwr18
088d4a8ae5 Use verbose variables 2019-11-11 08:52:04 +01:00
mattwr18
ddb9fcdcb7 Make dropdown filter reusable 2019-11-11 08:52:04 +01:00
roschaefer
25c9b9585b Translate dropdown values on notification page
@mattwr18 this solves the problem by 50%. If you switch the language and
click on the notifications dropdown filter, you will see the translated
labels. However, the label showing the selected value will not change,
probably because `<ds-menu>` caches the selected option 😞.
2019-11-11 08:52:04 +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
roschaefer
8ca2445a25 Fix data of NotificationsTable.story.js
@mattwr18 probably you wanted to override the `author` of the
comment/post, right? If you use the { ... desctructuring } operator,
whatever comes last takes precedence. So you probaby want to put your
override last?
2019-11-11 08:52:04 +01:00
mattwr18
6fca753c1f Add component test for Empty.vue 2019-11-11 08:52:04 +01:00
mattwr18
1d8e328a47 Clean up
- remove unused data variable
- avoid scoped scss
2019-11-11 08:52:04 +01:00
mattwr18
7564908456 Refactor to follow @alina-beck suggestions
- Update CSS
- Use design tokens where possible
- Update spec description
- Avoid scoped scss as it's more expensive
- did not change the next and back button as they weren't really visible
without the primary class
- Fix German translation
2019-11-11 08:52:04 +01:00
mattwr18
44ed462db2 Add NotificationsTable story, refactor code
- Use percentages for width on all columns to help with resonsiveness
- export constants from other stories to dry code out
2019-11-11 08:52:04 +01:00
mattwr18
542647f418 Add NotificationsDropdownFilter story, refactor
- rename incorrectly named varaibles
- use filterOptions to remove unneccessary computed routes

Co-authored-by: @alina-beck
2019-11-11 08:52:04 +01:00
mattwr18
3ae71544d6 Add story for Empty component
Co-authored-by: @alina-beck
2019-11-11 08:52:04 +01:00
mattwr18
a1af4f5037 Add storybook notes
Co-authored-by: @alina-beck
2019-11-11 08:52:04 +01:00
mattwr18
aabaa2e637 Fix typo
Co-authored-by: Alina Beck <alina.beck@mail.com>
2019-11-11 08:50:35 +01:00