mattermost-plugin-bookmarks
mattermost-plugin-bookmarks copied to clipboard
/bookmarks view --search --filter, --show and --sort options
trafficstars
Currently, the /bookmarks view command just lists all the bookmarks by updateAt time.
/bookmarks view needs to allow showing labels, channel names, and other label types viewing each bookmark. This is likely a formatting decision that needs to be considered when using /bookmarks view
These options can be added to the slash commands for testing and then added as options when the bookmarks UI viewer is created.
Search bookmarks messages and titles when /bm view
Thoughts: Create separate tickets:
- --filter-* options
- --sort-* options
- --show-* options
Filter Options
- [ ] Add all to the README
- [x] #120
--filter-labels "label1,label2"- show bookmarks with only these labels - [ ]
--filter-channels "channel1,channels"- show bookmarks only in these channels - [ ]
--filter-title-text "text"- show bookmarks that include this text in the bookmark title - [ ]
--filter-message-text "text"- show bookmarks that include this text in the post Message - [ ]
--filter-text "text"- show bookmarks that include this text in the post Message OR bookmark title - [ ] `--filter-author "author1,author2" - show bookmarks that contains posts created by only these authors
Sort Options
- [ ]
--sort-reverse- reverse the sorting order - [ ]
--sortby-create-at-date- sort bycreateAtdate, instead of defaultupdateAttime. - [ ]
--sortby-label- sort by (or group by?)label - [ ]
--sortby-channel- sort by (or group by?)channel
Show Options
- [ ]
--show-flagged- show all your flagged posts - [ ]
--show-pinned- Pinned posts are a channel scoped set of posts. Add a method to view and search pinned posts and bookmark the - [ ]
--show-description- include bookmark descriptions inbmarks view - [ ]
--show-deleted- show the bookmarks that were deleted. (will have deleteAt non-zero time)
allow user to create their own aliases for viewing. This would be similar to ls aliases.