-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature/better-sidebar] Improved sidebar with account-wide search (#β¦
β¦1320) * - update SDK to include OCItem.removed tracking fixes - AccountControllerSearchViewController: new view controller for global search that's accessible from a new top-level sidebar item - AppDelegate, CreateDocumentAction, OpenInWebAction: register settings for OpenInWeb and CreateDocument so they turn up in the auto-generated MDM docs - OCSavedSearch: add support for copying - AccountController.Configuration: remove showQuickAccess and add new variables for new top-level items - SavedSearchCell: add support for new side button that allows setting an action (used for "Add to sidebar") - OCSavedSearch+Interactions: add support for new "Quick Access" search suggestions in AccountControllerSearchViewController - SearchViewController: allow customizing whether cancel buttons are shown or navigation buttons should be hidden - ClientItemViewController: refactor search suggestions list to allow expansion/modification by subclasses * - update SDK to include version tracking change for KVO data source - OCSavedSearch: add uuid and name to .dataItemVersion - OCVault+SavedSearches: add method updateSavedSearch for updating existing saved searches (f.ex. with a different name) - AccountController: - rename searchesFolder to globalSearch to signal the new position in the sidebar - present saved searches directly in the top level of the sidebar - add useFolderForSearches var to allow switching between a flat or folder-based presentation of saved searches in the sidebar - cleanup code - AccountControllerSearchViewController: remove added quick access searches from quick access list, remove entire Quick Access section if all quick access searches were added - SavedSearchCell: use gear-badged folder instead of gear icon for saved searches in the sidebar - CollectionViewController: preserve selection after non-animated snapshot updates - OCSavedSearch+Interactions: add "Rename" action to saved search context menu - ClientItemViewController: fix warning * - update SDK to fix table creation issue * - update SDK - ShareExtensionViewController: auto-open first account if only one account has been created - OCSidebarItem: new class encapsulating custom user sidebar items, conforming to OCDataItem and OCDataItemVersioning - OCVault+SidebarItems: add user side bar item management - AccountController: - add saved searches and user sidebar items to configuration - add user sidebar items integration - BrowserNavigationBookmark+AccountController: add support for sidebar items, refine representationSideBarItemRefs to return more (fallback) references - Action: fix comment an identifier typos - CollectionViewController: - add new method for retrieving the most specific client context for an index path - use new method to provide correct client context for allowDropOperation and performDropOperation - OCLocation+Interactions: add new method for customized access to .openItem() - OCSidebarItem+Cell: adds a cell provider for custom user sidebar items - OCSidebarItem+Interactions: selection, swipe, context menu, drop and navigation restore support for OCSidebarItems - BrowserNavigationBookmark: add sidebarItem property, including archiving/unarchiving * - CollectionViewController/CollectionViewSection: add ability to add a per-section item for section fallback drop interaction handling * - AddToSidebarAction: - only show action if item hasn't already been added to the sidebar - add custom icon with plus badge - RemoveFromSidebarAction: - new action - only show action if item has already been added to the sidebar - add custom icon with minus badge --------- Co-authored-by: felix-schwarz <[email protected]>
- Loading branch information
1 parent
221fa07
commit f387e8b
Showing
41 changed files
with
1,772 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ios-sdk
updated
28 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.