Skip to content

[IMP] website: update snippet icon for animated number#5197

Open
Brieuc-brd wants to merge 3 commits into
master-imp-animated-number-snippet-romofrom
master-imp-animated-number-snippet-icon-brd
Open

[IMP] website: update snippet icon for animated number#5197
Brieuc-brd wants to merge 3 commits into
master-imp-animated-number-snippet-romofrom
master-imp-animated-number-snippet-icon-brd

Conversation

@Brieuc-brd

@Brieuc-brd Brieuc-brd commented Jul 6, 2026

Copy link
Copy Markdown

task-6296191

Preview:
Screenshot 2026-07-06 at 15 24 20

romo-odoo and others added 3 commits July 1, 2026 15:47
This commit allows editor plugins to mark non-editable nodes as
formattable through is_formattable_node_predicates. Formatting and
toolbar logic now rely on isNodeFormattable so protected content can
still expose style changes when explicitly allowed.

This allows to changes the style of some text while preventing the user
from editing the textContent.
Introduce a website snippet that displays a number counting from a
configured start and end values, supporting both increasing and
decreasing values. It can be used to highlight statistics, growth,
reductions, or other metrics.

Timing controls are shared with on-appearance animations so users do not
have to configure the same delay and duration twice when combining both
effects.

The number is set as formattable but not editable as its text content
will changed during the animation.

task-5358340
@robodoo

robodoo commented Jul 6, 2026

Copy link
Copy Markdown

This PR targets the un-managed branch odoo-dev/odoo:master-imp-animated-number-snippet-romo, it needs to be retargeted before it can be merged.

@romo-odoo
romo-odoo force-pushed the master-imp-animated-number-snippet-romo branch from c29f3a3 to 222ada8 Compare July 6, 2026 14:39
@Brieuc-brd
Brieuc-brd marked this pull request as ready for review July 7, 2026 06:29
@robodoo

robodoo commented Jul 7, 2026

Copy link
Copy Markdown

This PR targets the un-managed branch odoo-dev/odoo:master-imp-animated-number-snippet-romo, it needs to be retargeted before it can be merged.

@Brieuc-brd

Copy link
Copy Markdown
Author

Hey @romo-odoo 👋
Here's the snippet icon, you can probably cherry pick the commit 😉

@romo-odoo
romo-odoo force-pushed the master-imp-animated-number-snippet-romo branch from 222ada8 to 9f9cf35 Compare July 15, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants