Skip to content

Improve database management in the UI #318

@adityasharad

Description

@adityasharad

Is your feature request related to a problem? Please describe.

  • When I have multiple CodeQL databases open in the Databases tree view in the workspace, it is difficult to organise them, rename them, or see where they live on the filesystem.
  • This is particularly frustrating if I have multiple databases for the same project but different target languages that were all downloaded from an LGTM instance: by default, the name of the database directory is always projectname_sha, which makes them impossible to distinguish by language. The current workaround is to remove them from the workspace, rename them on the filesystem, and re-add them.

Describe the solution you'd like

  • For any database in the workspace, I can navigate to its filesystem location using a command in the right-click or Command Palette menus (similar to Open Containing Folder in the Explorer view).
  • For any database in the workspace, I can rename or annotate the database name in the UI. (I don't have a strong preference about whether this should also rename the folder on the filesystem.)
  • Databases in the UI have a marker telling me the target language.
  • I can sort the list of databases in the UI alphabetically or chronologically.

Describe alternatives you've considered
Current workaround is manual renaming, which is clunky once the user has already imported the database.

Additional context
This is quite a large set of suggestions under a single theme: happy to split it up.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions