Moriz Wahl
014be6e7f8
partially working, index page does not update when route is changed
2020-03-19 12:59:15 +01:00
mattwr18
800e33e1be
chore: fix lint
2020-03-18 20:38:18 +01:00
Moriz Wahl
9c08db22dc
Changes requested by @mattwr18
2020-03-18 20:38:18 +01:00
Moriz Wahl
b2ea4df294
refactored queryString, specs for queryString
2020-03-18 20:38:18 +01:00
roschaefer
3d25ec5b4e
Start to refactor specs and implementation
...
@mogge this is just a rough guideline how to improve the quality of your tests.
Of course it needs to be continued.
2020-03-18 20:38:18 +01:00
Moriz Wahl
8f1b3b9f6b
cypress test data adjusted to new search mechanism
2020-03-18 20:38:18 +01:00
Moriz Wahl
57101b80bf
cypress tests will really pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
1060a2f6d0
cypress tests will pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
9cb489dce1
Specs are running and regex in searches.js is cleaned up
...
Matching the whole text entered exactly is boosted by 8.
Matching all the words entered exactly is boosted by 4.
Matching some words ebtered exactly is boosted by 2.
Glob matching is applied for words with more than three characters is not boosted.
To Do: Deal with @ and # symbols.
To Do: Find a way to match unicode, e.g. kyrillic letters.
2020-03-18 20:38:18 +01:00
Moriz Wahl
a6a2ac4fbe
search spec starts doing what it should
2020-03-18 20:38:18 +01:00
Moriz Wahl
f9b6fb95ab
spec for searches added
2020-03-18 20:38:18 +01:00
mattwr18
bbb4dd56cd
Follow review suggestions/add button to unblock
...
- @roschaefer gave several suggestions
- we have a button to unblock/unmute users on profile page
2020-01-23 19:18:12 +01:00
mattwr18
0ab19dde2a
Insert missing closing parantheses breaking search
2020-01-22 13:55:57 +01:00
mattwr18
1de99511db
Include BLOCKED users in search results
2020-01-22 10:43:30 +01:00
mattwr18
3354174a53
Fix muted user can still see my posts
2020-01-22 10:34:10 +01:00
mattwr18
e639358557
Test drive to get the functionality how we'd like
2020-01-21 21:16:42 +01:00
Moriz Wahl
3f37b007d7
improved specs
2020-01-07 15:35:04 +01:00
Moriz Wahl
57ab9128ea
removed Hashtag search
2020-01-07 09:16:34 +01:00
Moriz Wahl
07b2b7ca3b
Please pass the tests now
2020-01-06 18:36:59 +01:00
Moriz Wahl
de6053dfa3
try again, cypress blackbox
2020-01-06 18:02:11 +01:00
Moriz Wahl
71c9d92aea
query string for searches changed and basics for Hashtag search added
2020-01-06 16:46:43 +01:00
Moriz Wahl
b4d120dff3
Merge branch '1463-search-for-users' of https://github.com/Human-Connection/Human-Connection into 1463-search-for-users
2019-12-23 01:53:08 +01:00
roschaefer
f1b581aa86
Improve performance with pattern comprehensions
...
@Mogge @mattwr18 this is how you can eagerly fetch resources
2019-12-20 20:13:02 +01:00
roschaefer
b3521d8ce5
Improve performance, log database statements
...
@Mogge first of all, you can wait for multiple promises in parallel
by using Promise.all([...]). Second if you run:
```sh
DEBUG='human-connection:neo4j:cypher' yarn run dev
```
in order to log out all database statements. I added log statements to
the new search resolver.
2019-12-20 19:30:22 +01:00
roschaefer
34a3f81dd3
Refactor transformReturnType
...
@Mogge I personally find `RETURN resource {.*, foo: "bar"}` extremely
useful.
2019-12-20 17:47:12 +01:00
Moriz Wahl
19b6fe9b94
Trying to find users located close to user
2019-12-20 01:14:24 +01:00
mattwr18
f7de76eea5
Tidy up a bit
...
- Remove unused function
- Add wildcard to end of query to remove quirky behavior
- Favor more verbose variable naming
2019-12-19 17:15:25 +01:00
mattwr18
cce28e6c7a
Fix cypress tests
2019-12-19 00:01:42 +01:00
mattwr18
46c4602db1
Filter for blockedUsers/content, fix cypress
2019-12-18 20:42:06 +01:00
Moriz Wahl
9e1182d3b6
refactored with transactions
2019-12-17 11:28:57 +01:00
mattwr18
4cd43b68a4
Refactor further search
...
- in the end, the error was due to not asking for the id of the author
back of the Post.. grrr.... why couldn't we get better error messages!!
- Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-13 15:56:18 +01:00
mattwr18
ebc5cf392d
Fix search by adding result id
...
- Apollo cache requires an id to commit to their store
- add id to each query result
- refactor out the store
- still can use a lot of refactoring
2019-12-13 12:30:00 +01:00
Moriz Wahl
80e076fc86
Posts of blocked users cannot be found. Blocked users cannot be found.
2019-12-11 15:52:45 +01:00
Moriz Wahl
72e4d0abbc
Basic Search Is Working For Users And Posts
...
The story of SearchInput.vue throws errors because of line 81, dateTime. What must be included to fix this?
The search results shown by the frontend are sometimes differnt from the response of the backend. It shows no results found though there are results incoming.
Tests are not implemented yet.
2019-12-10 10:36:08 +01:00
Moriz Wahl
fa3d6c6c08
backend basics are working
2019-12-10 10:36:08 +01:00
Moriz Wahl
77cdc34bfd
backend still not working
2019-12-10 10:36:08 +01:00
Moriz Wahl
4264bb2af7
Trying to get the backend working
2019-12-10 10:36:08 +01:00