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

Use another system class to mark invisible elements #4237

Draft
wants to merge 113 commits into
base: master-mysterious-egg
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
cc3f8cf
[ADD] create mysterious_egg module
fdardenne Oct 9, 2024
ace51b9
shape[1].imgSize
Goaman Feb 19, 2025
b7b3289
combine background shape and image shape selector
Goaman Feb 25, 2025
1a31f3d
consistency naming
Goaman Feb 25, 2025
51e1a7b
params for shorthand actions
bso-odoo Feb 19, 2025
43e8cfc
REF Layout option first part
FrancoisGe Feb 24, 2025
f58bae1
set shape colors
Goaman Feb 26, 2025
0a8dbc5
FIX nb columns switch mobile
FrancoisGe Feb 26, 2025
c46e183
shape transform + small refactor shape api
Goaman Feb 27, 2025
6fb9fee
Trigger onChange with arrows + update multi value
robinlej Feb 26, 2025
31c9224
remove useless addStep
FrancoisGe Feb 27, 2025
7d0d6a6
Fix blocks tab and snippets style and xml template + add tooltips
sobo-odoo Feb 24, 2025
b486943
add button options without the custom options
Jinjiu96 Feb 21, 2025
8edb111
small fix to pass the target position to drag&drop
Jinjiu96 Feb 26, 2025
8917a17
Chart BackgroundOption
robinlej Feb 26, 2025
e11a8f2
Add default BuilderInput styles
robinlej Feb 26, 2025
2265537
ChartOption & ChartOptionPlugin
robinlej Feb 26, 2025
f2308ad
Restart chart interaction on input (previewing history step)
robinlej Feb 26, 2025
767b50a
getUsedCustomColors in BuilderColorPicker
robinlej Feb 26, 2025
975310b
ChartOption tests
robinlej Feb 27, 2025
c39e77a
shape animation speed
Goaman Feb 27, 2025
fed6ce4
[REF] html_builder: AddElementOption, SpacingOption
sebgeelen Feb 27, 2025
546d3de
fix ColorPicker
robinlej Feb 28, 2025
a53aba1
lint
agau-odoo Feb 28, 2025
25e4b1a
move unit and saveUnit to BuilderNumberInput
agau-odoo Feb 28, 2025
93029fe
code cleanup
agau-odoo Feb 28, 2025
3aa3409
fix datetime picker test indeterminism
agau-odoo Feb 28, 2025
665ac7b
dynamic svg option + withGradient in color picker
bso-odoo Jan 31, 2025
a39dbaa
add grid image option
Jinjiu96 Feb 27, 2025
67a6037
Restore container selection when undo/redo
fdardenne Feb 26, 2025
27c76f4
Fallback container to parent if target disappear
fdardenne Feb 26, 2025
fe5dbf9
ImageGallery restore the container selection
fdardenne Feb 26, 2025
06796df
Fix BorderConfigurator
robinlej Mar 4, 2025
baceecd
Fix BuilderNumberInput with trailing space
robinlej Mar 4, 2025
2009bda
Sanitize BuilderNumberInput on input/change
robinlej Mar 4, 2025
d317b7b
Fix BuilderSelect: revert previews on cancel + better UI
robinlej Feb 28, 2025
6ea13f9
fix BuilderColorPicker custom colors + chart option
robinlej Mar 5, 2025
4e924a2
Card image options
cammarosano Feb 26, 2025
f69498f
Implement nomode in image_gallery option
fdardenne Mar 5, 2025
57bb893
Fix customStyleActions apply params order
robinlej Mar 5, 2025
ae2e2c5
Allow multiple values in BuilderNumberInput only if composable
robinlej Mar 5, 2025
a7bfba7
Group BuilderNumberInput tests
robinlej Mar 5, 2025
d6f91e8
move to /layout_option
FrancoisGe Feb 28, 2025
a38aba2
fix rebase
ged-odoo Mar 6, 2025
3f965ae
add only grid/column
FrancoisGe Mar 5, 2025
814cd3d
REF API builder_style_actions
FrancoisGe Mar 5, 2025
161c98b
small imp
FrancoisGe Mar 5, 2025
67a42d2
Add min & max props on BuilderNumberInput
robinlej Mar 5, 2025
230f585
oops
robinlej Mar 5, 2025
55f9d61
VerticalJustifyOption
blse-odoo Mar 5, 2025
4585b07
fix target of ContentWidthOption (aka ContainerWidth)
blse-odoo Mar 5, 2025
08a3e9f
shadow option: fix svgs buttons
fdardenne Mar 6, 2025
a995d83
image_gallery_option: add spacing between images
fdardenne Mar 6, 2025
6091076
builder_range: Fix style
fdardenne Mar 6, 2025
1c964a9
remove
FrancoisGe Mar 5, 2025
1c3c361
add BuilderUrlPicker
agau-odoo Feb 24, 2025
26a161c
fix isActive in ButtonGroups
FrancoisGe Mar 6, 2025
c0c75c1
[FIX] Firefox dirty mutations with ZWS
robinlej Mar 6, 2025
f7d25e2
fix rebase
ged-odoo Mar 6, 2025
91041ce
add gallery element option
Jinjiu96 Feb 27, 2025
691abe3
fix import
FrancoisGe Mar 7, 2025
5befced
Better accessibility on blocks tab
robinlej Feb 28, 2025
1c34019
Fix multi-word buttons
robinlej Feb 28, 2025
9ed551e
Open options on snippet drop
robinlej Mar 6, 2025
d0e7bae
theme options
bso-odoo Mar 4, 2025
a1e28e7
Snippet add dialog tests: make it green
fdardenne Mar 7, 2025
ef3ea7a
Poc Custom mutation
FrancoisGe Mar 6, 2025
2e618b2
Add comment
loco-odoo Mar 6, 2025
d99f516
[FIX] delete background image
loco-odoo Feb 28, 2025
4f5f070
Starts interaction at action preview and at normalize
loco-odoo Mar 10, 2025
f8d4466
update of apply to mechanism
loco-odoo Mar 10, 2025
5554d4e
add gallery_img option into imageGalleryOption and after remove handler
Jinjiu96 Mar 7, 2025
8022453
Load inside_builder_style bundle in edit mode only
robinlej Mar 11, 2025
1fd4677
fix selector from CardImageOptions + rename CardOptionPlugin to CardW…
blse-odoo Mar 11, 2025
1c5e941
Map Option
AlessandroLupo Mar 11, 2025
fb8a669
builder font family picker
bso-odoo Mar 6, 2025
5a93267
mini fix to handle width style properties
ged-odoo Mar 11, 2025
083e583
TopMenuVisibility and TopMenuColor and HideFooter
duau-odoo Mar 6, 2025
d820e35
moved website_page_config to website_builder
duau-odoo Mar 13, 2025
39f9b8e
Get the right selector siblings/children
sobo-odoo Mar 7, 2025
33825a8
Disable undroppable snippets
sobo-odoo Mar 13, 2025
4d817d4
Filter the options target properly + add `noCheck` (=> `editableOnly`)
sobo-odoo Mar 10, 2025
f15f5b9
Check the elements before adding the overlay options on them
sobo-odoo Mar 10, 2025
8a08e61
fix BuilderUrlPicker anchor autocomplete
agau-odoo Mar 10, 2025
6231720
remove unused code (interactions started on normalize)
robinlej Mar 11, 2025
09023f7
Filter invisible snippets' edit interactions
robinlej Mar 11, 2025
c18b276
PopupOption
robinlej Mar 3, 2025
d7c3cd1
Await loadBundle on edit
robinlej Mar 13, 2025
bbe9ad4
facebookPage (.o_facebook_page)
blse-odoo Mar 12, 2025
9d61587
Prevent interaction with facebook iframe during edit
blse-odoo Mar 17, 2025
3dd787d
Recaptcha Subscribe Option
AlessandroLupo Mar 13, 2025
30220b4
image_gallery option: implement columns
fdardenne Mar 6, 2025
a5b2e4a
add GridColumnsOptionPlugin
FrancoisGe Mar 18, 2025
b78637b
onClone remove system class + attr
FrancoisGe Mar 18, 2025
98b990a
fix rebase 18/03/2025
FrancoisGe Mar 18, 2025
5f198c9
Background video and parallax
loco-odoo Feb 26, 2025
ad7cf96
[FIX] html_editor: toolbar shown on collapsed selection in uneditable
cammarosano Mar 11, 2025
556732e
[FIX] html_editor: selection preservation around moved nodes
cammarosano Mar 13, 2025
5fb181f
[FIX] html_editor: delete in uneditable zone
cammarosano Mar 13, 2025
ca50810
[FIX] html_editor: asymmetric range adjustment around non-editables
cammarosano Mar 13, 2025
aa19bc4
[FIX] html_editor: normalization around non-editables on setSelection
cammarosano Mar 13, 2025
8a26c9c
_shouldClean: an action without a clean that is active should call ap…
Goaman Mar 12, 2025
7247305
Fix typo in WebsitePageConfigOptionPlugin
duau-odoo Mar 19, 2025
d55ec76
introduces builder_components resource
ged-odoo Mar 19, 2025
570ce40
lint
Goaman Mar 20, 2025
d2f0ee6
add prop to BuilderTextInputBase
Goaman Mar 20, 2025
dbd3807
add inheritance
ged-odoo Mar 20, 2025
584114d
make theme tab independant of website
ged-odoo Mar 19, 2025
ddd4eeb
split theme tab plugin in two
ged-odoo Mar 20, 2025
187ec1b
Stop interactions on exit
robinlej Mar 20, 2025
cedb2a4
[MOV] move website-specific options in website_builder
robinlej Mar 21, 2025
c03a931
[MOV] move website tests in tests/website_builder/
robinlej Mar 21, 2025
5de8234
Use another system class to mark invisible elements
robinlej Mar 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions addons/html_builder/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# -*- coding: utf-8 -*-
63 changes: 63 additions & 0 deletions addons/html_builder/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# -*- coding: utf-8 -*-
{
'name': "HTML Builder",
'summary': "Generic html builder",
'description': """
This addon contains a generic html builder application. It is designed to be
used by the website builder and mass mailing editor.
""",

'author': "Odoo",
'website': "https://www.odoo.com",

# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',
'auto_install': True,

# any module necessary for this one to work correctly
'depends': ['base', 'html_editor', 'website'],

# always loaded
'data': [
# 'security/ir.model.access.csv',
'views/views.xml',
],

'assets': {
'web.assets_backend': [
'html_builder/static/src/website_preview/**/*',
],
# this bundle is lazy loaded when the editor is ready
'html_builder.assets': [
('include', 'web._assets_helpers'),

'html_builder/static/src/bootstrap_overriden.scss',
'web/static/src/scss/pre_variables.scss',
'web/static/lib/bootstrap/scss/_variables.scss',
'web/static/lib/bootstrap/scss/_variables-dark.scss',
'web/static/lib/bootstrap/scss/_maps.scss',

'html_builder/static/src/**/*',
('remove', 'html_builder/static/src/website_preview/**/*'),
('remove', 'html_builder/static/src/website_mass_mailing/**/*'),
],
'html_builder.inside_builder_style': [
('include', 'web._assets_helpers'),
('include', 'web._assets_primary_variables'),
'web/static/src/scss/bootstrap_overridden.scss',
'html_builder/static/src/**/*.inside.scss',
],
'html_builder.iframe_add_dialog': [
('include', 'web.assets_frontend'),
'html_builder/static/src/snippets/snippet_viewer.scss'
],
'web.assets_unit_tests': [
'html_builder/static/tests/**/*',
('include', 'html_builder.assets'),
],
},
'license': 'LGPL-3',
}
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions addons/html_builder/static/image_shapes/brushed/brush_4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading