258 Commits

Author SHA1 Message Date
mattwr18
dd627535e4
Merge pull request #795 from Human-Connection/781-language-of-contribution
Create Posts with a specified language, or fallback
2019-06-14 13:53:22 -03:00
Matt Rider
1c10e0863f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 781-language-of-contribution 2019-06-14 13:31:39 -03:00
Matt Rider
614a7eebc1 Refactor ContributionForm to deal with posts with no languages 2019-06-14 13:30:00 -03:00
Matt Rider
664a8b327f Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-14 11:37:45 -03:00
Robert Schäfer
76e0d7ef06 Follow up on #820
I forgot the most important part: Proxy teaser image urls.
2019-06-14 09:59:46 +02:00
Matt Rider
a099c209a8 Fix cypress tests 2019-06-13 19:54:47 -03:00
Matt Rider
5266de2c62 Set dropdown with language of post if exists
follow `PR` review by @Tirokk
2019-06-13 17:29:33 -03:00
Robert Schäfer
b8c5db48a6 Implement prefix of image urls with a filter
Fix #820

Ok, so after I would have to use the same method in three different
locations (`<ds-card>` expects an `image` attribute but cannot render
entire components) I decided to implement the prefix of image urls with
a filter rather than a component. The downside of this is that we have
to add the filter on a lot of component tests. The benefit is less
components and hopefully less complexity.
2019-06-13 16:56:41 +02:00
Matt Rider
3ab69b5fde Improve mobile responsiveness 2019-06-12 19:44:09 -03:00
Matt Rider
8d72532098 Fix test, import locales
Co-authored-by: Robert Schäfer <git@roschaefer.de>
2019-06-12 19:29:51 -03:00
Matt Rider
97e8fa1af8 Style, update languageOptions to contain all
- languages we support for translations
2019-06-12 18:08:20 -03:00
Matt Rider
40aaa151dd Merge branch 'master' of github.com:Human-Connection/Human-Connection into 781-language-of-contribution 2019-06-12 16:42:40 -03:00
Matt Rider
aa6551e35d Remove comments 2019-06-12 15:59:33 -03:00
Matt Rider
70567857e8 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-12 15:51:38 -03:00
Matt Rider
83c7773d1b Add checkboxes to delete posts/comments
- fix tests
- rename files/directory to DeleteData to be more accurate
2019-06-12 15:07:16 -03:00
Matt Rider
4407d6648a Add component tests, translations 2019-06-11 15:47:10 -03:00
Matt Rider
5986ab2070 Create Posts with a specified language, or fallback 2019-06-10 17:12:00 -03:00
Matt Rider
ccce29512e Fix styling 2019-06-10 14:53:10 -03:00
Matt Rider
507890a7aa Add CSS styling to danger message box
- lost the CSS when removed buefy
2019-06-10 14:11:44 -03:00
Matt Rider
1c506bd21c Merge in master, follow PR review suggestions
- @roschaefer suggested to 'Ask the user to type in the name of the resource that should be destroyed'
- he also showed concern for setting `wrapper.setData({ deleteEnabled: true })`, this commit allows interaction in the component tests with the input field that sets deleteEnabled to true if it matches the resource that should be destroyed
- this `PR` also removes the use of buefy and it's underlying bulma since we don't need a switch or check boxes
- german translations have also been added
2019-06-10 13:36:08 -03:00
Robert Schäfer
15b7043d00 Write a test for "load more" button
The crucial test is still missing: Write a test to check that no more
than one loading spinner is visible all the time.

@Tirokk FYI I wrote a page component test and made sure that the test
will also fail if the implementation is broken.
2019-06-08 01:50:08 +02:00
Matt Rider
e542a8dc83 Make mobile responsive 2019-06-07 18:46:39 -03:00
Matt Rider
eb45e68896 Fix lint 2019-06-07 18:17:15 -03:00
Matt Rider
18d3e36c19 Write component tests, move header close to icon 2019-06-07 18:13:49 -03:00
Matt Rider
70aa77bd2e Get user deletion working from UI 2019-06-07 13:37:59 -03:00
Matt Rider
fcb5ab8f1e Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-07 12:14:12 -03:00
Matt Rider
6e420d68d1 Improved UI
- add buefy for slider and checkboxes
- update/translate text
- add warning
- transition
2019-06-07 10:16:55 -03:00
mattwr18
bc8dd22a91
Merge pull request #762 from Human-Connection/refactor_filter_bubble
Refactor filter bubble
2019-06-06 14:18:00 -03:00
Matt Rider
ffa15bf728 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-06 14:15:02 -03:00
Matt Rider
f53d091691 Add error handling component tests 2019-06-06 13:50:10 -03:00
Matt Rider
cbd78a34dc Merge branch 'master' of github.com:Human-Connection/Human-Connection into refactor_filter_bubble 2019-06-06 13:36:24 -03:00
Matt Rider
55458abbff Merge branch 'master' of github.com:Human-Connection/Human-Connection into undo_location_reload 2019-06-06 12:36:08 -03:00
Robert Schäfer
ab719eca3e
Merge pull request #732 from Human-Connection/688-hover-effect-user-image-upload
Hover effect user image upload
2019-06-06 15:54:50 +02:00
Robert Schäfer
58f272876e Frontend uses neo4j-graphql-js's filters 2019-06-06 15:30:25 +02:00
Robert Schäfer
2171add6f3 Disable the location.reloads
It might create better user experience, but for the small user group I
think the complexity is worse than the feature itself.
2019-06-06 12:35:49 +02:00
Robert Schäfer
6bbaa78fa9 Fix frontend after rebasing the backend 2019-06-05 22:34:34 +02:00
Robert Schäfer
16dc7328e7 Finish filter by followed users only 2019-06-05 22:34:34 +02:00
Robert Schäfer
b7eb299acb Style up filter bubble menu 2019-06-05 22:34:34 +02:00
Robert Schäfer
f300f4bf41 Toggle a button for "friends" or "all"
I decided not to have a radio button, becase we have only two states
anyway.
2019-06-05 22:34:34 +02:00
Robert Schäfer
ad48264a64 Provide translations for filter menu 2019-06-05 22:34:34 +02:00
Robert Schäfer
f3b088f862 Move the filter menu into the index page
A filter makes sense only on the news feed page in my opinion. As a
comparison: The way how full text search is implemented makes sense in
the menu bar, which is always visible. Why? The search results are shown
in a popover. Therefore those are different from the news feed. The news
feed however is only visible on the index page. Therefore I believe, it
makes sense to put the filter menu there and only there.
2019-06-05 22:34:34 +02:00
Robert Schäfer
f8c0335712 Scaffold filter menu 2019-06-05 22:34:34 +02:00
Matt Rider
8cd62078f2 Start DeleteAccount functionality 2019-06-04 21:24:02 -03:00
Robert Schäfer
36f77e660e
Merge pull request #731 from Human-Connection/722_comment-date
Add date relative date on comments
2019-06-05 00:54:48 +02:00
Robert Schäfer
52a52d7ad4 Provide better user experience with different icon
@ogerly I changed the icon to use a normal eye if you want to release
the contribution. Changing visual state usually improves user
experience.
2019-06-04 18:15:07 +02:00
senderfm
f1b85d5256 Fixed clean ReleaseModal and DeleteModal 2019-06-04 16:25:59 +02:00
Matt Rider
8e96179b33 Remove unused prop, add error boundary handling 2019-06-04 08:57:22 -03:00
Matt Rider
57a253637c Remove annoying vue-dropzone messages 2019-06-04 08:20:51 -03:00
aonomike
55b3764258 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 722_comment-date 2019-06-04 13:54:41 +03:00
Matt Rider
19667762ce Remove unneeded/unused code 2019-06-04 07:52:21 -03:00