Skip to content

Add missing style attribute to RichTextElementParts.Date & friends#1882

Merged
vegeris merged 2 commits into
slackapi:mainfrom
Lexicality:rich-and-stylish
May 29, 2026
Merged

Add missing style attribute to RichTextElementParts.Date & friends#1882
vegeris merged 2 commits into
slackapi:mainfrom
Lexicality:rich-and-stylish

Conversation

@Lexicality
Copy link
Copy Markdown
Contributor

Summary

I noticed that the style attribute was missing when I tried to make a date bold.

Testing

Category

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.signature (Request Signature Verifier)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.models (UI component builders)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.rtm_v2 (RTM client)
  • /docs (Documents)
  • /tutorial (PythOnBoardingBot tutorial)
  • tests/integration_tests (Automated tests for this library)

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

@Lexicality Lexicality requested review from a team as code owners May 29, 2026 07:36
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.12%. Comparing base (078ba76) to head (9a1f5d4).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
slack_sdk/models/blocks/block_elements.py 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1882      +/-   ##
==========================================
- Coverage   84.13%   84.12%   -0.02%     
==========================================
  Files         117      117              
  Lines       13337    13340       +3     
==========================================
+ Hits        11221    11222       +1     
- Misses       2116     2118       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@vegeris vegeris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this update!

@vegeris vegeris merged commit e513558 into slackapi:main May 29, 2026
17 of 18 checks passed
@Lexicality Lexicality deleted the rich-and-stylish branch May 29, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants