Code Monkey home page Code Monkey logo

Comments (10)

Sivli-Embir avatar Sivli-Embir commented on May 22, 2024

👍

from meteor-blaze-components.

offthegrass avatar offthegrass commented on May 22, 2024

There's an open-source meteor package search powered by Algolia. (Angolia has a free plan for community projects)

I made a quick fork and prefixed the query with blaze component.

It works pretty well. We could just manually omit packages from the results if they aren't blaze components.

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

This looks cool. How could we detect which packages are not Blaze Components?

So one idea is as I described in meteor/meteor#4267, allowing people to add some custom metadata.

How could we show the preview of the component? What I imagine is that it should be a package explorer, but component explorer. So if a package provides multiple components, all components should be listed as a search result. So search results would be two columns. Left one would be preview. And the right one would be short instruction how to use it (which package to add, what is the name of component to include in the template/name of the component class/exported symbol).

How we could do such previews? Load all packages and render them? Put them into iframes and publish for each a simple Meteor app which just render a preview of a component?

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

Or maybe just ask component developers to provide a screenshot. :-) And a possible link to a demo app.

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

I made this simple site: http://components-explorer.meteor.com/ :-)

from meteor-blaze-components.

offthegrass avatar offthegrass commented on May 22, 2024
    'dependencies.peerlibrary:blaze-components':
      $exists: true

nice!

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

We should probably do such search recursively (so packages which depend on packages which depend on peerlibrary:blaze-components), but it is OK for now. :-)

Also, probably not all packages will provide components.

We should find a way now to describe which components are in the package. Maybe we could simply have a standard format one should use in README file before first and second heading which is then parsed by Meteor?

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

offthegrass:testing123

Skeptic! :-)

from meteor-blaze-components.

offthegrass avatar offthegrass commented on May 22, 2024

very cool. I'm wrapping all my components in packages anyway, but yes you're right.

I'll think some more about it tonight.

from meteor-blaze-components.

mitar avatar mitar commented on May 22, 2024

Current code for explorer: https://github.com/peerlibrary/meteor-blaze-components-explorer

from meteor-blaze-components.

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.