Closed Bug 1010981 Opened 10 years ago Closed 8 years ago

Create gaia-viewer web component

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kgrandon, Unassigned)

Details

I think it would be good to create a component viewer to view web component examples inside of shared/elements/*/examples/.

It would be good to be able to test this stuff on a device or in the simulator. This could live as an application inside of the dev_apps folder in which we can install it to either.

Perhaps we could just have a bunch of links to load the various examples inside of iframes.
Hey Wilson - what do you think of this? (Also feel free to steal this if it's something you'd like to implement).

I think this could be pretty handy once we have more than a handful of components.
Flags: needinfo?(wilsonpage)
Yeah I like it! AFAIK currently no easy way to view component example/index.html on device, is there?
Flags: needinfo?(wilsonpage)
Not yet. We would have to bundle the HTML files somehow with the app. I'm guessing the app could have it's own build script to maybe pull in all of the elements? Shouldn't be too complex to write.
Alias: gaia-webcomp-viewer
No longer blocks: gaia-web-components
Summary: Component viewer → Create gaia-viewer web component
Not important anymore.
No longer blocks: gaia-viewer
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.