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
roschaefer
30870d832b
Quick fix for null pointer error
...
`this.openMenu` is not a function`
2019-12-10 02:47:19 +01:00
mattwr18
60bf819a56
Remove counts to make less expensive db requests
2019-12-09 17:41:38 +01:00
mattwr18
79c6bd5c20
Paginate moderations page without losing filtering
...
Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-12-09 16:37:04 +01:00
ogerly
5ae6b3c954
fixed contributionForm.vue
2019-12-06 13:16:40 +01:00
ogerly
652f6d1edc
fix reviews ContributionForm, ContributionForm.spec
2019-12-06 10:53:26 +01:00
ogerly
a62d59741b
fix and changes revies, fix lint
2019-12-06 09:16:14 +01:00
Alexander Friedland
dee22d33db
Merge branch 'master' into 1746-Blur_explicit_Image_Content
2019-12-06 07:21:49 +01:00
roschaefer
fdca5b008b
Return empty array instead null for "not reviewed"
...
@mattwr18 why did you add the null check in th resolver?
2019-12-06 02:47:14 +01:00
mattwr18
be319615f8
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2253-fix-scroll-layout-issue
2019-12-05 11:16:16 +01:00
mattwr18
8bd69e9e2f
Fix import path
2019-12-04 20:11:34 +01:00
mattwr18
7becb09ef7
Add tests/Refactor
...
- Move tests which are not resource specific to own describe block, add
test cases
2019-12-04 19:41:58 +01:00
mattwr18
fe63e42262
Refactor component/story/test
...
- Remove data-test where not necessary
- Refactor tests to remove tests that belong in ReportRow
- Fix story
2019-12-04 19:40:32 +01:00
mattwr18
a59e72d8a8
Add stories/specs for ReportList
2019-12-04 19:40:08 +01:00
mattwr18
d0a18fded8
Rename component, add story/specs
2019-12-04 19:39:36 +01:00
mattwr18
235702867d
Move components to components/features
...
- we are reserving _new directory for components that have no dependency
on the Nitro-Styleguide
- update pat
2019-12-04 19:38:48 +01:00
mattwr18
26b4d4ab93
Add clock icon inside if clause
2019-12-04 19:37:21 +01:00
ogerly
b532a38966
lint fix
2019-12-04 15:23:16 +01:00
ogerly
7b0b2cc93e
rename checkedBlur to blurImage, testing checkbox
2019-12-04 15:14:57 +01:00
Alina Beck
b1955e64f4
improve tests, following @roschaefer suggestions
2019-12-04 16:57:42 +03:00
mattwr18
085b59bf4d
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-12-04 13:23:06 +01:00
ogerly
6ce797e8ef
test review
2019-12-04 11:20:27 +01:00
Alina Beck
68aabedc6d
move css classes to the correct component files
2019-12-04 12:25:44 +03:00
roschaefer
d143d629ed
Use data-test attributes, make test more resilient
...
as suggested by @mattwr18
2019-12-04 01:17:14 +01:00
roschaefer
84f574aaa0
Fix frontend tests
2019-12-04 00:22:28 +01:00
ogerly
a5bbb06f77
fix Spec + lint
2019-12-03 18:27:05 +01:00
ogerly
38c58af1f3
add confirm checkboc No Comercial account
2019-12-03 17:57:30 +01:00
Alina Beck
750a1e523f
extract ReportRow into separate component
2019-12-03 18:42:48 +03:00
mattwr18
66f1aa8888
Follow @roschaefer PR review suggestions
...
- Update seed file with more human readable imageAspectRatios
- Remove copy script from Dockerfile to not expose to others. we'll need
to either start a maintenance server, so it has access to both the
backend/public/uploads and cypher-shell, or copy a script to the backend
that creates a csv, which can be copied to the neo4j pod and then loaded
into the cypher.
- Remove unintended changes to deployment/legacy-migration
- Add back image compression to Post images
2019-12-03 15:33:54 +01:00
Alina Beck
3de205d7c2
style nested table
2019-12-03 14:03:31 +03:00
Alina Beck
d685ff9e7b
translate and style user count
2019-12-03 13:25:20 +03:00
Alina Beck
9801369343
merge table rows
2019-12-03 13:07:24 +03:00
Alina Beck
4585dc7e8c
table cell content design tweaks
2019-12-03 12:45:28 +03:00
Alina Beck
febabf9303
rename table header translations
2019-12-03 12:25:19 +03:00
Alina Beck
21a3ff4bc8
render just one thead and tbody for the reports table
2019-12-03 12:03:41 +03:00
Alina Beck
150ffef35a
style report list header
2019-12-03 11:37:58 +03:00
roschaefer
75b2785941
Follow @alina-beck's suggestions
2019-12-03 00:47:07 +01:00
ogerly
fd3accd147
specs ok
2019-12-02 20:55:58 +01:00
mattwr18
bcbce2a34a
Refactor modalData to use mapMutations, computed
...
- clean it up some
2019-12-02 20:50:55 +01:00
mattwr18
e1c56346cc
Add story/spec for ReportsTable component/refactor
...
- use data-test to target elements in tests
2019-12-02 20:50:10 +01:00
mattwr18
46b6483c90
Add story/spec for CounterIcon component
2019-12-02 20:48:12 +01:00
ogerly
b4805aa2c6
add blur image on edit confirm
2019-12-02 19:12:26 +01:00
Alina Beck
c75c8c6d2d
pass imageAspectRatio to MasonryGridItems on user and more info page
2019-12-02 16:25:39 +03:00
Alina Beck
bf7042c423
enforce max image height
2019-12-02 16:14:18 +03:00
ogerly
19d183e13a
Merge https://github.com/Human-Connection/Human-Connection into 1746-Blur_explicit_Image_Content
2019-12-02 13:22:42 +01:00
mattwr18
00d5f58b00
Move components to features, style table[WIP]
...
- In conversations with @alina-beck, she suggested we move the
ReportsTable and FiledTable to features since it is tightly coupled to
Reports... we can work towards a table that is "dumb" and just takes the
data and displays it in another PR
- Add extra column for Current status
- Fix widths
2019-12-02 11:26:11 +01:00
roschaefer
048fb51116
feat: swap user name<=>handle for discriminability
2019-11-30 11:03:46 +01:00