Table Management
Sorting Data in Tables
The plugin provides robust sorting capabilities to help you efficiently manage and analyze pipeline and job data. Sorting allows you to quickly locate specific entries, identify trends, and gain a clearer understanding of your project's status.
Sorting Procedure
Sorting is performed through a simple click-based interface:
Sorting
Each column within the pipeline and job tables is identified by a header (e.g., "Status," "Job Name," "Duration").
Click on the desired column header to sort the table based on that column's data.
The initial click will sort the table in ascending order (e.g., A to Z, 1 to 10, earliest to latest). An upward-pointing arrow will appear in the header to indicate the current sort direction.
A subsequent click on the same header will reverse the sort order to descending (e.g., Z to A, 10 to 1, latest to earliest). The arrow in the header will now point downwards.
The table will immediately reorder itself according to the selected sort criteria.
Sortable Columns
Most columns within the tables are sortable, providing flexibility in how you view your data. The following are examples of commonly sorted columns:
- Status
Group pipelines or jobs by their current status (e.g., failed, successful, running).
- Job Name
Quickly locate a specific job by sorting alphabetically.
- Duration
Identify long-running jobs that may require optimization by sorting by execution time.
- Last Update
View the most recently updated pipelines or jobs at the top of the table.
- Pipeline ID
Arrange pipelines numerically by their unique identifiers. Branch
Organize pipelines or jobs by the branch they belong to.
- User
Sort pipelines by the user who initiated them.
- Stage
Group jobs by their respective pipeline stages.
- Job ID
Arrange jobs numerically by their unique identifiers.
- Ref
Organize jobs by the ref they belong to.
- Coverage
Sort jobs by their code coverage percentage.
Important Considerations
Sort Indicators: The arrows displayed in the column headers are crucial for understanding the current sort order and direction.
Real-Time Sorting: The table dynamically updates its sort order with each click, providing immediate feedback.
Non-Sortable Columns: The "Allow Failure" and "Has Artifacts" columns are not sortable.
Benefits of Sorting
Utilizing the sorting feature offers several advantages:
- Efficient Troubleshooting
Quickly isolate failed pipelines or jobs for investigation.
- Effective Monitoring
Track the progress of ongoing pipelines and jobs.
- Performance Analysis
Identify potential bottlenecks by examining job durations.
- Data Discovery
Find the pipeline or job you are looking for.
By leveraging these sorting capabilities, you can gain valuable insights into your project's pipeline and job data.
Column Reordering: Customizing Your Table Views
The Easy GitLab plugin empowers you to personalize your data views by allowing you to dynamically reorder columns within the various tables, including the Pipelines, Jobs, and Merge Requests tables. This feature provides a flexible way to prioritize the information that is most relevant to your current workflow.
How to Reorder Columns
Column reordering
Click and hold the header of the column you wish to move.
While holding the mouse button, drag the column header horizontally to its desired location within the table.
Release the mouse button to drop the column into its new position.
The table will instantly update to reflect the new column arrangement.
Persistence of Column Order
The plugin remembers your preferred column order across sessions. This means:
When you rearrange the columns, the new order is automatically saved.
The next time you use the plugin, the tables will be displayed with the column arrangement you previously set.
The column order is saved per table.
Column Reordering Limitations
- Visible Columns Only
You can only reorder columns that are currently visible in the table.
- No menu
The column reordering is not available in the table header menu.
Column Visibility: Hiding and Showing Columns
The Easy GitLab plugin allows you to customize the visibility of columns within the Pipelines, Jobs, and Merge Requests tables. This feature lets you focus on the data that's most important to you by hiding columns that are not currently relevant.
How to Hide or Show Columns
Managing column visibility is done through a context menu in the table header:
Right-click on any column header in the table.
A context menu will appear, listing all the available columns for that table.
Toggle Visibility:
Checkmark: A checkmark next to a column name indicates that the column is currently visible.
No Checkmark: The absence of a checkmark indicates that the column is currently hidden.
Click to Toggle: Click on a column name in the menu to toggle its visibility. If it's visible, clicking will hide it. If it's hidden, clicking will show it.
The table will immediately update to reflect the changes in column visibility.
Benefits of Column Visibility Control
Reduced Clutter: Hide columns that are not relevant to your current task, reducing visual clutter and improving focus.
Customized Views: Create personalized views of your data by showing only the columns you need.
Improved Efficiency: Quickly access the information you need without having to scan through irrelevant columns.
Tailored Workflows: Adapt the table layout to suit different workflows or tasks.
Persistence: The user's preferences are saved across sessions.
By using the column visibility feature, you can create a more efficient and personalized experience when working with the Easy GitLab plugin.