The iPhone app should be able to close a milestone. Check if the API has that available - I only know the „close“ button in the UI. If we can open/close freely, add a checkbox to the editor for milestones.
The iPhone app should be able to close a milestone. Check if the API has that available - I only know the „close“ button in the UI. If we can open/close freely, add a checkbox to the editor for milestones.
hugo
added this to the first feature complete release milestone 2026-07-31 21:17:28 +00:00
Added typed Gitea milestone state handling with explicit open/closed validation and serialization.
Added a native, accessible Closed switch to the milestone editor. Existing state loads into the editor, new milestones default open, and Save can close or reopen a milestone.
Kept the state mapping in Rust, regenerated the UniFFI Swift/C bindings, and updated TESTING.md with close, reopen, persistence, Cancel, Dynamic Type, and VoiceOver coverage.
On the live milestone, closed it from the iPhone UI, confirmed the closed detail state, reopened it from the editor, and confirmed the server reports it open again.
Verified the editor and Cancel behavior at accessibility-extra-extra-extra-large; VoiceOver exposes the switch label and on/off value.
Implemented in `047f0ab`.
- Added typed Gitea milestone state handling with explicit `open`/`closed` validation and serialization.
- Added a native, accessible **Closed** switch to the milestone editor. Existing state loads into the editor, new milestones default open, and Save can close or reopen a milestone.
- Kept the state mapping in Rust, regenerated the UniFFI Swift/C bindings, and updated `TESTING.md` with close, reopen, persistence, Cancel, Dynamic Type, and VoiceOver coverage.
Verification:
- `cargo fmt --all -- --check`
- `RUSTFLAGS="-D warnings" cargo check --workspace --all-targets`
- `cargo clippy --workspace --all-targets -- -D warnings`
- `cargo test --workspace` (31 tests passed)
- Signed iPhone 17 Pro Simulator build passed.
- On the live milestone, closed it from the iPhone UI, confirmed the closed detail state, reopened it from the editor, and confirmed the server reports it open again.
- Verified the editor and Cancel behavior at `accessibility-extra-extra-extra-large`; VoiceOver exposes the switch label and on/off value.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The iPhone app should be able to close a milestone. Check if the API has that available - I only know the „close“ button in the UI. If we can open/close freely, add a checkbox to the editor for milestones.
Implemented in
047f0ab.open/closedvalidation and serialization.TESTING.mdwith close, reopen, persistence, Cancel, Dynamic Type, and VoiceOver coverage.Verification:
cargo fmt --all -- --checkRUSTFLAGS="-D warnings" cargo check --workspace --all-targetscargo clippy --workspace --all-targets -- -D warningscargo test --workspace(31 tests passed)accessibility-extra-extra-extra-large; VoiceOver exposes the switch label and on/off value.