deskflow/deskflow
在 GitHub 查看Remember previously used server addresses (hostnames and IPs)
Open
#8,114 建立於 2025年1月20日
good first issue
倉庫指標
- Star
- (25,788 star)
- PR 合併指標
- (平均合併 5天 20小時) (30 天內合併 35 個 PR)
描述
Feature Request
When switching between servers, re-typing different hostnames is a little tedious, especially in development where I frequently change which computer is the server.
It would be handy if the server address (hostname/IP) field was a combo textbox dropdown which I could type new addresses into but also select previously used ones.
Edit: This feature should work as follows
- The object
lineHostnameshould be an editable combo box renamed tocbHostname- Pressing Enter should after typing should attempt to connect to the server
- Only when connected should a new item be added to the server history
- Cap the history at 10 servers
- Proper validator so non valid names are not able to be entered
- Create a new key for serverHistory under the client section in settings maybe
client/connectionHistory- Save as a QStringList of valid server name / ip
- Update client options to have a button that will clear the server history
- Clear the list of history, Keep the currently connected server (if any) in the combobox.