Closed Bug 1188751 Opened 9 years ago Closed 6 years ago

Add template for general info about DOM events

Categories

(Developer Documentation Graveyard :: Macros/Templates, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: sebo, Unassigned)

References

Details

(Whiteboard: [specification][type:feature])

What problem would this feature solve?
======================================
Manual editing of list of items.
Move specification information out of the list. (This can also be independently from this change.)

Who has this problem?
=====================
All contributors to MDN

How do you know that the users identified above have this problem?
==================================================================
-

How are the users identified above solving this problem now?
============================================================
Manually edit the data list.

Do you have any suggestions for solving the problem? Please explain in detail.
==============================================================================
The related data needs to be added to the CSSData JSON and the template should make use of it.
The output should look like the one from the 'cssbox' template.

Is there anything else we should know?
======================================
(In reply to Sebastian Zartner [:sebo] from comment #0)
> The related data needs to be added to the CSSData JSON and the template
> should make use of it.

Adding it to 'CSSData' is of course nonsense. A new template 'DOMEvents' should be added for this purpose with a similar structure as 'CSSData'.

Sebastian
Component: General → Wiki pages
Yes, this is something we want to do.
Component: Wiki pages → General
Product: Mozilla Developer Network → Developer Documentation
Note that we also need to group them in a JSON DB: that way we can build sidebar automatically to link to related events.

We can also use these to improve API sidebars to list events that can be targeted at a given interface.
Depends on: 1188838
Component: General → Macros/Templates
We're moving away from data macros (and generally from KumaScript) as much as possible.

If we want to expose certain type of data, it should be filed under mdn/data or other repos. Also, It might be worth discussing a plan on discourse first (with details on what data structure to expose), before filing implementation bugs. Closing here.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.