CharlesSkelton / studio

Studio for kdb+ / Rapid execution environment for q
Apache License 2.0
94 stars 61 forks source link

dz.2: Server List position/Server tree/Load old Config format/Toggle tree/list in Server List/Settings: hide server drop down #16

Closed dzmipt closed 4 years ago

dzmipt commented 4 years ago

1) Persist position and size of Server List frame

Server List window appears in the same place where it was closed previous time in the Studio window. In a new Studio window, Server List will be opened with the same size and the same location relative to the top left corner of the Studio window. If Server List can't be fit into the screen with the described algorithm, it will be opened with default position ans size. Relative location and size of Server List is persited into config file.

2) Server List is now tree like

Hierarchy for servers is added. By default (from Add Servers menu), servers are added into the top level into the end. Server List window has popup menu for adding new folders and for adding servers into folders. It is possible to have servers with the same name but wiht different parent folder. Server name (in menu, title, server selection combobox) is replaced with full server name (folder with server name joined with /). Format of config file is changed. Support of loading config in the old folder will be added later.

3) Convert old format to new format with server tree

Upgrade version in Config to 1.2. During the first start up with old config (with version 1.1), old format is converted to new format 1.2 and saved to disk.

4) Server List: switch between tree and list like view

A toggle button is added to a tool bar in Server List. In a list view, all servers are displayed with full path.

5) Settings: adding an option to remove server drop down list from the toolbar

Server drop down list in the toolbar can be optionally hidden. The option is added to the Settings menu. The option is persisted in the Config.