Giter VIP home page Giter VIP logo

Comments (5)

ahacking avatar ahacking commented on July 26, 2024 1

Which browser are you using? It works just fine for me in Firefox (browser is responsive).

Sorry I intended to provide that in the original report. I was just testing it with Brave which is chromium based.

from doggo.

woylie avatar woylie commented on July 26, 2024

Which browser are you using? It works just fine for me in Firefox (browser is responsive).

from doggo.

woylie avatar woylie commented on July 26, 2024

Safari doesn't have an issue with this either, but Chrome is weak.

from doggo.

woylie avatar woylie commented on July 26, 2024

Anyway, I don't think putting each function component into its own module is reasonable. Maybe phoenix_storybook could be updated to extract the relevant lines from the source code.

I'm planning to make the components customizable in a future version, which would have an impact on the source code display, though, so I don't think it's worth it to think about the module structure of doggo at this point.

from doggo.

woylie avatar woylie commented on July 26, 2024

I'll close this for now. Storybook renders the source code of the whole module where the component is defined. With the new build macros, you will only see the macro calls, which is even less helpful. We'll look into whether we can modify Storybook to allow overriding the default source view. This is tracked separately in #308.

from doggo.

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.