50 Commits

Author SHA1 Message Date
Robert Schäfer
669ef1076f Drop the component test for the page
@appinteractive and I decided to test the page with a fullstack test. It
makes more sense for pages who request data from the backend.
2018-12-12 21:39:36 +01:00
Robert Schäfer
6fc203003a Undo the local imports 2018-12-12 18:01:04 +01:00
Robert Schäfer
92b06a352c Try write a component test for categories page
@visualjerk could you help us out on this PR? I'm trying to get rid of
this error:
```
Unknown custom element: <ds-table> - did you register the component
correctly? For recursive components, make sure to provide the "name"
option.
```
How do we tell @vue/test-utils to stub globally registered components?

Second, I don't understand why the resulting html() of the categories
components looks so odd:

```
<h1 class="ds-heading ds-heading-h1" space="small" categories="[object Object],[object Object],[object Object],[object Object],[object Object]">
<h3 class="ds-card"><!----> <!----> <!----> <div class="ds-card-content">
  Themen / Kategorien
</div> <!----></h3> <ds-table data="" fields="icon,name,postCount" condensed=""></ds-table></h1>
```
Why on earth does the categories array end up in the `categories`
property of `ds-heading` component?

@visualjerk and @appinteractive have a look, please 😘
2018-12-11 01:36:45 +01:00
Grzegorz Leoniec
f3bf82fdab
remove location related stuff 2018-12-08 14:02:35 +01:00
Grzegorz Leoniec
9042089d5e
fixed linting issues 2018-12-08 13:51:52 +01:00
Grzegorz Leoniec
c96e22492c
merged tags and categories in 2018-12-08 13:44:22 +01:00
Grzegorz Leoniec
987fa33d58
fixed linting issues 2018-12-07 19:29:37 +01:00
Robert Schäfer
6415426949 Merge remote-tracking branch 'origin/master' into integration-testing 2018-12-06 15:18:12 +01:00
JB
56ed20f3bf Use kebab-case for components in templates 2018-12-04 22:02:15 +01:00
Grzegorz Leoniec
7f7d2c2c2f
Merge branch 'master' into integration-testing 2018-11-30 12:28:40 +01:00
JB
c98ffb712c Remove old styleguide imports 2018-11-29 23:03:08 +01:00
Grzegorz Leoniec
3511b380e9
Merge branch 'master' into integration-testing 2018-11-26 15:55:08 +01:00
Grzegorz Leoniec
b087f1880e
Merge branch 'master' into integration-testing 2018-11-26 11:28:01 +01:00
Grzegorz Leoniec
b3187d7f88 added correct login rewrite 2018-11-26 11:19:45 +01:00
Grzegorz Leoniec
18697e3063 adjust user relation after changing the author relation in the backend 2018-11-23 15:56:40 +01:00
Grzegorz Leoniec
9159fb47fe improved input and button accessibility 2018-11-16 12:33:23 +01:00
Grzegorz Leoniec
76d607033f added user menu and fixed auth store 2018-10-30 18:40:04 +01:00
Grzegorz Leoniec
530c06f30e display contribution name in page title for better back navigation and bookmarking 2018-10-30 13:00:59 +01:00
Grzegorz Leoniec
d0036213d8 improved follow and following naming 2018-10-30 13:00:29 +01:00
Grzegorz Leoniec
1d009acded added createAt date to user, improved content formatting, added keep-alive (disabled) 2018-10-28 18:48:28 +01:00
Grzegorz Leoniec
508838179d fixed newsfeed data that was not unique 2018-10-28 14:50:29 +01:00
Grzegorz Leoniec
201b02ac1d made load more a component and added it to the newsfeed too 2018-10-26 17:38:25 +02:00
Grzegorz Leoniec
5561cda13e output uniqe users and posts on profile page 2018-10-26 16:10:12 +02:00
Grzegorz Leoniec
1af35ea4cf show create dates where possible 2018-10-26 15:15:50 +02:00
Grzegorz Leoniec
a26937d093 improved pagination on profile page 2018-10-26 14:48:17 +02:00
Grzegorz Leoniec
09b4b707bc show post date 2018-10-26 14:48:04 +02:00
Grzegorz Leoniec
f1824d7c06 added pagination to profile 2018-10-26 14:23:13 +02:00
Grzegorz Leoniec
667122d1e7 improved admin dashboard 2018-10-23 12:50:10 +02:00
Grzegorz Leoniec
76a769f91b using badges 2018-10-23 12:49:59 +02:00
Grzegorz Leoniec
d9237db6fe added current statistics to the admin dashboard 2018-10-19 12:31:43 +02:00
Grzegorz Leoniec
74642777b5 added settings and admin page templates 2018-10-18 14:14:22 +02:00
Grzegorz Leoniec
f73c535bbb remove unused code from more info page 2018-10-18 09:38:40 +02:00
Grzegorz Leoniec
24093f9148 using hc post card (without image) on more info section for realted posts 2018-10-18 09:38:03 +02:00
Grzegorz Leoniec
d3c8e58612 improved querys for caching 2018-10-18 09:37:36 +02:00
Grzegorz Leoniec
fa009151cd added shout button 2018-10-17 23:17:53 +02:00
Grzegorz Leoniec
a4272d8805 improved following infos on profile 2018-10-17 20:06:39 +02:00
Grzegorz Leoniec
1735767cce added jwt login and authentication plus some toast 2018-10-17 19:57:24 +02:00
Grzegorz Leoniec
d59ee07787 fixed typo 2018-10-16 14:52:19 +02:00
Grzegorz Leoniec
9924bd7b82 remove order by for now on the main page to prevent an explosion (order by is still an issue with the used package) 2018-10-16 14:43:17 +02:00
Grzegorz Leoniec
17c9825a81 some comments for the profile code 2018-10-16 14:42:31 +02:00
Grzegorz Leoniec
efafc0045a showing who is following 2018-10-16 14:41:54 +02:00
Grzegorz Leoniec
4df66b219f mock and truncate 2018-10-16 11:18:54 +02:00
Grzegorz Leoniec
98df6ed1f5 fixed spelling 2018-10-16 09:44:42 +02:00
Grzegorz Leoniec
ac3fbcda2f use new author component on more pages 2018-10-16 09:44:35 +02:00
Grzegorz Leoniec
196de5f4be added first settings page index 2018-10-16 09:43:26 +02:00
Grzegorz Leoniec
430d4b7a2a small fixes on login screen 2018-10-16 09:42:39 +02:00
Grzegorz Leoniec
cf08efa19f imporved queries 2018-10-16 09:42:28 +02:00
Grzegorz Leoniec
bf9a87cb24 added login and main scss 2018-10-11 15:10:02 +02:00
Grzegorz Leoniec
e6c177737e added PostCard and FollowButton components and put the profile query into own file 2018-10-11 10:19:05 +02:00
Grzegorz Leoniec
4dbe142dcb hc experiment progress 2018-10-09 14:11:21 +02:00