deskflow/deskflow

Remember previously used server addresses (hostnames and IPs)

Open

#8,114 建立於 2025年1月20日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)C++ (4,581 fork)batch import
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.

Image

Edit: This feature should work as follows

  1. The object lineHostname should be an editable combo box renamed to cbHostname
    • 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
  2. Create a new key for serverHistory under the client section in settings maybe client/connectionHistory
    • Save as a QStringList of valid server name / ip
  3. 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.

貢獻者指南