- add filtered state to vuex, so as to maintain filter
- filter is reset when visiting other pages, so reset the active buttons in the filter posts dropdown
- maybe we want to maintain the filters between page transitions and only clear when the user requests to?
- when a user clicks on the logo or changes pages, the filter is reset, but the active button didn't update
- still a bug with the active categoryIds since it's not so easy to set the state of an array in vuex
- dry out code for toggleFilters
- fix bug where user clicks on filter by users followed, then filters for categories of those users, then clicks to remove category filter
- Remove vuex as we don't need with vue-apollo and watch
- Use chunk[i] instead of firstGroup, etc...
- Extract Category query to its own file
- Mobile responsive categories dropdown
- to make reactive
- safer than using global event buses ($root.$emit)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
Co-authored-by: Mike Aono <aonomike@gmail.com>
cc @mattwr18
What helped me to track down the problem was to compare the local
changes to master:
First, make it easy to compare with master:
1. `git fetch origin`
2. `git merge origin/master`
3. Resolve conflicts
Then track the error down:
1. `git checkout origin/master -- .`
2. `git reset`
3. Add more and more changes back and wait until the error shows up
- `git checkout backend`
- `git checkout webapp` bingo
See https://github.com/Human-Connection/Human-Connection/pull/237#issuecomment-481485741
* add notification in seeds
* extremely odd styling - on the index page the notification looks OK,
on the post page, the post card elements appear more densely packed