Skip to content

Comments

feat: update work object types#1533

Merged
vegeris merged 4 commits intomainfrom
feat-work-object-field-types
Nov 18, 2025
Merged

feat: update work object types#1533
vegeris merged 4 commits intomainfrom
feat-work-object-field-types

Conversation

@vegeris
Copy link
Contributor

@vegeris vegeris commented Nov 13, 2025

This PR adds support for the boolean and entity_ref work objects field types, and corrects some properties in the timestamp field type

Category (place an x in each of the [ ])

  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

@vegeris vegeris added the enhancement M-T: A feature request for new functionality label Nov 13, 2025
private String label;
private Integer value;
private String link;
private Icon icon;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These properties weren't valid for this field type

@vegeris vegeris force-pushed the feat-work-object-field-types branch from 0bb01b2 to da3240e Compare November 13, 2025 19:13
@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.89%. Comparing base (dc393d4) to head (3ed55a0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1533      +/-   ##
============================================
- Coverage     72.93%   72.89%   -0.05%     
+ Complexity     4414     4413       -1     
============================================
  Files           477      477              
  Lines         14081    14081              
  Branches       1473     1473              
============================================
- Hits          10270    10264       -6     
- Misses         2937     2944       +7     
+ Partials        874      873       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

@vegeris Superb changesets! I'm a believer in matching the expected upstream values too - thanks for making these changes!

Comment on lines +546 to +547
EntityPayload.CustomField.builder().type("boolean").key("checkbox").label("Checkbox")
.value(true).booleanField(BooleanField.builder().type("checkbox").text("Check the box").build()).build()
Copy link
Member

Choose a reason for hiding this comment

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

🗳️ praise: Nice improvements to these tests once again!

@zimeg zimeg added the project:slack-api-model project:slack-api-model label Nov 17, 2025
@zimeg zimeg added this to the 1.47.0 milestone Nov 17, 2025
@vegeris vegeris requested a review from a team as a code owner November 18, 2025 15:49
@vegeris vegeris merged commit d1fa29f into main Nov 18, 2025
6 of 9 checks passed
@vegeris vegeris deleted the feat-work-object-field-types branch November 18, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality project:slack-api-model project:slack-api-model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants