Name Description Size Coverage
BookmarkFragment.kt The screen that displays the user's bookmark list in their Library. 15056 -
BookmarkItem.kt Items that can be represented in the Bookmarks list. 2474 -
BookmarksAction.kt Actions relating to the Bookmarks list screen and its various subscreens. 7117 -
BookmarksGlobalResultReport.kt A simple type representing different failure modes in the bookmarks feature that need to be reported even after the feature leaves scope. 530 -
BookmarksMiddleware.kt A middleware for handling side-effects in response to [BookmarksAction]s. @param bookmarksStorage Storage layer for reading and writing bookmarks. @param addNewTabUseCase For opening tabs from menus. @param fenixBrowserUseCases [FenixBrowserUseCases] used for loading the bookmark URLs. @param useNewSearchUX Whether to use the new integrated search UX or navigate to a separate search screen. @param openBookmarksInNewTab Whether to load bookmark URLs in a new tab. @param getNavController Fetch the NavController for navigating within the local Composable nav graph. @param exitBookmarks Invoked when back is clicked while the navController's backstack is empty. @param navigateToBrowser Invoked when handling [BookmarkClicked] to navigate to the browser. @param navigateToSearch Navigate to search. @param navigateToSignIntoSync Invoked when handling [SignIntoSyncClicked]. @param shareBookmarks Invoked when the share option is selected from a menu. Allows sharing of one or more bookmarks @param showTabsTray Invoked after opening tabs from menus. @param resolveFolderTitle Invoked to lookup user-friendly bookmark titles. @param getBrowsingMode Invoked when retrieving the app's current [BrowsingMode]. @param saveBookmarkSortOrder Invoked to persist the new sort order. @param lastSavedFolderCache used to cache the last folder you edited a bookmark in. @param reportResultGlobally Invoked when an error occurs that needs to be reported even if the feature goes out of scope. @param lifecycleScope lifecycle bound CoroutineScope scope used to cancel jobs when leaving bookmarks. 35357 -
BookmarksReducer.kt Function for reducing a new bookmarks state based on the received action. 21255 -
BookmarksScreen.kt 89914 -
BookmarksState.kt Represents the state of the Bookmarks list screen and its various subscreens. @property bookmarkItems Bookmark items to be displayed in the current list screen. @property selectedItems The bookmark items that are currently selected by the user for bulk actions. @property sortMenuShown Whether the bookmark sorting menu is shown. @property sortOrder Describes how to sort the bookmark list. @property recursiveSelectedCount the total number of children of the [selectedItems] found in bookmark storage. @property currentFolder the [BookmarkItem.Folder] that is currently being displayed. @property isSignedIntoSync State representing if the user is currently signed into sync. @property openTabsConfirmationDialog State representing the confirmation dialog state. @property bookmarksDeletionDialogState State representing the deletion dialog state. @property bookmarksSnackbarState State representing which snackbar to show. @property bookmarksAddFolderState State representing the add folder subscreen, if visible. @property bookmarksEditBookmarkState State representing the edit bookmark subscreen, if visible. @property bookmarksSelectFolderState State representing the select folder subscreen, if visible. @property bookmarksEditFolderState State representing the edit folder subscreen, if visible. @property bookmarksMultiselectMoveState State representing multi-select moving. @property isLoading State representing if the initial load has completed. @property isSearching State representing if currently in search mode. 10612 -
BookmarksStore.kt A Store for handling [BookmarksState] and dispatching [BookmarksAction]. @param initialState The initial state for the Store. @param reducer Reducer to handle state updates based on dispatched actions. @param middleware Middleware to handle side-effects in response to dispatched actions. @param bookmarkToLoad The guid of a bookmark to load when landing on the edit screen. 1313 -
BookmarksSyncMiddleware.kt 2369 -
BookmarksTelemetryMiddleware.kt 11279 -
BookmarksTestTag.kt 681 -
BrowserToolbarSyncToBookmarksMiddleware.kt [BrowserToolbarStore] middleware that will synchronize bookmarks searches being ended when the toolbar exits search mode. 1593 -
DesktopFolders.kt Map of [BookmarkNode.title] to translated strings. 3946 -
EditBookmarkFragment.kt Menu to edit the name, URL, and location of a bookmark item. 7093 -
PrivateBrowsingLockMiddleware.kt A middleware that supports private browsing mode lock feature on bookmarks screen. If private mode is locked and requires verification to access it, the middleware intercepts private mode related actions and requires verification before allowing them to proceed. @param appStore The [AppStore] containing the state of private mode lock feature. @param requireAuth A callback function that triggers the UI flow to authenticate the user. 2142 -
Utils.kt Provides a lookup table for providing names for root bookmark nodes @param context The [Context] used in resolving strings. 3793 -