refactor: replace deprecated #[transition] with set_transition_type #23
No reviewers
Labels
No labels
backport release 26.05
bug
duplicate
enhancement
fix
good first issue
gui
nix
planned
question
refactor
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
xinux/e-imzo-manager!23
Loading…
Reference in a new issue
No description provided.
Delete branch "zeta/e-imzo-manager:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type of Change
Description
Related Issues
Fixes #(issue number)
Relates to #(issue number)
Testing
Checklist
Screenshots (if applicable)
Add screenshots to help explain your changes.
@ -120,7 +120,6 @@ impl SimpleComponent for App {}},#[transition(SlideLeftRight)]you deleted transition but didnʼt used new method to implement transition.
I suggest you change cargo.toml relm4 0.11 version into latest github commit hash so you can test it now. New PR #916 is not released on crates
Added the
set_transition_typeblock and updatedCargo.tomlto pull relm4@ -38,2 +38,4 @@uzers = "0.12.2"anyhow = "1.0.102"[patch.crates-io]relm4 = { git = "https://github.com/Relm4/Relm4", rev = "233314aa522ca65f213523b143a3cce74a415e36" }which commit is this? i found that last commit is: "96a2abe04ed89c77546e4d5d600fc14248cd327c"
@zeta can you sent me commit link from github so i can merge after verifying
also ci build failed cause of this: https://git.oss.uzinfocom.uz/xinux/e-imzo-manager/actions/runs/71/jobs/1/attempt/1#jobstep-2-21
Commit link:
github.com/Relm4/Relm4@233314aa52This is the commit where PR #916 was merged (the one that adds set_transition_type). It's not the latest commit on relm4's main anymore since more unrelated commits landed after it, but it has the fix we need.
Also made two more changes needed to get this building on Nix:
Added outputHashes in packages/e-imzo-manager/default.nix — needed so Nix can vendor the git-sourced relm4 dependency.
Bumped nixpkgs in flake.lock — unrelated to this fix, but current nixpkgs hits 403 errors from crates.io on crate downloads (a recent crates.io API change), so this was needed just to get a working build at all right now.
Tested locally with nix build — builds clean.