Comments (5)
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.
Which browser are you using? It works just fine for me in Firefox (browser is responsive).
from doggo.
Safari doesn't have an issue with this either, but Chrome is weak.
from doggo.
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.
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)
- window splitter
- aria-invalid and aria-errormessage
- replace title attribute with tooltip
- CSS blueprints HOT 5
- Modifier classes don't work well with CSS blueprint design tokens HOT 4
- allow to customize required mark for label
- Modal component don't support native modal mode HOT 1
- define configuration format (keyword list, potentially using NimbleOptions)
- turn components into macros (separate module)
- define `Doggo.default_options/0`
- define `use Doggo`
- add `--module` switch to `mix dog.modifiers` to derive modifier classes from Doggo backend
- dynamically generate storybooks based on backend options
- Demo app hanging. Doesn't come up. HOT 6
- 0.6.0 checklist
- How to render actual source code in Storybook?
- improve required mark for labels
- support passing module attributes to build macros
- Eject stories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doggo.