Coder Social home page Coder Social logo

Comments (3)

joevaugh4n avatar joevaugh4n commented on April 28, 2024

thank youuu @vanessayuenn !

from storybook.

kasperpeulen avatar kasperpeulen commented on April 28, 2024

@joevaugh4n The only problem is that older storybook's will still use excerpt and not title. So we kind need to make sure that this property keeps being filled with something presentable.

We could change this in the whatsnew endpoint @winkerVSbecks :
https://github.com/storybookjs/dx-functions/blob/aa81b1fa093d94d571f618684888f3a000040c8e/netlify/functions/whats-new.ts#L29-L35

Maybe we can both fill title and excerpt with the blog title. For backwards compatibility?

from storybook.

joevaugh4n avatar joevaugh4n commented on April 28, 2024

cc @winkerVSbecks@kasperpeulen that’s an interesting idea re. changing the What’s New endpoint.

As a short-term fix (even if just for the SB8 release), could we change this so that rather than the excerpt being a dynamic value (as that’s the part that SB shows), we instead hard-code it to replicate whatever we make the SB8 byline/subheading?

e.g. if the SB8 blogpost title ‘Storybook 8’ and the byline is ‘Major compatibility and testing improvements’, could we just change the excerpt value to be ‘Major compatibility and testing improvements’?

If I understand correctly, that would surface irrespective of a user’s Storybook version, right? And it means we don’t need to do more work on this in the short term.

from storybook.

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.