9 Commits

Author SHA1 Message Date
Moriz Wahl
3d2c501377 changed data structure 2019-12-10 10:34:42 +01:00
Moriz Wahl
f9678a7512 Simple Implementation In Stroybook Of SearchInput
By the way, I added *~ to .gitignore, which are the backups of emacs editor.
See the Storybook of SearchInput.
Problems:
* I found no way to separate the heading of the search results from the first item. Do we have to write a complete new component for this?
* The incoming data must by sorted by type before passed to the component. I added keys searchType and firstType, to identify the type (post/user) (may be as a locale) and to know when I have to place the heading.
2019-12-10 10:34:42 +01:00
Moriz Wahl
ee1bc67696 Add Basic Story For SearchInput
I had to remove `| dateTime('dd.MM.yyyy')` in line 61 of the vue file due to issues with $i18n which surely can be easyly solved.
The idea is, that `results` is an object which contains the keys `posts` and `users`. The values are arrays with the search results.
2019-12-10 10:33:18 +01:00
Moriz Wahl
6b68e18be6 Created Folder For SearchInput And Changed Paths 2019-12-10 10:32:11 +01:00
Moriz Wahl
79596ab375 updated story 2019-12-10 10:31:04 +01:00
Moriz Wahl
433e7d409a changed data structure 2019-12-10 10:31:04 +01:00
Moriz Wahl
8758bc9e42 Simple Implementation In Stroybook Of SearchInput
By the way, I added *~ to .gitignore, which are the backups of emacs editor.
See the Storybook of SearchInput.
Problems:
* I found no way to separate the heading of the search results from the first item. Do we have to write a complete new component for this?
* The incoming data must by sorted by type before passed to the component. I added keys searchType and firstType, to identify the type (post/user) (may be as a locale) and to know when I have to place the heading.
2019-12-10 10:28:43 +01:00
Moriz Wahl
6475458fe8 Add Basic Story For SearchInput
I had to remove `| dateTime('dd.MM.yyyy')` in line 61 of the vue file due to issues with $i18n which surely can be easyly solved.
The idea is, that `results` is an object which contains the keys `posts` and `users`. The values are arrays with the search results.
2019-12-10 10:28:43 +01:00
Moriz Wahl
9f4702d002 Created Folder For SearchInput And Changed Paths 2019-12-10 10:28:43 +01:00