Skip to content

Fork Sync Branch 18.0 - #239

Merged
btl-bot merged 9 commits into
BTLzdravtech:18.0from
OCA:18.0
Nov 12, 2026
Merged

btl-bot merged 9 commits into
BTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot

@btl-bot btl-bot commented Nov 12, 2026

Copy link
Copy Markdown

No description provided.

sergio-teruel and others added 9 commits November 3, 2026 06:15
Maximizing a dialog, by default or with the maximize/restore button, dispatched a synthetic window resize event. Components that close on window resize then close as well, even when they own the dialog. For example, in the analytic distribution widget, choosing "Search More..." on an analytic account opens the dialog, the resize closes the widget popup and the dialog is destroyed with it, so it disappears immediately (or as soon as it is maximized or restored by hand).

The resize was there to make a list with manually resized columns fill the new dialog size: manual resizing fixes the width of the table and its parent in pixels, so the list no longer follows the dialog width. Unset those widths instead when using the buttons, so the list fits its columns through its own resize observer. Maximizing on open needs nothing, as no column has been resized yet.
The button only showed the icon matching the dialog size it had when it was first rendered. Its props (the size getter and setter) never change, so rendering the dialog with a new size does not render the button again.
With "default maximize" on, the dialog opened maximized with the maximize icon, and clicking it did nothing, so it could not be restored.
Keep the size in the button state so it switches icon on each change.
Signed-off-by pedrobaeza
Backport of the 20.0 module (#3680). Replace the solid purple navbar of
the backend by a light one, by overriding the navbar variables of web.
In 18.0 the menu entries take the full height of the navbar, so the
bottom line is drawn in a pseudo-element on top of them instead of the
border of web. It only applies to the bright color scheme, so dark mode
is left to web_dark_mode.

Assisted-by: Claude Opus 5.5
Signed-off-by pedrobaeza

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto approved

@btl-bot
btl-bot merged commit b17846f into BTLzdravtech:18.0 Nov 12, 2026
5 of 6 checks passed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

7 participants