feat: bump pmoconfig to 0.3.2 and restructure webui tests #5

Merged
eric merged 1 commit from push-pwqpmspqxyss into main 2026-11-12 01:42:39 +01:00
Owner

Update package version to 0.3.2, update Cargo.toml edition to 2024 and rust-version to 1.85, and add API documentation files. Refactor the webui test suite by moving collection-related tests into dedicated modules (collection_create, collection_edit) and updating internal logic for configuration loading and error handling.

  • Update .crate-kit/VERSION from 0.1.13 to 0.1.14 and Cargo.toml package version from 0.3.1 to 0.3.2 with edition 2024 and rust-version 1.85.
  • Add api/0.3.2.json.gz and api/0.3.2.txt containing API documentation, error enums, and trait implementations for configuration structures.
  • Delete AGENTS.md, removing build/test commands, versioning procedures, and coding style guidelines.
  • Refactor src/webui/tests/mod.rs to include mod collection_create and mod collection_edit.
  • Add src/webui/tests/collection_create.rs with tests for destination creation and group removal.
  • Add src/webui/tests/collection_edit.rs with tests for entry editing, overrides, and batch validation.
  • Update src/lib.rs to remove unused imports and add PageView.
  • Modify src/declared.rs read_value error handling and write_list sequence construction.
  • Modify src/entries.rs collect function logic for pattern splitting.
  • Modify src/key.rs to_value method to explicitly use .iter() for list mapping.
  • Modify src/page/collection.rs new, known, and path_of methods with improved wildcard handling and assertions.
  • Modify src/page/collection_view.rs input and view_under methods to correctly construct paths, cells, and inputs.
  • Modify src/registry.rs validate function for explicit path length and case-insensitive matching checks.
  • Modify src/tree.rs set function to handle Value::Null and empty entry removal.
  • Update src/webui/collection.rs removable and table functions with explicit formatting and .find() logic.
  • Update src/webui/form.rs entry_input signature and step string handling.
  • Refactor src/webui/mod.rs submit function for change processing, error handling, and parent existence checks.
  • Modify src/webui/render.rs display and page functions to filter strings correctly and check edit columns.
  • Update src/webui/restart.rs documentation and import RestartHook from crate.
  • Refactor src/webui/save.rs creation, keep_entries, and plan functions for collection edits and path construction.
  • Update tests in src/page/tests/collection_view.rs, page.rs, config.rs, declared.rs, entries.rs, introspect.rs, registry.rs, render.rs, save.rs, and webui.rs to reflect configuration loading changes, assertion updates, and behavior fixes.
Update package version to 0.3.2, update Cargo.toml edition to 2024 and rust-version to 1.85, and add API documentation files. Refactor the `webui` test suite by moving collection-related tests into dedicated modules (`collection_create`, `collection_edit`) and updating internal logic for configuration loading and error handling. - Update `.crate-kit/VERSION` from 0.1.13 to 0.1.14 and `Cargo.toml` package version from 0.3.1 to 0.3.2 with edition 2024 and rust-version 1.85. - Add `api/0.3.2.json.gz` and `api/0.3.2.txt` containing API documentation, error enums, and trait implementations for configuration structures. - Delete `AGENTS.md`, removing build/test commands, versioning procedures, and coding style guidelines. - Refactor `src/webui/tests/mod.rs` to include `mod collection_create` and `mod collection_edit`. - Add `src/webui/tests/collection_create.rs` with tests for destination creation and group removal. - Add `src/webui/tests/collection_edit.rs` with tests for entry editing, overrides, and batch validation. - Update `src/lib.rs` to remove unused imports and add `PageView`. - Modify `src/declared.rs` `read_value` error handling and `write_list` sequence construction. - Modify `src/entries.rs` `collect` function logic for pattern splitting. - Modify `src/key.rs` `to_value` method to explicitly use `.iter()` for list mapping. - Modify `src/page/collection.rs` `new`, `known`, and `path_of` methods with improved wildcard handling and assertions. - Modify `src/page/collection_view.rs` `input` and `view_under` methods to correctly construct paths, cells, and inputs. - Modify `src/registry.rs` `validate` function for explicit path length and case-insensitive matching checks. - Modify `src/tree.rs` `set` function to handle `Value::Null` and empty entry removal. - Update `src/webui/collection.rs` `removable` and `table` functions with explicit formatting and `.find()` logic. - Update `src/webui/form.rs` `entry_input` signature and step string handling. - Refactor `src/webui/mod.rs` `submit` function for change processing, error handling, and parent existence checks. - Modify `src/webui/render.rs` `display` and `page` functions to filter strings correctly and check edit columns. - Update `src/webui/restart.rs` documentation and import `RestartHook` from crate. - Refactor `src/webui/save.rs` `creation`, `keep_entries`, and `plan` functions for collection edits and path construction. - Update tests in `src/page/tests/collection_view.rs`, `page.rs`, `config.rs`, `declared.rs`, `entries.rs`, `introspect.rs`, `registry.rs`, `render.rs`, `save.rs`, and `webui.rs` to reflect configuration loading changes, assertion updates, and behavior fixes.
feat: bump pmoconfig to 0.3.2 and restructure webui tests
All checks were successful
Release / release (push) Successful in 1m23s
5b2690b0ee
Update package version to 0.3.2, update Cargo.toml edition to 2024 and rust-version to 1.85, and add API documentation files. Refactor the `webui` test suite by moving collection-related tests into dedicated modules (`collection_create`, `collection_edit`) and updating internal logic for configuration loading and error handling.

- Update `.crate-kit/VERSION` from 0.1.13 to 0.1.14 and `Cargo.toml` package version from 0.3.1 to 0.3.2 with edition 2024 and rust-version 1.85.
- Add `api/0.3.2.json.gz` and `api/0.3.2.txt` containing API documentation, error enums, and trait implementations for configuration structures.
- Delete `AGENTS.md`, removing build/test commands, versioning procedures, and coding style guidelines.
- Refactor `src/webui/tests/mod.rs` to include `mod collection_create` and `mod collection_edit`.
- Add `src/webui/tests/collection_create.rs` with tests for destination creation and group removal.
- Add `src/webui/tests/collection_edit.rs` with tests for entry editing, overrides, and batch validation.
- Update `src/lib.rs` to remove unused imports and add `PageView`.
- Modify `src/declared.rs` `read_value` error handling and `write_list` sequence construction.
- Modify `src/entries.rs` `collect` function logic for pattern splitting.
- Modify `src/key.rs` `to_value` method to explicitly use `.iter()` for list mapping.
- Modify `src/page/collection.rs` `new`, `known`, and `path_of` methods with improved wildcard handling and assertions.
- Modify `src/page/collection_view.rs` `input` and `view_under` methods to correctly construct paths, cells, and inputs.
- Modify `src/registry.rs` `validate` function for explicit path length and case-insensitive matching checks.
- Modify `src/tree.rs` `set` function to handle `Value::Null` and empty entry removal.
- Update `src/webui/collection.rs` `removable` and `table` functions with explicit formatting and `.find()` logic.
- Update `src/webui/form.rs` `entry_input` signature and step string handling.
- Refactor `src/webui/mod.rs` `submit` function for change processing, error handling, and parent existence checks.
- Modify `src/webui/render.rs` `display` and `page` functions to filter strings correctly and check edit columns.
- Update `src/webui/restart.rs` documentation and import `RestartHook` from crate.
- Refactor `src/webui/save.rs` `creation`, `keep_entries`, and `plan` functions for collection edits and path construction.
- Update tests in `src/page/tests/collection_view.rs`, `page.rs`, `config.rs`, `declared.rs`, `entries.rs`, `introspect.rs`, `registry.rs`, `render.rs`, `save.rs`, and `webui.rs` to reflect configuration loading changes, assertion updates, and behavior fixes.
eric merged commit 036dcf973b into main 2026-11-12 01:42:39 +01:00
eric deleted branch push-pwqpmspqxyss 2026-11-12 01:42:44 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pmo/pmoconfig!5
No description provided.