Git Product home page Git Product logo

Comments (14)

green-arrow avatar green-arrow commented on May 14, 2024

+1 for a md- prefix.

from ember-paper.

fouad avatar fouad commented on May 14, 2024

I think it'd also make sense to rename repo/bower package to ember-material for compatibility of projects already using ember-paper.

from ember-paper.

chenxsan avatar chenxsan commented on May 14, 2024

I would prefer the paper- prefix, guess md stands for material design and is used as a namespace, but sometimes you would find usages like col-md-10 in Bootstrap grid, it means medium. It would cause a little confuse using md- as a prefix, at least the first time i saw md, i took it for granted as a abbr of medium.

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

Interesting point.

from ember-paper.

green-arrow avatar green-arrow commented on May 14, 2024

I didn't even think of the Bootstrap grid thing. Even if it's not md- for the prefix, I would prefer something shorter than paper-.

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

Maybe this is crazy, but what if we have a default component prefix but allow that to be customizable?
Perhaps not easy to accomplish, but certainly desirable.

How difficult could this be to implement? @stefanpenner

from ember-paper.

fouad avatar fouad commented on May 14, 2024

I like the flexibility, but I think convention over customization is the way to go. Most of the other frameworks' implementations are "material" (e.g. react or angular).

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

@fouad Is the name of the project that important?
I was talking just about the prefix of the components.

from ember-paper.

stefanpenner avatar stefanpenner commented on May 14, 2024

How difficult could this be to implement? @stefanpenner

A user can subclass the resolver and have it re-write paper- -> md-. We do not currently expose this easily to plugin authors, but maybe some future alias feature would be nice.

from ember-paper.

hhff avatar hhff commented on May 14, 2024

perhaps with @lukemelia's component helper Ember PR we could do this

from ember-paper.

hhff avatar hhff commented on May 14, 2024

FWIW i think it would be detrimental to have the prefix be dynamic...

I think it should be standard, as it means if people write plugins or sass themes for Ember Paper, they are drop-in-able rather than drop-in-able-and-find-all-and-replace-able

from ember-paper.

stefanpenner avatar stefanpenner commented on May 14, 2024

FWIW i think it would be detrimental to have the prefix be dynamic...

Yes, agreed. Pick one name md and mitigate the confusion and potential collision of two.

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

That makes sense.
So paper-, material- or md-?

md feels more "standard" than paper and not so long as material.

from ember-paper.

stefanpenner avatar stefanpenner commented on May 14, 2024

I like paper but md is shorter. Ultimately I use auto complete so both are likely the same keystrokes for me :p

from ember-paper.

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.