mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-30 20:22:54 +08:00
* Unified store behavior, new bookmark model - Added a `Store` protocol to the project with default implementations that should be sufficient for most models. (#855) - Switched images in the notification type category to #imageLiterals, so we can avoid the optionality of the image. * Implemented BookMark ViewModel * Created Bookmark Collection Cell * Created Bookmark View Controller Done: - Displays empty state - Displays bookmarks - Allows for adding of new bookmarks - Navigating to bookmarks In flight: - Clear All TODO: - Search - Cleanup old files & remove SwipeCell hacks * Unified search and clear all behavior The search bar and clear all buttons between the search and bookmarks page had different styles and behavior. This PR: - Makes a generic clear-all header - Gives one to each VC - Makes them behave the same to the user re: visibility etc * Re-implemented filter * Deleted old files * Attributed String Sizing * Removed bookmark store tests * Reloading bookmarks & namespacing Can now reload bookmarks through the listener pattern (#773, #783). Bookmark store is now correctly namespaced again.