Giter Site home page Giter Site logo

Comments (6)

Nevraeka avatar Nevraeka commented on July 23, 2024

@JanMiksovsky any objections to me updating the wiki with some of this information?

from gold-standard.

JanMiksovsky avatar JanMiksovsky commented on July 23, 2024

@Nevraeka Good idea. Thanks for the offer of help.

  • I believe document.registerElement rejects attempts to register custom elements that don't contain a hyphen so, strictly speaking, that point doesn't really need to be covered by the checklist.
  • That leaves the main point of a checklist item about naming to be: prefix your element name with the name of your org, project, element collection, etc.
  • That list of reserved hyphenated names is interesting and good to know, although in practice I doubt many people would try to create elements with those names. And if they're appropriately prefixing their element name (above point), then most of these reserved names will never be encountered at all. (Only a group called "annotation" would want to create an element called "annotation-xml".)
  • I think this new checklist item for naming could go in the Development section. Like the other items there, element naming is more of a style guideline issue than something that could interfere with the component's user experience.
  • All the checklist items have short descriptors. If you agree that prefixing is the crux here, then the item could given a descriptor like, "Prefixed name".
  • My intention is to have the top-level checklist just include a descriptor and single sentence for each item. All other details will eventually go into detail pages — one page for each checklist item. See the interim page for [[Focusable]] for an example.

from gold-standard.

robdodson avatar robdodson commented on July 23, 2024

Hey @JanMiksovsky any update on this? Would you prefer to add this section or do you think it would be better for someone to write up a strawman and we can review it?

from gold-standard.

JanMiksovsky avatar JanMiksovsky commented on July 23, 2024

@robdodson I was trying to give the go-ahead and suggestions so @Nevraeka could do this. I could certainly make the edits myself if necessary — this doesn't look like a big task — but would prefer to have additional people join in as contributors.

from gold-standard.

Nevraeka avatar Nevraeka commented on July 23, 2024

Thanks. I'll add it ASAP

from gold-standard.

Nevraeka avatar Nevraeka commented on July 23, 2024

in progress

from gold-standard.

Related Issues (18)

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.