Code Monkey home page Code Monkey logo

Comments (5)

nicklambourne avatar nicklambourne commented on June 1, 2024

Hey @kigsmtua, probably some legacy field validation based on a past state of their API. Happy to push through a fix, but I noticed you'd closed this as completed already?

from slackblocks.

kigsmtua avatar kigsmtua commented on June 1, 2024

@nicklambourne I believe I closed this by mistake

from slackblocks.

nicklambourne avatar nicklambourne commented on June 1, 2024

Where did you see the 75 char limit in the codebase? At the time the issue was opened the Text object itself had no length limit but I've subsequently added validation checks for a 3000 char max.

from slackblocks.

kigsmtua avatar kigsmtua commented on June 1, 2024

https://github.com/nicklambourne/slackblocks/blob/master/slackblocks/objects.py#L205-L207 this actually passed in the option object as a 75 char limit, since the description is a text, it should allow upto the max I believe

from slackblocks.

nicklambourne avatar nicklambourne commented on June 1, 2024

https://github.com/nicklambourne/slackblocks/blob/master/slackblocks/objects.py#L205-L207 this actually passed in the option object as a 75 char limit, since the description is a text, it should allow upto the max I believe

The documentation on the Option object from the Slack Blocks API reference lists the limit explicitly:

Maximum length for the text within this field is 75 characters.

So I'm still a bit confused as to what you mean.

Source: https://api.slack.com/reference/block-kit/composition-objects#:~:text=overflow%20menu.-,Maximum%20length%20for%20the,within%20this%20field%20is%2075%20characters.,-No

from slackblocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.