Giter Site home page Giter Site logo

Comments (6)

jenweber avatar jenweber commented on June 8, 2024

@locks I'm not sure how to integrate this repo with the Guides, given the Ruby environment. Should I be researching adding JavaScript dependencies/web components to a middleman project? [Edit] So far I'm copying and pasting the build into the Guides, and now working on how to get the component to actually show up with something by hand like this or this.

Sidenote, in the Guides repo, it seems like we would also need to implement the polyfill for Web Components. This is based on the Browser Support section of the glimmer-web-component README.

from glimmer-styleguide.

locks avatar locks commented on June 8, 2024

@jenweber that's basically what I did for development, too. We will need to figure out a proper way to deploy, probably something similar to the builds and the dashboard apps, we can discuss at the weekly meeting.

I think we just need to include the polyfill mentioned in the linked README section?

from glimmer-styleguide.

jenweber avatar jenweber commented on June 8, 2024

Never mind, I completely misread a section of the guides about how to use the app as individual web components. This video was helpful.

@locks Did you manage to display a specific component? Right now I'm rendering the whole Glimmer app like this

from glimmer-styleguide.

jenweber avatar jenweber commented on June 8, 2024

@locks What do you think should be the separation of concerns between the dropdown and the rest of the Guides website? I'm inclined to fire a custom event from the component that says a new version has been selected, and then let the guides catch it and handle what happens in response. In that case, I would access the window.GUIDE_VERSIONS and current_version objects and use them. Thoughts?

I'm going to try to wrap this up this week. Got slowed down by trying to replicate select2's accessibility and keyboard control stuff but it's mostly done.

from glimmer-styleguide.

locks avatar locks commented on June 8, 2024

@jenweber for now the dropdown should do the transition, as it's more trouble than worth to wire up the glimmer component to some JavaScript of the guides to then do the transition.

from glimmer-styleguide.

jenweber avatar jenweber commented on June 8, 2024

closed, any similar components will be done with ember-styleguide

from glimmer-styleguide.

Related Issues (1)

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.