Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slate #352

Closed
wants to merge 142 commits into from
Closed

Slate #352

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
c207617
BREAKING CHANGE: use slate editor
giuliaghisini Sep 22, 2023
d4e4a71
fix: fix font-style when adding new page
giuliaghisini Sep 22, 2023
5018988
chore: slate config
giuliaghisini Sep 26, 2023
4fc6d8a
feat: added Align, Headings, Underline and Blockquote styles in slate…
giuliaghisini Sep 26, 2023
f084598
chore: blockquote slate
giuliaghisini Sep 28, 2023
a9dc7b2
chore: slate link style button and blockquotes icon
giuliaghisini Sep 29, 2023
3f04f5c
feat: added Callout block
giuliaghisini Oct 3, 2023
13cf384
breaking: removed draftjs in TextEditorWidget and used Slate, added S…
giuliaghisini Oct 5, 2023
386eb22
fix: icons in Callout block
giuliaghisini Oct 5, 2023
23ccf94
Merge branch 'develop' into slate
giuliaghisini Oct 5, 2023
3b9ef34
fix: SimpleTextEditorWidget autogrow and fix Callout view
giuliaghisini Oct 6, 2023
966fcf4
fix: fSimpleTextEEditorWidget default value
giuliaghisini Oct 6, 2023
5111da9
fix: defaultValue in SimpleTextEditorWidget and value based on fieldN…
giuliaghisini Oct 6, 2023
a71b16b
fix: Accordion Block to use Slate
giuliaghisini Oct 6, 2023
3cf2838
fix: selection in TextEditorWidget
giuliaghisini Oct 6, 2023
38636a6
fix: Alert block now uses Slate
giuliaghisini Oct 6, 2023
00d0bdc
fix: placeholder for SimpleTextEditorWidget
giuliaghisini Oct 6, 2023
19f01c3
fix: ArgumentsInEvidence block now uses Slate
giuliaghisini Oct 6, 2023
d1dbffb
fix: ContactsBlock header now uses slate
giuliaghisini Oct 6, 2023
70a1f48
fix: Slate in block Contacts subblocks
giuliaghisini Oct 9, 2023
872f91e
fix: block Contacts view
giuliaghisini Oct 9, 2023
f1774ca
feat: set data field if fieldName is passed to TextEditorWidget
giuliaghisini Oct 9, 2023
364cc5a
fix: fix simpleTextEditorWidget onChange with fieldName
giuliaghisini Oct 9, 2023
d3d88b3
fix: fix TExtEditorWidgett handler
giuliaghisini Oct 9, 2023
344cde3
breaking: renamed redraftHelper to richTextHelper
giuliaghisini Oct 9, 2023
5a7f8ee
fix: Slate in blocks
giuliaghisini Oct 9, 2023
d2637e3
fix: fix slate block
giuliaghisini Oct 10, 2023
6180f79
fix: Slate in blocks
giuliaghisini Oct 10, 2023
70862eb
fix: Slate in blocks
giuliaghisini Oct 10, 2023
595183b
fix: Slate in blocks
giuliaghisini Oct 10, 2023
2c0c20b
feat: remove Draftjs
giuliaghisini Oct 11, 2023
34f929c
feat: Slate in Hero Block2
giuliaghisini Oct 11, 2023
6549aff
fix: SimpleTextEditorWidget
giuliaghisini Oct 11, 2023
9d46db4
fix: hero styles
giuliaghisini Oct 11, 2023
28f0a4f
fix: Accordion slate edit
giuliaghisini Oct 11, 2023
b0df547
fix: removed blockHasOwnFocusManagement from alert block
giuliaghisini Oct 11, 2023
b8c2a5e
chore: removed Toc customizations because it works well with Slate
giuliaghisini Oct 11, 2023
e2140a1
fix: styles
giuliaghisini Oct 11, 2023
a5aa27a
fix: fix warning
giuliaghisini Oct 16, 2023
6974462
fix: link widget in slate and added Callout to blocks widget
giuliaghisini Oct 16, 2023
d7e4589
Add CI to create image for slate branch
cekk Oct 17, 2023
dc54b1c
feat: added validation for slate-blocks in FormValidation
giuliaghisini Oct 18, 2023
fc6e1ea
fix: richTextHelper.js condition
giuliaghisini Oct 24, 2023
14b28ce
fix: config and LinkServizio
giuliaghisini Oct 24, 2023
9cb2ca5
fi: UniversalLink render in Slate RichTextWidget
giuliaghisini Oct 24, 2023
c2cb62e
fix: richtext render
giuliaghisini Oct 24, 2023
720deaa
Merge branch 'main' into slate
giuliaghisini Oct 24, 2023
3c1477f
feat: added htmlTagsToSlate deserializers and fixed volto-editablefoo…
giuliaghisini Oct 25, 2023
90b26e3
fix: blockquote align after image block aligned left or right
giuliaghisini Oct 25, 2023
712b750
fix: fix break when getBlockProps is not defined (detached Slate editor)
giuliaghisini Oct 25, 2023
d13d75d
feat: make heading alignable
giuliaghisini Oct 25, 2023
5a2909f
fix: slate test
giuliaghisini Oct 26, 2023
9dd29b0
fix: GridGalleryTemplate test
giuliaghisini Oct 26, 2023
19fe9c4
fix: fix tests
giuliaghisini Oct 26, 2023
e0fdfde
fix: fiapply block style only on selected element
giuliaghisini Oct 26, 2023
5fa2c86
fix: editt description of contactsblock, iconblock, numbersblock
giuliaghisini Oct 26, 2023
574816e
fix: fix blockquote align after image aligned left or right
giuliaghisini Oct 27, 2023
3b01e9f
fix: blockquote style
giuliaghisini Oct 31, 2023
d31b2b9
Merge branch 'main' into slate
giuliaghisini Nov 2, 2023
6b40315
fix: handle breaklist and extensions in TextEditorWidget
giuliaghisini Nov 2, 2023
85407ee
Merge branch 'main' into slate
giuliaghisini Nov 17, 2023
eb4c0e2
fix: merge
giuliaghisini Nov 17, 2023
d9123f6
fix: alert styles
giuliaghisini Nov 17, 2023
18b721f
fix: create new blockss
giuliaghisini Nov 20, 2023
4427ee9
fix: fix Enter on Subblocks blocks
giuliaghisini Nov 21, 2023
3c0d8fb
fix: remove debug
giuliaghisini Nov 21, 2023
2dddf5e
fix: break and softbreak and p
giuliaghisini Nov 21, 2023
4dc5923
fix: accordion title align
giuliaghisini Nov 22, 2023
ca5f889
chore: remove debug
giuliaghisini Nov 22, 2023
6b6d118
fix: click on toolbar dropdown items
giuliaghisini Nov 24, 2023
1a59a08
fix: handle break in texteditorwidget
giuliaghisini Nov 28, 2023
d91115d
Merge branch 'main' into slate
giuliaghisini Nov 29, 2023
db0c167
fix: handle list in texteditor widget
giuliaghisini Nov 29, 2023
9ff48ac
fix: removed unused var
giuliaghisini Nov 30, 2023
f935496
feat: handle enhancelink for files in slate text
giuliaghisini Nov 30, 2023
ff539ed
fix: slate bar for small screens (#424)
Wagner3UB Dec 1, 2023
953781d
fix: update enhanced infos data structure
cekk Dec 5, 2023
62e8e93
fix: enhanced link infos moved inside element-data
giuliaghisini Dec 5, 2023
f961828
fix: fixed enhance link for no files
giuliaghisini Dec 5, 2023
fdc7ae9
chore: merged with 11-alpha (#427)
giuliaghisini Dec 5, 2023
14983af
fix: added margin-left to slate-inline-file-infos icon
giuliaghisini Dec 6, 2023
a2b0fe3
fix: removed some refused redraft
giuliaghisini Dec 6, 2023
ceb4051
fix: blockquote links color
giuliaghisini Dec 7, 2023
0b91be2
fix: import config
giuliaghisini Dec 7, 2023
6010e99
chore: Update slate.yml
giuliaghisini Dec 7, 2023
8a24f86
fix: icons width in slate-inline-file-infos
giuliaghisini Dec 7, 2023
395492b
Merge branch 'slate' of github.com:RedTurtle/design-comuni-plone-them…
giuliaghisini Dec 7, 2023
f3a7cef
feat: added block extra tags placeholders
pnicolli Dec 12, 2023
3275c23
fix test
pnicolli Dec 12, 2023
2d4b4e6
Merge branch 'main' into us_49548_extra_tags_in_blocks
pnicolli Dec 13, 2023
7f413ac
Merge branch 'main' into slate
giuliaghisini Dec 14, 2023
9e43523
Merge branch 'us_49548_extra_tags_in_blocks' into slate
giuliaghisini Dec 15, 2023
5b25a3a
fix: blockextratags in completeBlocksLinksTemplate
giuliaghisini Dec 18, 2023
3af21e4
Merge branch 'main' into slate
pnicolli Dec 18, 2023
5de7f09
chore: changed version for volto-gdpr-privacy, now uses control_panel…
giuliaghisini Dec 19, 2023
a771e55
Merge branch 'slate' of github.com:RedTurtle/design-comuni-plone-them…
giuliaghisini Dec 19, 2023
85f95b8
fix: added contentEditable=false to link renderer to avoid editing pr…
giuliaghisini Dec 19, 2023
69472d1
Merge branch 'main' into slate
giuliaghisini Dec 20, 2023
17bb8bb
chore: updated voltlto-gdpr-privacy
giuliaghisini Dec 22, 2023
5f47374
fix: listing options order
giuliaghisini Dec 22, 2023
805af5e
chore: updated volto-gdpr-privacy
giuliaghisini Dec 22, 2023
fee3bb8
Merge branch 'main' into slate
giuliaghisini Jan 5, 2024
67822a1
fix: fixed broken videos in Video Gallery block
giuliaghisini Jan 8, 2024
ebf4273
chore: updated RELEASE.md
giuliaghisini Jan 8, 2024
81611a8
Merge branch 'fix_videogallery_us50330' into slate
giuliaghisini Jan 8, 2024
bce053a
fix: add text after link
giuliaghisini Jan 9, 2024
e9addee
fix: updated comment
giuliaghisini Jan 9, 2024
77bf2d1
feat: customizable Alert block colors and text color
giuliaghisini Jan 9, 2024
339a9f4
Merge branch 'alert_block_colors' into slate
giuliaghisini Jan 9, 2024
8842304
fix: color danger alert
giuliaghisini Jan 9, 2024
13d2cb8
Merge branch 'alert_block_colors' into slate
giuliaghisini Jan 9, 2024
8b007ff
fix: color text of alert
giuliaghisini Jan 9, 2024
ee8afb1
Merge branch 'alert_block_colors' into slate
giuliaghisini Jan 9, 2024
0587f45
fix: bg-alert-warning text color
giuliaghisini Jan 9, 2024
15d8b8f
Merge branch 'main' into slate
giuliaghisini Jan 11, 2024
0b1668e
fix: Use new metadata to check if show or not the size in edit (#479)
cekk Jan 11, 2024
603237d
Merge branch 'main' into slate
SaraBianchi Jan 15, 2024
2e584bf
Merge branch 'main' into slate
SaraBianchi Jan 15, 2024
1b525f6
Merge branch 'main' into slate
SaraBianchi Jan 17, 2024
86c30dd
Merge branch 'main' into slate
giuliaghisini Jan 18, 2024
323c822
chore: la versione con slate è la nuova major 12
mamico Jan 24, 2024
b68874c
Merge branch 'main' into slate
mamico Jan 24, 2024
30d82e6
doc: release file
mamico Jan 24, 2024
137b136
docs: cleanup
mamico Jan 24, 2024
406e48d
feat: enhance all links with mime-type and size
giuliaghisini Jan 25, 2024
e513603
Merge branch 'slate' of github.com:RedTurtle/design-comuni-plone-them…
giuliaghisini Jan 25, 2024
0684d83
feat: enhance link
giuliaghisini Jan 26, 2024
289c5b9
fix: edit contact block
giuliaghisini Jan 26, 2024
696fce3
fix: image size in attachments
giuliaghisini Jan 29, 2024
4388d51
fix: unable to select h after style applyed
giuliaghisini Jan 30, 2024
350fba9
chore: uupdated volto-blocks-widget
giuliaghisini Jan 30, 2024
29c30da
fix: enhance link
giuliaghisini Jan 31, 2024
0c964fe
Merge branch 'main' into slate
giuliaghisini Jan 31, 2024
de7a528
fix: fix enhance link in cartella modulistica
giuliaghisini Jan 31, 2024
700df69
Merge branch 'main' into slate
giuliaghisini Jan 31, 2024
679fba0
feat: added csv icon for files
giuliaghisini Feb 1, 2024
4663192
fix: csv icon
giuliaghisini Feb 1, 2024
ca7627e
Merge branch 'csv_file_icon' into slate
giuliaghisini Feb 1, 2024
3492d99
Merge branch 'main' into slate
giuliaghisini Feb 2, 2024
de55654
fix: callout line after title
giuliaghisini Feb 2, 2024
f64139a
fix: callout edit title styles
giuliaghisini Feb 5, 2024
4bf568c
fix: RELEASE.md
giuliaghisini Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/slate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Docker build for latest slate version
on:
push:
branches: [slate]

jobs:
build_develop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/build-push-action@v4
with:
context: .
file: ./dockerfiles/Dockerfile
tags: redturtletech/io-comune-base:slate
pull: true
push: true
cache-from: type=registry,ref=redturtletech/io-comune-base:slate
cache-to: type=inline
build-args: |
ADDON_NAME=design-comuni-plone-theme
ADDON_PATH=design-comuni-plone-theme
VOLTO_VERSION=17.5.0

- name: Deploy to rancher
uses: redturtle/[email protected]
with:
host: ${{ secrets.RANCHER_HOST }}
api-username: ${{ secrets.RANCHER_API_USERNAME }}
api-password: ${{ secrets.RANCHER_API_PASSWORD }}
cluster-id: ${{ secrets.RANCHER_CLUSTER_ID }}
project-id: ${{ secrets.RANCHER_PROJECT_ID }}
namespace: ${{ secrets.RANCHER_NAMESPACE_SLATE }}
workload: ${{ secrets.RANCHER_WORKLOAD_SLATE }}
image: redturtletech/io-comune-base:slate
slack-hook-url: ${{ secrets.RANCHER_SLACK_HOOK_URL }}
1,594 changes: 693 additions & 901 deletions CHANGELOG.md

Large diffs are not rendered by default.

104 changes: 86 additions & 18 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,42 @@ msgstr ""
msgid "Alert"
msgstr ""

#: config/Slate/Alignment/AlignMenu
# defaultMessage: Allinea a destra
msgid "Allinea a destra"
msgstr ""

#: config/Slate/Alignment/AlignMenu
# defaultMessage: Allinea a sinistra
msgid "Allinea a sinistra"
msgstr ""

#: config/Slate/Alignment/AlignMenu
# defaultMessage: Allinea al centro
msgid "Allinea al centro"
msgstr ""

#: config/Slate/Alignment/AlignMenu
# defaultMessage: Allinea il testo giustificato
msgid "Allinea il testo giustificato"
msgstr ""

#: config/Slate/Alignment/AlignMenu
#: config/Slate/Alignment/index
# defaultMessage: Allineamento
msgid "Allineamento"
msgstr ""

#: components/ItaliaTheme/Blocks/VideoGallery/Sidebar
# defaultMessage: Allow Externals
msgid "Allow Externals"
msgstr ""

#: components/ItaliaTheme/manage/Widgets/HtmlSlateWidget
# defaultMessage: An error has occurred while editing "{name}" field. We have been notified and we are looking into it. Please save your work and retry. If the issue persists please contact the site administrator.
msgid "An error has occurred while editing "{name}" field. We have been notified and we are looking into it. Please save your work and retry. If the issue persists please contact the site administrator."
msgstr ""

#: config/Blocks/ListingOptions/simpleCardTemplate
# defaultMessage: Aspetto
msgid "Aspetto"
Expand All @@ -75,6 +106,16 @@ msgstr ""
msgid "Block style"
msgstr ""

#: config/Slate/Blockquote/BlockquoteMenu
# defaultMessage: Blockquote
msgid "Blockquote"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Callout
msgid "Callout"
msgstr ""

#: components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateDefault
#: components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateOneForRow
# defaultMessage: Vedi
Expand Down Expand Up @@ -206,11 +247,6 @@ msgstr ""
msgid "Download"
msgstr ""

#: config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm
# defaultMessage: Enter URL or select an item
msgid "Enter URL or select an item"
msgstr ""

#: components/ItaliaTheme/manage/Widgets/LocationFiltersWidget
# defaultMessage: Etichetta
msgid "Etichetta location filter"
Expand Down Expand Up @@ -533,11 +569,6 @@ msgstr ""
msgid "Seguici su"
msgstr ""

#: config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm
# defaultMessage: Seleziona un data-element ID
msgid "Select a data-element ID"
msgstr ""

#: components/ItaliaTheme/Search/SearchCTs
# defaultMessage: Seleziona tutti i tipi di contenuti o nessuno
msgid "Select all content types or none"
Expand Down Expand Up @@ -607,6 +638,7 @@ msgstr ""

#: components/ItaliaTheme/Blocks/Calendar/ListingSidebar
#: config/Blocks/ListingOptions/defaultOptions
#: config/Slate/Headings/HeadingsMenu
# defaultMessage: Titolo
msgid "Titolo"
msgstr ""
Expand All @@ -633,23 +665,26 @@ msgstr ""

#: components/ItaliaTheme/Blocks/CTABlock/Block
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit
# defaultMessage: Digita la descrizione…
msgid "Type description…"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Edit
#: components/ItaliaTheme/Blocks/ArgumentsInEvidence/Block
#: components/ItaliaTheme/Blocks/Callout/Edit
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit
#: components/ItaliaTheme/manage/Widgets/SimpleTextEditorWidget
#: components/ItaliaTheme/manage/Widgets/TextEditorWidget
# defaultMessage: Digita il testo…
msgid "Type text…"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Edit
#: components/ItaliaTheme/Blocks/CTABlock/Block
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block
#: components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit
# defaultMessage: Type the title…
msgid "Type the title…"
msgstr ""
Expand Down Expand Up @@ -1114,6 +1149,21 @@ msgstr ""
msgid "calendar_prev_arrow"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Stile
msgid "callout_style"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Base
msgid "callout_style_basic"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: In evidenza
msgid "callout_style_highlight"
msgstr ""

#: components/ItaliaTheme/manage/Widgets/CanaleDigitaleWidget
# defaultMessage: Accedere al servizio
msgid "canale_digitale_widget_title"
Expand Down Expand Up @@ -1218,11 +1268,27 @@ msgstr ""
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Colore
msgid "color"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Default
msgid "color_default"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Note
msgid "color_note"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
Expand All @@ -1234,12 +1300,18 @@ msgstr ""
msgid "color_primary"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Success
msgid "color_success"
msgstr ""

#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Trasparente
msgid "color_transparent"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/Callout/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""
Expand Down Expand Up @@ -2189,6 +2261,7 @@ msgstr ""
msgid "html_block"
msgstr ""

#: components/ItaliaTheme/Blocks/Callout/Sidebar
#: components/ItaliaTheme/manage/Widgets/IconWidget
# defaultMessage: Icona
msgid "icon"
Expand Down Expand Up @@ -3816,11 +3889,6 @@ msgstr ""
msgid "termini_del_procedimento"
msgstr ""

#: config/RichTextEditor/ToolbarButtons/TextSizeButton
# defaultMessage: Dimensione del testo
msgid "text-size-button"
msgstr ""

#: components/ItaliaTheme/Blocks/Common/SearchFilters/TextFilter
# defaultMessage: Inserisci un valore
msgid "text_filter_placeholder"
Expand Down
Loading
Loading