Feature #11609
closedStart with frequently-used radio models
Added by John Oliver about 1 month ago. Updated about 1 month ago.
100%
Description
When I "Download from radio", CHIRP remembers the last radio I connected to. If that isn't what I want, I have to plow through the menu of manufacturers and models. It would be really nice to get a short menu of radios I've connected to and a "Add new radio" button if I want to connect to a new one (and, of course, an option to remove a radio if it's old or I selected it by mistake).
Files
clipboard-202410141526-bewqk.png (171 KB) clipboard-202410141526-bewqk.png | Dan Smith, 10/14/2024 03:26 PM | ||
clipboard-202410141526-zgoy6.png (281 KB) clipboard-202410141526-zgoy6.png | Dan Smith, 10/14/2024 03:26 PM | ||
Screenshot from 2024-10-15 12-16-07.png (27.1 KB) Screenshot from 2024-10-15 12-16-07.png | John Oliver, 10/15/2024 12:18 PM |
Updated by Bryant L about 1 month ago
Perhaps an easier way to implement would be a favorites tab and people manually add their favorite radios to the group. Automation might make it more of a hassle imo.
Updated by Dan Smith about 1 month ago
This is a reasonable ask, but I'm not sure yet how I want to implement it...
Updated by Dan Smith about 1 month ago
- File clipboard-202410141526-bewqk.png clipboard-202410141526-bewqk.png added
- File clipboard-202410141526-zgoy6.png clipboard-202410141526-zgoy6.png added
How about this? Keeps the last ten.
Updated by John Oliver about 1 month ago
Looks good! I'm happy to test...
On Monday, October 14, 2024 at 03:27:40 PM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
Chirp's module system only works for drivers, not UI code. But, since you're on linux you can probably check out and run this manually if you want:
Updated by Dan Smith about 1 month ago
In case you fetched this immediately, I just force-pushed to that branch with an updated dialog that can be larger than a postage stamp, FYI.
Updated by John Oliver about 1 month ago
The INSTALL file lists some dependencies, but:
joliver@blinky:~$ sudo apt install python python-gtk2 python-libxml2 python-libxslt1 python-serial python-support
[sudo] password for joliver:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
2to3 python-is-python3
E: Package 'python' has no installation candidate
E: Unable to locate package python-gtk2
E: Unable to locate package python-libxml2
E: Unable to locate package python-libxslt1
E: Unable to locate package python-serial
E: Unable to locate package python-support
I guessed I should try python3, but:
joliver@blinky:~$ sudo apt install python3 python3-gtk2 python3-libxml2 python3-libxslt1 python3-serial python3-support
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-gtk2
E: Unable to locate package python3-libxslt1
E: Unable to locate package python3-support
On Monday, October 14, 2024 at 03:53:32 PM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
Oh that stuff is like a decade out of date, sorry. See ChirpOnLinux.
Updated by Dan Smith about 1 month ago
And to be clear, you can clone the branch and just pass .
to the pipx
install command instead of the wheel.
If that all sounds complicated, no worries, this'll be in a build soon enough.
Updated by John Oliver about 1 month ago
It works:
FWIW, I was picturing something where that list is the primary screen that comes up, not an afterthought. And it would be nice to have a way to delete one, if it was a mistake or for a radio someone didn't have any more.
But this is huge! I bet a lot of people will be very happy!
On Monday, October 14, 2024 at 03:53:32 PM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
Yeah, well, it can evolve from here. That clone dialog has basically been unchanged for 15 years, so it'll take me some time to even be able to consider it being different. But let's see how this goes for a while.
Note that you can trim the recent models list from the config if you really want. Obviously not very user friendly, but more buttons/behaviors means more complexity and such.
Updated by Dan Smith about 1 month ago
I just pushed changes to allow pruning the list and optionally starting with the recent list, if there are any. It definitely complicates the whole process a little bit, but I think it's reasonably workable. If you can poke around and try to break it a bit, I'd appreciate it.
Updated by Dan Smith about 1 month ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset github|7b0881d984558f2a483fa98dbd5bb616cb631f46.