-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Added a dataSource method to insert custom menu items #1563
Conversation
jsq_didReceiveMenuWillShowNotification restores previous value afterwards
Current coverage is 64.79%
@@ develop #1563 diff @@
==========================================
Files 62 59 -3
Lines 2264 2170 -94
Methods 634 0 -634
Messages 0 0
Branches 136 0 -136
==========================================
- Hits 1506 1406 -100
- Misses 758 764 +6
Partials 0 0
|
hey @eliburke — i decided to merge #1281 and then pushed 8c29756 — this seems like a decent middle ground for 7.x. i definitely want to include your changes here for 8.0 — although, I'd really like to redesign the menu controller stuff completely. it's all sort of "hacked on top" right now. it would be good to contain all this logic in a separate class and have a separate MenuItemDelegate/DataSource (instead of piggy-backing on the messagesDataSource). Thoughts? |
@jessesquires Better half a loaf ... 😆 The #1281 update to JSQMessagesComposerTextView:canPerformAction: appears to have fixed the problem I had with pasting images (for the image attachment PR). If you have a couple minutes to jot down any thoughts about how you'd like to have the MenuItem delegate/data source class work in 8.0 I can get started trying to put something together. Here are some questions off the top of my head:
I can think of a few ways to do this:
|
…iewController * 'master' of https://github.com/jessesquires/JSQMessagesViewController: (86 commits) ImageOptim on assets (jessesquires#1845) update changelog and spec for 7.3.4 Fix issue jessesquires#1583: Don't highlight cell outside message bubble (when long press) (jessesquires#1744) update changelog and version for 7.3.3 Updated `canPerformAction:withSender:` in `JSQMessagesComposerTextView` to call super (jessesquires#1664). Fixes jessesquires#1663. Update CHANGELOG and version nums for 7.3.2 fix KVO crash. close jessesquires#1631 formatting small fix regarding scrollToIndexPath (jessesquires#1642) close jessesquires#1640 Update CHANGELOG.md update CHANGLOG. bump version numbers Reverted jessesquires#1588 to fix jessesquires#1602 and fix jessesquires#1604. (jessesquires#1623) bump version numbers Update CHANGELOG.md provide default init values for JSQMessagesCollectionViewLayoutAttributes to prevent assertion. fix jessesquires#1338 follow up for jessesquires#1247 and jessesquires#1591. obfuscate private APIs. swizzle via +initialize copy attributes clean up fix keyboard hiding bug on iOS 9 (jessesquires#1307). fix jessesquires#1063 - cleanup from PR jessesquires#1281 - fix menu actions, close jessesquires#1321 - make notification methods public - partially apply changes from PR jessesquires#1563 ...
…nch3 * origin/master: (66 commits) ImageOptim on assets (jessesquires#1845) update changelog and spec for 7.3.4 Fix issue jessesquires#1583: Don't highlight cell outside message bubble (when long press) (jessesquires#1744) update changelog and version for 7.3.3 Updated `canPerformAction:withSender:` in `JSQMessagesComposerTextView` to call super (jessesquires#1664). Fixes jessesquires#1663. Update CHANGELOG and version nums for 7.3.2 fix KVO crash. close jessesquires#1631 formatting small fix regarding scrollToIndexPath (jessesquires#1642) close jessesquires#1640 Update CHANGELOG.md update CHANGLOG. bump version numbers Reverted jessesquires#1588 to fix jessesquires#1602 and fix jessesquires#1604. (jessesquires#1623) bump version numbers Update CHANGELOG.md provide default init values for JSQMessagesCollectionViewLayoutAttributes to prevent assertion. fix jessesquires#1338 follow up for jessesquires#1247 and jessesquires#1591. obfuscate private APIs. swizzle via +initialize copy attributes clean up fix keyboard hiding bug on iOS 9 (jessesquires#1307). fix jessesquires#1063 - cleanup from PR jessesquires#1281 - fix menu actions, close jessesquires#1321 - make notification methods public - partially apply changes from PR jessesquires#1563 ...
Hello everyone! I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details: http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/ Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊 Thanks for understanding, |
For issue #1321