-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advance RFC #0811 "Element Modifiers"
to Stage Recommended
#934
Conversation
For highlighting: The main thing is that we don't use handlebars. So updating handlebars parsers is 😬
Here is my syntax cheatsheet that uses highlight.js: https://cheatsheet.glimmer.nullvoxpopuli.com/docs/templates SupportEditors:
Web highlighting: |
At emberjs/rfcs#934 we're tracking an effort to implement the RFC emberjs/rfcs#811. In that RFC (at https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#how-we-teach-this) there are two things which are suggested for documentation in the guides: * Update references that mention `ember-modifier` must be installed, since it ships in the default blueprint (confirmed at https://github.com/ember-cli/ember-new-output/blob/master/package.json#L50) * Introduce the class-based modifier API. In this PR I've linked to the upstream documentation at https://github.com/ember-modifier/ember-modifier#usage to execute on that suggestion. I don't believe we need to laborously explain the class-based APIs to guides readers, it just distracts from some otherwise straight-forward use cases and examples.
I've drafted a guides update for this RFC at ember-learn/guides-source#1946. I think pending approval on that repo, it would satisfy the checkbox here for guides documentation. |
At emberjs/rfcs#934 we're tracking an effort to implement the RFC emberjs/rfcs#811. In that RFC (at https://github.com/emberjs/rfcs/blob/master/text/0811-element-modifiers.md#how-we-teach-this) there are two things which are suggested for documentation in the guides: * Update references that mention `ember-modifier` must be installed, since it ships in the default blueprint (confirmed at https://github.com/ember-cli/ember-new-output/blob/master/package.json#L50) * Introduce the class-based modifier API. In this PR I've linked to the upstream documentation at https://github.com/ember-modifier/ember-modifier#usage to execute on that suggestion. I don't believe we need to laborously explain the class-based APIs to guides readers, it just distracts from some otherwise straight-forward use cases and examples.
I think this still needs a champion who can sort through the remaining work and bring a summary to the RFC review. If, for example, we think current syntax highlighting is good enough, let's just get the status and decide what we actually want to do to call this recommended. |
We released This will work for the guides but not the API docs yet |
Status update here: we still need ember-inspector support. The other stuff (updating docs infra, adding content to guides) has happened. |
What does "ember-inspector support" entail? Is this written down somewhere? It would be great to have a list of minimal features it should support to pick up this work. |
Atm the component view in the inspector only shows components, and i think we need to expand in to show (almost) every type of thing. |
RFC review meeting was discussing the inspector requirement here and it's not clearly a blocker for recommended. The inspector already doesn't have any way to reflect helpers in the DOM, so it's not clear that it has a logical place to reflect modifiers either. Opening an issue on inspector to discuss what an updated design would look like seems sufficient. |
Created an issue here emberjs/ember-inspector#2541 |
Advance #811 to the Recommended Stage
Summary
This pull request is advancing the RFC to the Recommended Stage.
An FCP is required before merging this PR to advance.
Recommended Stage Summary
The "Recommended" stage is the final milestone for an RFC. It provides a signal to the wider community to indicate that a feature has been put through its ecosystem paces and is ready to use.
To reach the "Recommended" stage, the following should be true:
If appropriate, the feature is integrated into the tutorial and the guides prose. API documentation is polished and updates are carried through to other areas of API docs that may not directly pertain to the feature.
If the proposal replaces an existing feature, the addon ecosystem has largely updated to work with both old and new features.
If the proposal updates or replaces an existing feature, high-quality codemods are available.
If needed, Ember debugging tools as well as popular IDE support have been updated to support the feature.
If the feature is part of a suite of features that were designed to work together for best ergonomics, the other features are also ready to be "Recommended".
Any criteria for "Recommended" for this proposal that were established in the Ready For Release stage have been met.
An FCP is required to enter this stage. Multiple RFCs may be moved as a batch into "Recommended" with the same PR.
Checklist to move to Recommended
Final Comment Period
label has been added to start the FCPCriteria for moving to Recommended (required)
A set of criteria for moving this RFC to the Recommended Stage, following release:
Update ember-inspector to understand modifiers.