Depending on the complexity of your infrastructure, the size of your team, your particular needs and your preferred way of working you may end up managing a lot of stacks. This obviously makes it harder to quickly find what you're looking for. As practitioners ourselves, we're providing you a few tools to make this process more manageable - from the basic query-based searching to filtering by status and the coolest of all, label-based folders.
Query-based searching and filtering»
Historically the first tool we offered was the search bar:
The search bar allows you to search and filter by the following stack properties:
- ID (slug);
- any of its labels;
Note how the search phrase is highlighted, and irrelevant stacks are filtered out:
Filtering by status»
Filtering stacks by status is a very useful mechanism for identifying action items like plans pending confirmation (unconfirmed state) or failed jobs that require fixing. For that, use the Filter stacks by status section on the sidebar to the left. If you click on any of the statuses, the list of stacks will be filtered to only include stacks with a given status:
Note that if no stacks in the account have a particular status at the moment, that status is missing from the list.
Probably the most useful way of grouping stacks is by attaching folder labels to them. You can read more about labels here, including how to set them, and folder labels are just regular labels, prefixed with
folder:. In order to make it more obvious in the GUI and save some screen real estate, we replace the
folder: prefix by the folder icon...
...but once you start editing labels, the magic is gone:
For every folder label, a sidebar section is included in the Folders menu, allowing you to search by that label. The number to the right hand side indicates that number of stacks with that label:
Nesting and multiple folder labels»
Perhaps worth mentioning is the fact that folder labels can be nested, allowing you to create either hierarchies, or arbitrary classifications of your stacks.
Also, a single stack can have any number of folder labels set, in which case it belongs to all the collections. In that, folder labels are like labels in Gmail rather than directories in your filesystem.
Saving filters in views»
It is possible to save your filters with a Filters Tab. You can select all the filters that you would like to apply, add a search query or sorting in the top right corner, click New View, enter the view name, and click Save. This view is now saved for this account. You can also mark your new view as your default view during creation. Next time you log in or navigate to stacks, your personal default view will be applied.
If you forgot to mark your view as default then you can easily do the same thing in the Views Tab.
Views can be shared or private. While first creating the view, it is available only to your user. If you have admin access, you can make it public for all the users of the account by hovering over the saved view and clicking the small eye icon "Share within account". This way, all the users within this application can see the saved view and who created it.
To quickly reset your default view to Spacelift default state, click the "Reset to Spacelift default view" button. It will result in clearing all sorting, search, and filter parameters, as well as managed filter settings.
- If you change your filter, search and/or sorting settings, you can update the currently selected view by clicking on Update item under "Manage view" button. The blue icon on the manage view button indicates an update possibility.
- Edit name allows editing name of the current view
- Delete allows removing your private view (Shared and Spacelift default views can not be removed). You can delete the view from the Views tab as well.