Display human-friendly desktop notifications for long-running commands
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Describe the solution you'd like?
Desktop notifications for long-running commands could be more human-friendly.
For instance, notification may be finished after 11 minutes and 1 second or finished after 11 m 1 s instead of finished after 666s).
See this library for a human-friendly format suggestion:
https://docs.rs/humantime/latest/humantime/fn.format_duration.html
Is your feature request related to a problem? Please describe.
When I received notification for long-running commands (like brew update or port upgrade outdated on my 10-year-old laptop 🐌), I often don't know the duration because I can't calculate seconds to minutes (or hours 😅) in my head:
Here is a "fake" shell command that triggers a finished after 999s notification:
echo "Simulating a long-running command like 'brew update' or 'port upgrade outdated' on my 10-year-old laptop! 😅 " && sleep 999
finished after 30 s
👌
finished after 61 s
🤔
finished after 666 s
🙀
finished after 999 s
😵
How important is this feature to you?
1 (Not too important)
Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the desktop notification code for completed long-running commands and compare its duration formatting with humantime::format_duration. Use the provided sleep 999 shell command to trigger a notification; done means durations such as 666 seconds are shown in a human-friendly minutes-and-seconds format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100