34 Commits

Author SHA1 Message Date
mahula
166094c465 adapt slug faking to updated faker api 2024-04-29 09:21:33 +02:00
mahula
e2654de55d adapt name and random faking to updates faker api 2024-04-29 08:36:34 +02:00
mahula
47d79544c6 adapt name and random faking to updates faker api 2024-04-29 08:18:00 +02:00
mahula
d8e47238bb adapt faker import in webapp to package update 2024-04-29 07:44:49 +02:00
Moriz Wahl
60b05379d9 post page test fixed 2023-05-23 11:29:18 +02:00
Wolfgang Huß
50bdfb80e2 Change from require to import which now works again 2022-05-04 09:15:47 +02:00
Wolfgang Huß
634249b407 Fix the rest of the faker imports
- Some seems to work even the old way?!
2022-05-03 14:22:10 +02:00
Moriz Wahl
1c3f628fb2 count views of post teaser 2021-03-01 15:33:20 +01:00
Moriz Wahl
96066eae02 tests fixed for clickedCount 2021-02-22 22:23:56 +01:00
Moriz Wahl
a30ae12d65 specs added for SearchResults component.
General use of v-if instead of v-show. Why render a not displayed component?
Helper added to fake posts.
2020-05-12 18:30:26 +02:00
Raphael Beer
b05cc303b4
Fix: filter not preferring full matches in back +
The fuzzy filter wasn't scoring full matches
  high enough, when they weren't at the
  beginning of the name.

  Given the filter 'ger', results have been:

    - (Ger)hard Burg
    - (Ge)of(r)ey
    - Armin (Ger)lach

  with this fix the are:

    - (Ger)hard Burg
    - Armin (Ger)lach
    - (Ge)of(r)ey
2020-04-01 08:04:56 +02:00
Raphael Beer
1ac34a8fba
Refactor: use fakered users in test 2020-03-26 11:07:43 +01:00
Raphael Beer
15d5933821
Change: v-focus directive looking for input +
Searches children and uses first <input> child.
  if target of v-focus is not instanceof HTMLInputElement

  Also, adds vue-directives to storybook and tests
2020-03-25 12:51:38 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Alina Beck
56b1a74e64 let eslint do some magic 2019-12-19 12:53:38 +05:30
Alina Beck
92856afa3c sort storybook stories alphabetically 2019-12-17 12:51:05 +05:30
Alina Beck
8f70ce5b31 set up css resets 2019-12-10 13:17:04 +03:00
Alina Beck
f20531ece3 use babel-loader with vue-svg-loader 2019-12-05 13:59:06 +03:00
Alina Beck
a158a88044 fix lint errors after merge 2019-11-20 19:36:47 +03:00
Alina Beck
03eb32131c configure storybook to load BaseComponents and svgs 2019-11-20 18:19:36 +03:00
Alina Beck
0727c3314d move styles from view folder to assets 2019-11-20 16:13:07 +03:00
mattwr18
7d0b9861b8 Add story for AvatarMenu 2019-11-11 08:52:51 +01:00
mattwr18
a1af4f5037 Add storybook notes
Co-authored-by: @alina-beck
2019-11-11 08:52:04 +01:00
Alina Beck
1e7b32cbbb aaah fix lint errors 2019-11-07 11:07:42 +03:00
Alina Beck
983587dcb8 add new design tokens to storybook webpack config 2019-11-06 22:48:46 +03:00
Alina Beck
fc387f63e2 add design token addon to storybook 2019-11-06 10:37:52 +03:00
Martin Neumann
6c8ccea448 Fix: Import all languages in storybook 2019-10-16 18:34:13 +02:00
roschaefer
48943d0ec8 fix: inject $toast into storybook components 2019-10-16 12:16:38 +02:00
mattwr18
ee99673cec Add Comment story, add spacing above user info 2019-09-25 08:26:24 +02:00
roschaefer
af24693be4 Fix lint 2019-09-18 18:18:13 +02:00
roschaefer
ade92e387d Add slug to User component, fix #1486 2019-09-18 17:15:01 +02:00
roschaefer
7da49ea54a Fix storybook 2019-09-18 16:31:50 +02:00
Matt Rider
2af4151918 Update to use <client-only> instead of <no-ssr> 2019-08-26 17:09:24 +02:00
Robert Schäfer
72edf78889 Meld a chaotic commit history into one commit
Some important commit messages:

```
    Fix youtu.be not being embedded

    And also try to maintain the old behaviour matching
    `provider.provider_url`.
```

```
    Remove confusing code comments and obsolete code

    I discovered that the behaviour of no duplicate notifications being send
    out is caused by the frontend: When the editor reads html from the
    backend, it will parse hashtags and mentions as ordinary links, not as
    their respective nodes during editing. Also, we don't have to worry
    about duplicate ids being found: The cypher statement will implicitly
    suppress duplicate notification nodes for the same user.

    So let's remove the code to avoid confusing the next developer.
```

```
    Test editor.getHTML()

    I do this because I'm not able to test the content of `this.editor` from
    a wrapper of `vue-test-utils`. If I call `this.editor.getHTML` directly
    and use it as a computed property `renderedContent` to populate a `<div
    v-html="renderedContent" />` this will not work for the embeds. So, my
    current best bet is to test the editor object isolated from a real
    component. ;(
```

```
    Add core-js as explicit dependency

    Because of build errors on Travis.

    See: https://stackoverflow.com/a/55313456

    Remove as soon as this issue is resolved:
    https://github.com/storybookjs/storybook/issues/7591

```

```
    Refactor: Keep Runtime-only builds

    See: https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only
```
2019-08-01 00:28:22 +02:00