-
Notifications
You must be signed in to change notification settings - Fork 850
feat: add task_card and plan blocks #1819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: zimeg-feat-ai-apps-chunks-streamer
Are you sure you want to change the base?
feat: add task_card and plan blocks #1819
Conversation
zimeg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📣 Leaving a quick note of thoughts occurred in development!
slack_sdk/models/blocks/blocks.py
Outdated
|
|
||
| from slack_sdk.models import show_unknown_key_warning | ||
| from slack_sdk.models.basic_objects import JsonObject, JsonValidator | ||
| from slack_sdk.models.messages.chunk import URLSource |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 thought: This is introduced in #1806 but I'm not certain if it's best kept with the "messages" model or if it should be included as a block element?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗣️ note: In 6073ffe it's moved to the block elements - the url source can be used in standalone messages as well as in chunks.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## zimeg-feat-ai-apps-chunks-streamer #1819 +/- ##
======================================================================
+ Coverage 83.93% 83.96% +0.03%
======================================================================
Files 116 116
Lines 13192 13212 +20
======================================================================
+ Hits 11073 11094 +21
+ Misses 2119 2118 -1 ☔ View full report in Codecov by Sentry. |
Summary
This PR adds the
task_cardblock and theplanblock for usage in standalone messages.Testing
The following snippet shows a
task_cardblock:And this one shows a
planblock:Category
/docs(Documents)tests/integration_tests(Automated tests for this library)Requirements
python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.shafter making the changes.