| author | |
| committer | |
| log | 1b252f294ce7272a0b316aed8f1431b5e0b37af6 |
| tree | 2908e87df2ef4a0f2f35fb2587652648a386eebd |
| parent | a4b935962eea65ff06dd374addd162164c932203 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
Deleting a section asked about Garden.one; it names Garden, as the group's
already named the group. Check for Updates' failure read "Unable to check for
updates" where every other alert says Couldn't.
Assisted-by: claude-opus-5.52 files changed, 5 insertions(+), 7 deletions(-)
crates/snowbound/src/menus.rs+4-6| ... | ... | @@ -817,9 +817,10 @@ impl State { |
| 817 | 817 | None |
| 818 | 818 | } |
| 819 | 819 | (Target::Section { library, path }, Action::Delete) => { |
| 820 | let name = crate::library::entry_name(&path).to_owned(); | |
| 820 | 821 | platform::confirm( |
| 821 | 822 | "Are you sure you want to move this section to this notebook's Recycle Bin?", |
| 822 | &path.clone(), | |
| 823 | &name, | |
| 823 | 824 | "Cancel", |
| 824 | 825 | "Delete", |
| 825 | 826 | self.reply(|state, ()| { |
| ... | ... | @@ -831,13 +832,10 @@ impl State { |
| 831 | 832 | None |
| 832 | 833 | } |
| 833 | 834 | (Target::Group { library, path }, Action::Delete) => { |
| 835 | let name = crate::library::entry_name(&path).to_owned(); | |
| 834 | 836 | platform::confirm( |
| 835 | 837 | "Are you sure you want to move the sections in this section group to this notebook's Recycle Bin?", |
| 836 | path.rsplit('/') | |
| 837 | .next() | |
| 838 | .unwrap_or_default() | |
| 839 | .to_owned() | |
| 840 | .as_str(), | |
| 838 | &name, | |
| 841 | 839 | "Cancel", |
| 842 | 840 | "Delete", |
| 843 | 841 | self.reply(|state, ()| { |
crates/snowbound/src/update.rs+1-1| ... | ... | @@ -755,7 +755,7 @@ impl State { |
| 755 | 755 | "Snowbound is up to date", |
| 756 | 756 | &format!("You have {}.", describe_running()), |
| 757 | 757 | ), |
| 758 | Status::Failed(reason) => platform::alert("Unable to check for updates", reason), | |
| 758 | Status::Failed(reason) => platform::alert("Couldn't check for updates", reason), | |
| 759 | 759 | Status::Idle | Status::Downloading(_) => {} |
| 760 | 760 | } |
| 761 | 761 | } |