Skip to content

Conversation

@fdamhaut
Copy link
Contributor

Description:

description of this task, what is implemented and why it is implemented that way.

Task: 5158912

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

@robodoo
Copy link
Collaborator

robodoo commented Oct 27, 2025

Pull request status dashboard

@fdamhaut fdamhaut force-pushed the master-style-text-rotation-flda branch 2 times, most recently from ed16251 to 0359de5 Compare October 29, 2025 09:23
Copy link
Collaborator

@pro-odoo pro-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines 45 to 49
interface Expect {
toBeBetween(lower: number, upper: number): ExpectResult;
toBeSameColorAs(expected: string, tolerance?: number): ExpectResult;
toBeCloseTo(expected: number, closeDigit?: number): ExpectResult;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it needed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To allow its use inside toMatchObject(), the implementation is the same as the one described in jest doc

Copy link
Collaborator

@LucasLefevre LucasLefevre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good good good

@fdamhaut fdamhaut force-pushed the master-style-text-rotation-flda branch 2 times, most recently from 94af3a6 to bb3026e Compare November 13, 2025 08:39
@LucasLefevre LucasLefevre force-pushed the master-style-text-rotation-flda branch from bb3026e to c870daf Compare November 14, 2025 12:45
Copy link
Collaborator

@LucasLefevre LucasLefevre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo r+
(rebased to fix conflicts)

fillColor?: Color;
textColor?: Color;
fontSize?: number; // in pt, not in px!
rotation?: number; // in rad, clockwise because y+ is down
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@robodoo
Copy link
Collaborator

robodoo commented Nov 14, 2025

@fdamhaut @LucasLefevre because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@LucasLefevre
Copy link
Collaborator

robodoo rebase-ff

@robodoo
Copy link
Collaborator

robodoo commented Nov 14, 2025

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Nov 14, 2025
Part-of: #7376
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
robodoo pushed a commit that referenced this pull request Nov 14, 2025
Add rotation to the text style.

closes #7376

Task-id: 5158912
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
@robodoo robodoo added the 19.1 label Nov 14, 2025
@robodoo robodoo closed this Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants