Alina Beck
202da2a67c
remove unused css
2019-10-15 15:47:24 +03:00
Alina Beck
134cea4e47
expand targeted comment by default
2019-10-15 15:44:22 +03:00
Alina Beck
597ca3029f
improve html and css for collapse-button
2019-10-15 15:07:30 +03:00
Alina Beck
6318ced7a0
refactor comment component to just use one content viewer
2019-10-15 14:52:02 +03:00
Alina Beck
cd9f2633d7
highlight comment targeted in anchor link
2019-10-15 12:09:01 +03:00
mattwr18
e307211ada
Keep button on top of crop overlay, but below navbar
...
Co-Authored-By: Alina Beck <alina.beck@mail.com>
2019-10-14 19:16:02 +02:00
mattwr18
b2cb65e942
Keep images from distorting or getting cropped
...
Co-Authored-By: Alina Beck <alina.beck@mail.com>
2019-10-14 19:13:00 +02:00
mattwr18
c45f63ffd9
Follow @alina-beck PR suggestions
2019-10-14 16:42:11 +02:00
mattwr18
1c6b5f941b
Remove aspect ratio on cropper, limit to max-height 2000px
...
- discussed it today's internal meeting and agreed upon with
@alina-beck, @Tirokk , @ogerly, @datenbrei, Dennis Hack
- max-height was a suggestion and can be changed at any time
2019-10-14 16:42:11 +02:00
mattwr18
c85b2d49b6
Remove outdated test directly calling method
2019-10-14 16:42:11 +02:00
mattwr18
0d5b334f66
Remove unneeded max-heights
2019-10-14 16:42:11 +02:00
mattwr18
cabd68f7d8
Clean up code
...
- Set dropzoneOptions.url to arrow function which returns empty
string... url is required, but we don't use a restful api, we crop the
image and save the update file(blob) to an image
- set min-height of vuedropzone to 500px to be closer to the cropped
image and to center image overlay
- remove dz-message div, as one is already created automatically by
vue2-dropzone
2019-10-14 16:42:11 +02:00
mattwr18
3beddf1f69
Contain post/contribution form to limit width
...
- enforce 1.25:1 aspect ratio to be as close to possible with the 1:1
aspect ratio on our root path where we have 3 columns of 300px and a
max-height of 300px
2019-10-14 16:42:11 +02:00
mattwr18
db48e522cf
Enforce a 16/9 aspect ratio
...
- if we set the max height any greater than this, it takes up the entire
page on a desktop screen
2019-10-14 16:42:11 +02:00
mattwr18
fa06696892
Convert canvas to blob to update file
...
- what was happening is that the file was being autocropped still and
sent to the backend with cropperjs autocrop... these changes update the
file's attributes so they can be saved properly
2019-10-14 16:42:11 +02:00
Brent Vardy
227db5f13a
refactored tranformImage to remove dupication
...
- styled confirm button
- added locale translations
- added dropzoneDrop method to handle scenario where users drag and drop an image whilst in the cropper interface.
- co-authored-by: mattwr18 <mattwr18@gmail.com>
2019-10-14 16:42:11 +02:00
mattwr18
45dfc5cff1
Contain cropper overlay in image preview area
...
- Co-authored-by: Brent Vardy <brent.vardy@challengelogic.net>
2019-10-14 16:42:10 +02:00
Brent Vardy
d59defedf3
[WIP] - implement basic image cropping solution
...
#1466
- co-authored-by: mattwr18 <mattwr18@gmail.com>
2019-10-14 16:42:10 +02:00
roschaefer
01252b3584
refactor: follow @mattwr18 code review
...
https://github.com/Human-Connection/Human-Connection/pull/1814#pullrequestreview-299434476
2019-10-11 00:54:19 +02:00
roschaefer
8305921f00
Fine tune layout and spacing
2019-10-11 00:54:19 +02:00
mattwr18
bc4acf939f
Fix lint
2019-10-11 00:54:19 +02:00
roschaefer
a2c9ed520d
fix: frontend tests
2019-10-11 00:54:19 +02:00
roschaefer
b1e01cb65a
refactor: better errors, introduce email constants
2019-10-11 00:54:19 +02:00
roschaefer
4c7cc0a9cf
refactor: DRY template in pages, fix signup flow
2019-10-11 00:54:19 +02:00
roschaefer
1dc4bc1411
feat: add slot to EnterNonce for back to home link
2019-10-11 00:54:19 +02:00
roschaefer
bb5d581906
refactor: restructure translations and components
2019-10-11 00:54:19 +02:00
roschaefer
7a276db42f
fix: remove obsolete css, add link to login page
2019-10-11 00:54:19 +02:00
roschaefer
71e94d88c6
feat: add page component for public registration
2019-10-11 00:54:19 +02:00
mattwr18
6955323f51
Merge pull request #1852 from Human-Connection/Allow_embedded_code_in_posts_permanent_memory-II
...
Save user setting to show embed code II
2019-10-10 14:58:49 +02:00
ogerly
588ca43464
Title character increased from 64 to 100
2019-10-09 09:09:44 +02:00
mattwr18
211bae6362
Fix lint
2019-10-08 22:42:41 +02:00
mattwr18
bced6983ea
Fix lint, update tests
...
- to remove vue warnings
- favor one expectation per it block
2019-10-08 20:47:13 +02:00
ogerly
e2da57287b
change providers.json
2019-10-08 18:56:45 +02:00
ogerly
0424992358
change specs
2019-10-08 16:35:49 +02:00
ogerly
7cc139e879
add test embeds and links
2019-10-08 13:20:07 +02:00
mattwr18
da1df27799
Extract logic to EmbedComponent to separate concerns
...
- Co-authored-by: senderfm <dev@sender.fm>
2019-10-07 19:15:39 +02:00
ogerly
18cfa0b8c8
tests 2 ok
2019-10-07 13:01:21 +02:00
Alina Beck
9350994cca
use translations for data privacy warning
2019-10-07 11:12:48 +02:00
Alina Beck
1ecfee09db
hide embed remove button when viewing post
2019-10-07 10:37:52 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
ogerly
574fbcf8b1
tests ok, lint ok
2019-10-07 10:32:11 +02:00
roschaefer
99db1338c1
docs: add storybook section for edit information
2019-10-04 01:05:39 +02:00
roschaefer
3912b21ea2
refactor: use named slot for additional text
...
@mattwr18 I can see odd behaviour of the EDITED marker on mobile: The
text would just overlap.
The current behaviour has its flaws, e.g. if you have a long text it
won't wrap but overflow the comment card. But putting the additional
text into a named slot is certainly better than adding some nodes next
to the `<hc-user>` component.
2019-10-04 01:00:31 +02:00
mattwr18
a5e3c52e1d
Show that a Post/Comment has been edited
2019-10-03 12:01:04 +02:00
ogerly
fd697f5f12
Template changed for removeEmbed() function
2019-10-03 10:09:51 +02:00
ogerly
3607bf9551
befor alinas work
2019-10-03 09:20:17 +02:00
Alina Beck
4a1ca2610a
show overlay only for embedded html
2019-10-02 18:23:30 +02:00
Alina Beck
1f93c690be
only display available data
2019-10-02 18:05:29 +02:00
Alina Beck
3a013d0607
update settings on button click instead of checkbox click
2019-10-02 17:10:08 +02:00
Alina Beck
8c78fef457
toggle preview image with showEmbed
2019-10-02 16:55:30 +02:00