Whether to allow drag and drop
Whether to allow multi-select (enables selection mode toggle)
Breadcrumb trail from root to current category
Emitted when the category filter changes
Emitted when a new category should be created
Emitted when a category should be deleted
Category pending deletion
Child categories of the current folder
Emitted when a new dashboard should be created
Emitted after the user confirms a delete. The host deletes the dashboards and does not ask again.
Emitted when a dashboard is opened for editing
Emitted when the user stars or unstars a dashboard on its card
Emitted when dashboards are requested to move to a folder
Emitted when a dashboard is opened for viewing
Whether to include contents when deleting category
Currently dragging dashboard ID
Drop target category ID for drag-over highlighting on category cards
Drop target category ID
Filtered child categories (based on search)
Filtered dashboards based on search and category
Icon of the empty state of a flat list with no dashboards and no search.
Message of the empty state of a flat list with no dashboards and no search.
Title of the empty state of a flat list with no dashboards and no search.
When true, an empty flat list with no search shows the first-run welcome instead.
Icon class for the header
Whether the browser is in loading state
Whether currently in selection mode (checkboxes visible)
New category form values
Current search text
Set of selected dashboard IDs
Whether to show the create button
Whether the create category dialog is visible
Whether the delete category dialog is visible
Whether cards show the favorite star. Turn it on when the host handles DashboardFavoriteToggle.
Whether move-to-folder dialog is visible
Whether the "New" dropdown menu is open
Title to display in the header
Emitted when view mode changes (for persistence)
Emitted when view preference should be persisted
Check if any of the currently selected dashboards can be deleted. Returns true only if at least one selected dashboard can be deleted. Used to enable/disable the bulk delete button in selection mode.
Get the current category (for display)
When true, shows every dashboard in Dashboards in one flat list and ignores
SelectedCategoryId: no folder scoping, no folder cards, the breadcrumb stays at the
root, and new dashboards and categories are created at the root. Search and the
Config-type rule still apply. When false (the default), shows the sub-folders and
dashboards of the selected folder.
Check if we're at the root level
Message shown in the search no-results empty state, echoing the search term.
Get count of selected dashboards
Whether an empty browser shows the first-run welcome: in flat mode when the host asks for it (FlatEmptyWelcome) and there is no search; in folder mode at the root when there are no dashboards at all.
Check if user can delete a dashboard
Check if user can edit a dashboard
The category path a card shows: only in flat mode, where the folder is not otherwise visible.
Clear all filters
Clear search text
Clear all selections
Close the create category dialog
Cancel category deletion
Cancel move
Close the "New" dropdown menu
Confirm category creation
Confirm category deletion
Confirm move to folder
Enter selection mode (show checkboxes)
Exit selection mode (hide checkboxes and clear selections)
Format date for display: "Today", "Yesterday", "N days ago" (under a week), else the local date
Get count of dashboards and sub-categories in a category
Get category name for a dashboard
Gets the list of selected dashboards that can be deleted. Filters out dashboards the user doesn't have permission to delete.
Gets the effective category ID for a dashboard for display purposes. For shared dashboards, this may differ from the actual CategoryID based on the user's DashboardCategoryLink.
Get selected dashboards
Highlight matching search text in a string Returns HTML with tags around matches
True when the dashboard is one of the user's favorites (FavoriteIds).
Check if a dashboard is selected
Check if a dashboard is shared with the current user (not owned)
Navigate into a category folder
Navigate up to parent category
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle drop from breadcrumb component
Handle category filter change
Request to create a new dashboard
Handles a click on a dashboard. Outside selection mode every click opens the dashboard, and a
Shift, Ctrl or Cmd click asks for a separate tab (OpenInNewTab). In selection mode a
Shift-click selects the range from the last dashboard clicked in selection mode (just this one
when there is none yet), a Ctrl or Cmd click toggles the dashboard, and a plain click clears
the selection and opens the dashboard.
Asks the user to confirm deleting one dashboard, then emits DashboardDelete. A click event, when given, does not also reach the row or card.
Optionalevent: EventAsks the user to confirm deleting the selected dashboards they may delete, then emits DashboardDelete.
Handle drag end
Handle drag leave category
Handle drag leave from a category card
Handle drag over category
Handle drag over a category card
Handle drop on category
Handle drop on a category card
Asks the host to edit one dashboard. A click event, when given, does not also reach the row or card.
Optionalevent: EventOpen move-to-folder dialog for selected dashboards
Handle search text change
Emits DashboardFavoriteToggle for the dashboard whose star the user clicked.
Open the create category dialog
The owner text of the dashboard's card (from OwnerLabels), or null for none.
Select all visible dashboards
Toggle the "New" dropdown menu
Toggle selection for a single dashboard
Toggle selection mode
Toggle between card and list view
Track by function for categories
Generic dashboard browser component. Displays dashboards in card or list view with multi-select, filtering, and bulk actions.
This component is GENERIC and has no routing dependencies. All navigation and persistence events are bubbled up for the parent to handle.