connectbot
connectbot copied to clipboard
Create profiles for different configurations
Describe the solution you'd like
The current colors screen is not as useful as it could be. I propose changing it to a profiles screen where you can set colors, fonts, and other configurations that have previously been in Preferences. This will allow it to change per-host if desired.
You should also be able to edit the current profile and switch profiles for the current host from the ConsoleScreen.
Since ConnectBot has both "google" and "oss" versions, we can't rely only on Google Play Services for font downloading. There needs to be a local file import option. That should do some checks to make sure the font works (e.g., show a Text preview before importing.
Steps:
- [ ] Determine list of preferences that should be moved to profiles
- [ ] Create Profiles database schema
- [ ] Migrate the relevant Preferences to the default Profile
- [ ] Link hosts to Profiles and remove Colors selection (no need to migrate hosts as we are in beta still)
- [ ] Replace navigation to Colors with Profiles
- [ ] Add nav path from Settings screen to Profiles as well (for users that are used to old ConnectBot)
- [ ] Limit Colors palette to the first 16 colors
- [ ] Add downloadable fonts
- [ ] Allow composing fonts like PowerLineExtraSymbols (i.e., ability to add Powerline symbols to any font)
Additional context
iTerm2 has really good profiles support. Inspirational!