UI
Principle
We try to keep the UI as simple as possible and reusing all the common artifacts from JetBrains, this should make the plugin working well with all the possible themes, if the icon keep similar style.
We don't introduce any new icon, except for the plugin icon and we keep the default styling for fonts and color, this could make the plugin working both in dark and light mode.
Shortcuts
In the editor the common shortcuts are used and the active shortcut are shown in the contextual menu of the action.
Pipeline, Job and Merge Request tables support copy, with Ctrl+C command, the URL of the pipeline is copied in the clipboard for easy access in Gitlab UI, same result can apply using the world icon.
Drag & Drop
Is possible to drag and drop image in comments and in MergeRequest, usual format are supported, but depends on the authentication in Gitlab is possible that the link in the preview is not visible. This because Gitlab doesn't provide any good API to download images, so far.
Infinite scrolling
Scrolling down on tables, like Pipelines the new entry will be added on reaching the end, instead of load the full table. This in the consideration that usually the developer is interested on the latest pipeline and not some hundred pipeline ago, if not for specific task (e.g. start a manual step in a deploy pipeline)
Search
Most of the components are searchable, so it's possible to do search in the table/tree/etc. just pressing Ctrl+F
Caching
Most of the static data, as:
labels
issue
project members
are cached for several hours, in order to make the UI faster, the slowdown could be pretty noticeable on big Gitlab installation with hundreds of Users and Labels configured.
In the plugin menu on the right (the triple dot) is possible to force refresh of the cached data.
These are the current hard limit in the plugin:
data | fetch | refresh rate |
|---|---|---|
Users | All Project members | 12 hours |
Labels | 2000 | 12 hours |
Issue | 2000 | 1 hour |
Jobs | 100 per pipeline | 30 seconds |
The limit are hardcoded, if changes are needed please raise an issue.