Moriz Wahl
3f37b007d7
improved specs
2020-01-07 15:35:04 +01:00
Moriz Wahl
bc3aa519d0
Specs for Searches
2020-01-06 16:10:28 +01:00
mattwr18
b79c292ef4
Fix failing component tests
...
- Extract testing logic to SearchableInput spec
- write new tests for SearchResources
2019-12-19 17:13:14 +01:00
Alina Beck
85f628848b
continue to replace ds-button with base-button (wip)
2019-12-19 08:38:04 +05:30
mattwr18
d74d2072ba
Separate concerns in components
...
- SearchResources is a feature component that handles communication with
the backend and fetches the search results
- Those results are passed to SearchableInput which displays the results
in a ds-select dropdown and handles interacting with them
- SearchInput renders the SearchHeading, SearchPost, and HcUser generic
components
- Would love to make the SearchableInput more generic and reusable, or
create a new reusable component for this, but I think this will happen
just when we migrate the Search.vue from the styleguide
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-18 19:50:01 +01:00
mattwr18
9703066699
Rename prop name following @roschaefer suggestion
...
- missed in previous PR
2019-12-10 14:37:05 +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
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
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
3c0a24825c
Move components to _new structure/refactor
...
- extract more components
2019-11-29 13:27:39 +01:00
mattwr18
9401d4e1e1
[WIP] Extract code into own components
2019-11-28 17:38:44 +01:00