From 0df0d0ef8da5e684efcc53b4439418fb2d1026ea Mon Sep 17 00:00:00 2001 From: FredApps Date: Sat, 5 Dec 2026 11:59:36 +0100 Subject: [PATCH] Validate narrow mode navigation and history controls --- .github/workflows/4562-modebar-validation.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/4562-modebar-validation.yml diff --git a/.github/workflows/4562-modebar-validation.yml b/.github/workflows/4562-modebar-validation.yml new file mode 100644 index 0000000000..a563d1d798 --- /dev/null +++ b/.github/workflows/4562-modebar-validation.yml @@ -0,0 +1,28 @@ +name: Mode bar history controls validation + +on: + push: + branches: [fredapps/4562-modebar-validation] + +permissions: + contents: read + +jobs: + mode-bar: + uses: storytold/craft-common-actions/.github/workflows/gate.yml@main + with: + os: '["ubuntu-24.04"]' + craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83 + packages: >- + libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev + libgl1-mesa-dev libgtk-3-dev qpdf poppler-utils xvfb libxkbcommon-x11-0 + command: | + # Diagnostic only while the current main lock repair is pending. + cargo metadata --format-version 1 > /dev/null + git diff --stat -- Cargo.lock + cargo test --locked -p pdfcraft-ui-egui --test it undo_and_redo_buttons_in_the_mode_bar + cargo test --locked -p pdfcraft-ui-egui --test it the_search_field_leaves_the_mode_tabs_clear_in_a_narrow_window + cargo test --locked -p pdfcraft-ui-egui --test it the_undo_button_takes_back_a_polygon_point_in_an_unchanged_document + cargo test --locked -p pdfcraft-ui-egui --test it undo_and_redo_restore_the_combine_list + cargo test --locked -p pdfcraft-ui-egui --test it min_window:: + cargo test --locked -p pdfcraft-ui-egui --test it from_the_menu