Repository navigation
Conversation
Width и Height в Wails задают внешний размер окна вместе с рамкой и заголовком. При 360x758 странице оставалось около 345x720, и после конвертации на выходной с референсом появлялась прокрутка. Месяцу в 6 недель с большой суммой нужно 361x782. Окно теперь 376x822, внутри около 361x784. CHANGELOG и руководство пользователя обновлены.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78b08eacc6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // около 361x784 - столько нужно странице в худшем случае (месяц в 6 недель, | ||
| // выходной, большая сумма и сравнение с референсом) | ||
| Width: 376, | ||
| Height: 822, |
There was a problem hiding this comment.
Keep the fixed window within supported displays
On the documented minimum 1280×720 display (docs/01-ТЕХНИЧЕСКОЕ-ЗАДАНИЕ.md:196 and the user guide at line 69), an 822 px outer window cannot fit even before accounting for the Windows taskbar. Since MinHeight, MaxHeight, and DisableResize also lock this dimension, the lower controls and conversion result can remain outside the visible screen with no way to resize the window; size the window against the available work area or preserve scrolling on displays shorter than the preferred layout.
Useful? React with 👍 / 👎.
После конвертации на выходной день с референсом в окне появлялась вертикальная прокрутка: результат не помещался.
Причина
WidthиHeightв Wails задают внешний размер окна вместе с рамкой и заголовком. При 360x758 самой странице доставалось около 345x720 CSS px (замерилGetClientRectпри масштабе 150%). А интерфейсу в худшем случае нужно 361x782: месяц в 6 недель, выходной день, большая сумма и строка сравнения с референсом.Что изменил
--app-widthв CSS, размер окна в руководстве пользователя, запись в CHANGELOG (Unreleased). Туда же добавил обновление зависимостей из chore(deps): bump github.com/labstack/echo/v4 from 4.15.3 to 4.16.1 #49.Проверка
golangci-lintбез замечаний,go test ./...и тесты frontend (21/21) проходят.Релиз пока не делаю, в эту ветку будут ещё доработки.