djordje vlaisavljevic
ffc22f520a
Updated before/after card editor template
...
refs https://github.com/TryGhost/Team/issues/1249
2021-12-15 20:06:00 +01:00
djordje vlaisavljevic
2a19d3bb74
Updated before/after card editor template
...
refs https://github.com/TryGhost/Team/issues/1249
2021-12-15 20:03:03 +01:00
Fabien egg O'Carroll
ee410a08c1
Updated slider for before/after to match frontend
...
refs https://github.com/TryGhost/Team/issues/1249
Adds a new element to use as the slider handle to match how we're doing
it in the frontend
2021-12-15 20:27:39 +02:00
Thibaut Patel
6d8fc32d77
Updated the header card
...
refs https://github.com/TryGhost/Team/issues/1253
- added a default `cardWidth`
2021-12-15 18:28:41 +01:00
Thibaut Patel
1db6e175fd
Updated the header card
...
refs https://github.com/TryGhost/Team/issues/1253
- removed the accent class in the edit mode
2021-12-15 18:26:47 +01:00
Thibaut Patel
1194a553e8
Updated the header card
...
refs https://github.com/TryGhost/Team/issues/1253
- added the card width back (only regular or full options)
- removed the accent class from the button
- fixed a bug happening when the subheader was empty
2021-12-15 18:25:05 +01:00
Peter Zimon
4f005f0ef5
Updated file card Koenig styles
2021-12-15 17:45:04 +01:00
djordje vlaisavljevic
49df6dde1b
Added icon for before/after card
...
refs https://github.com/TryGhost/Team/issues/1249
2021-12-15 16:23:35 +01:00
djordje vlaisavljevic
ac33996c08
Updated editor styles for before/after card
...
refs https://github.com/TryGhost/Team/issues/1249
2021-12-15 11:10:05 +01:00
Fabien egg O'Carroll
cb24aa1914
Added replace image functionality
...
refs https://github.com/TryGhost/Team/issues/1249
This can resuse the image selection as after a successful upload the
image is replaced.
2021-12-15 12:06:46 +02:00
Thibaut Patel
e1bbc63bb3
Updated header card class names
...
refs https://github.com/TryGhost/Team/issues/1253
2021-12-15 10:02:17 +01:00
Fabien egg O'Carroll
804da37926
Removed requirement for matchign aspect ratio
...
refs https://github.com/TryGhost/Team/issues/1249
Based on design feedback so that users are able to use the card with
less friciton.
2021-12-15 10:35:38 +02:00
djordje vlaisavljevic
1d19f74ba8
Updated editor styles for before/after card
...
refs https://github.com/TryGhost/Team/issues/1249
2021-12-15 09:32:09 +01:00
Sanne de Vries
b640a023f7
Refined video card in editor
...
Refs https://github.com/TryGhost/Team/issues/1229
- Fixed glitch on load
- Fixed error state
- Hid custom thumbnail when video is looped
2021-12-14 19:49:29 +01:00
Peter Zimon
526c92bad7
Refined file Koenig styles
2021-12-14 17:55:27 +01:00
Peter Zimon
09b221543f
Updated file upload Koenig styles
2021-12-14 17:41:41 +01:00
Fabien egg O'Carroll
1a772b13c1
Removed option & logic for setting orientation
...
refs https://github.com/TryGhost/Team/issues/1249
Based on design feedback from Djordje & Zimo.
2021-12-14 18:39:28 +02:00
Thibaut Patel
3742502f2d
Updated the header card based
...
refs https://github.com/TryGhost/Team/issues/1253
- follows the latest design
2021-12-14 16:00:59 +01:00
Fabien egg O'Carroll
7d7d856e77
Removed edit option from toolbar
...
https://github.com/TryGhost/Team/issues/1249
We have no floating settings now so we can remove the menu item and
display the toolbar always when the card is selected
2021-12-14 16:40:51 +02:00
Fabien egg O'Carroll
1338ddd12b
Removed usage of MutationObserver
...
refs https://github.com/TryGhost/Team/issues/1249
We now want to update the element which we are observing, which means we
end up in a loop. Instead we can listen to resize events and manually
update the dimensions when images are changed.
2021-12-14 16:40:51 +02:00
Fabien egg O'Carroll
d3ee36e45d
Moved image upload and slider settings into card
...
refs https://github.com/TryGhost/Team/issues/1249
Based on design wirefames
2021-12-14 16:40:51 +02:00
Fabien egg O'Carroll
993fdf9a10
Moved layout and orientation settings to toolbar
...
refs https://github.com/TryGhost/Team/issues/1249
Based on the design wireframes we're not going to be using a floating
panel for settings, this moves the functionality into the toolbar
2021-12-14 16:40:51 +02:00
Fabien egg O'Carroll
d18e6006f9
Removed unused wordCount
...
refs https://github.com/TryGhost/Team/issues/1249
This isn't used anywhere at the moment.
2021-12-14 16:40:46 +02:00
Rishabh
324e6e95d0
Added duration data in video card
...
refs https://github.com/TryGhost/Team/issues/1229
2021-12-14 16:42:56 +05:30
Thibaut Patel
06a83f81b7
Updated the header card width selector
...
refs https://github.com/TryGhost/Team/issues/1253
- Follows the same pattern as the video card
2021-12-14 12:02:05 +01:00
Sanne de Vries
69aa98f9ca
Updated video card and media player classes
...
Refs https://github.com/TryGhost/Team/issues/1229
2021-12-14 11:49:33 +01:00
Sanne de Vries
a011ee2d97
Updated video card settings panel
...
Refs https://github.com/TryGhost/Team/issues/1229
2021-12-14 09:37:45 +01:00
Thibaut Patel
f8caa3adce
Added a first pass of the header card
...
refs https://github.com/TryGhost/Team/issues/1253
2021-12-13 19:31:23 +01:00
Sanne de Vries
6df5708c7f
Refined audio and bookmark cards in editor
...
Refs https://github.com/TryGhost/Team/issues/1230
2021-12-13 19:09:00 +01:00
Rishabh
c9c602f839
Fixed settings panel behavior for video card thumbnail replace
...
refs https://github.com/TryGhost/Team/issues/1229
2021-12-13 21:46:09 +05:30
Sanne de Vries
06cb582fc0
Refined audio cards in editor
...
Refs https://github.com/TryGhost/Team/issues/1230
2021-12-13 16:18:32 +01:00
Fabien egg O'Carroll
12582c6cf4
Added initial Before/After card UI
...
refs https://github.com/TryGhost/Team/issues/1249
This adds a WIP for the Before/After card UI - behind an alpha flag.
It's completely missing design input and is intented to serve as a base
to work from.
2021-12-13 15:57:29 +02:00
Sanne de Vries
f788cd6dfa
Removed unnecessary hidden audio player buttons
...
Refs https://github.com/TryGhost/Team/issues/1230
2021-12-13 14:09:39 +01:00
Sanne de Vries
828786212c
Fixed audio card error state
...
Refs https://github.com/TryGhost/Team/issues/1230
2021-12-13 12:36:38 +01:00
Thibaut Patel
a879beb09d
Hid the product card button fields when button is disabled
...
refs https://github.com/TryGhost/Team/issues/1245
2021-12-13 11:48:21 +01:00
Sanne de Vries
26265b6a11
Updated video card in editor
...
Refs https://github.com/TryGhost/Team/issues/1229
2021-12-13 11:43:11 +01:00
Rishabh
48e64a47be
Updated thumbnail replace for audio card with thumbnail delete option
...
refs https://github.com/TryGhost/Team/issues/1230
- allowing users to delete the thumbnail and upload another is a better flow as it allows removing a thumbnail as well if not needed
2021-12-13 16:10:29 +05:30
Rishabh
c3cb7dde47
Updated card edit flow for audio and file cards
...
refs https://github.com/TryGhost/Team/issues/1230
- Updated the audio and file card to follow - 1st click → select, 2nd click → edit pattern, which is consistent with other cards
2021-12-13 15:58:25 +05:30
Kevin Ansfield
59def266de
Fixed video card aspect ration change when uploading custom thumbnail
...
refs https://github.com/TryGhost/Team/issues/1229
- changed the video card image so it uses an aspect-ratio box set to the aspect ratio of the video, with the image using `object-fit: cover` to match the background image behavior in the front-end
2021-12-10 19:48:28 +00:00
Peter Zimon
6800a3fdb4
Updated file card styles in Koenig ( #2175 )
...
Added styles for file card in editor
2021-12-10 19:17:11 +01:00
Rishabh
0fb7a04bae
Refined file upload card
...
refs https://github.com/TryGhost/Team/issues/1231
- updated upload endpoint for files
- cleanup
2021-12-10 18:01:25 +05:30
Rishabh
ee639625ad
Cleaned up audio card file
...
refs https://github.com/TryGhost/Team/issues/1230
2021-12-10 17:25:55 +05:30
djordje vlaisavljevic
7b9c0319a6
Updated settings panel placeholders for product card
...
https://github.com/TryGhost/Team/issues/1245
2021-12-10 11:26:53 +01:00
Rishabh
dd8e770692
Updated audio card allowed extensions and payload
...
refs https://github.com/TryGhost/Team/issues/1230
- cleans up allowed payload attributes for audio card
2021-12-10 01:22:05 +05:30
Kevin Ansfield
c7925e6915
Fixed video card with adjustment not changing editor size
...
refs 00d9d200f7
- `concat` helper had been accidentally removed so width classes weren't being output correctly
2021-12-09 16:49:38 +00:00
Kevin Ansfield
e04422221f
Switched to images API for video thumbnails with custom thumbnail override behaviour
...
refs https://github.com/TryGhost/Team/issues/1229
- using the images API lets us separate the auto-generated thumbnail and custom thumbnail
- added `customThumbnailSrc` to video card payload and switched settings panel uploader to store upload result there
- switched image display to fallback from custom thumbnail to auto-generated thumbnail
2021-12-09 16:38:05 +00:00
Sanne de Vries
00d9d200f7
Added static player UI to video card
...
Refs https://github.com/TryGhost/Team/issues/1229
2021-12-09 16:22:58 +00:00
James Morris
25807c9490
Added temporary icons for header card alignment
...
refs https://github.com/TryGhost/Team/issues/1253
2021-12-09 15:06:25 +00:00
Rishabh
49aab60795
Added first version for new file card
...
refs https://github.com/TryGhost/Team/issues/1231
2021-12-09 20:30:28 +05:30
Rishabh
997862cf58
Allowed creating audio card directly on file drop in editor
...
refs https://github.com/TryGhost/Team/issues/1230
2021-12-09 20:30:28 +05:30