Important links
Overview
Along with the new copilot access controls, we need a mechanism to more easily set the context of a channel and summarize a channel’s content without having to use the new message line button.
...
Choose bot to summarize - shows if multiple bots are configured
Summarize unreads - opens the Copilot RHS with a summary of unread messages in the channel (same behavior as current new message line capability)
Summarize last 7 days - opens the Copilot RHS with a summary of all messages from the last 7 days in a nicely formatted section with highlights and action items (if there are any)
Summarize last 14 days - Same as last 7 days, but increases scope to 14 days
Ask copilot - opens the the Copilot RHS, setting the context to the channel and starts with 'What would you like to know about the {Channel name} channel?
We will need some guardrails in place to limit how much context we allow here (e.g. max 180 days of history or max XX messages?)
...
Selecting a custom date range
...
If no bots configured: This button will not show in the channel header
If user does is blocked from any of the configured all bots: This button will not show in the channel header
If no bots have been granted access to the channel: This button will not show in the channel header