Skip to content
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

Decide what to do about the i18n pages #90

Open
r12a opened this issue Oct 2, 2017 · 2 comments
Open

Decide what to do about the i18n pages #90

r12a opened this issue Oct 2, 2017 · 2 comments

Comments

@r12a
Copy link

r12a commented Oct 2, 2017

[This is probably relevant to WAI and other horizontal activities, and maybe more groups.]

Back in March i fleshed out a draft for i18n requirements. Basically it reproduces the page at https://www.w3.org/International/layout. Here's the link

https://r12a.github.io/media-web-roadmap/i18n/index.html

Here's what i said at the time:

It would probably be one of a small number of pages related i18n pages. Another would be dedicated to spec developer and implementer support. A third to content developer education. Note that we include docs by groups other than i18n WG.

Novelties:

  • use of headings to group stuff by topic, rather than by maturity of specs

  • green progress images, used for evergreen 'reference' documents, ie. docs that are constantly changing but are fully useable right now.

  • orange progress images to signify docs with a NOTE end point.

  • progress steps for NOTEs include ED, FPWD, Early WD, WD, NOTE

  • use of the right most column for additional links: the github repo points to where to find task force related info, the editor's draft is useful in addition to the TR link.

The education page should throw up some more deviations from the current standard,

There's a response to this from Francois on a non-public repo (https://github.com/w3c/team-strat/issues/43#issuecomment-285656996).

Since the roadmap concept is gaining momentum again, i'd like to discuss what to do wrt i18n pages.

@tidoust
Copy link
Member

tidoust commented Oct 25, 2017

Just reproducing my comments here as they don't need to appear in a non-public repo:

use of headings to group stuff by topic, rather than by maturity of specs

The framework tool does not assume a particular set of headings or structure. What it assumes is that:

  • You want a table at the end of a section that lists set of features (identified with a featureset class name). That assumption seems to work in your case.
  • Such a section will have a class name that identifies the table's template to use. Right now, the known class names are well-deployed, in-progress and exploratory-work. More can be added. Each table template specifies the columns to render. In your case, this mechanism would work, although you may argue that the actual class names are not that good for you. I'm happy to adjust that list as needed.

green progress images, used for evergreen 'reference' documents, ie. docs that are constantly changing but are fully useable right now.

OK, the question this triggers for me is: "does maturity really mean something here?". Also, this "evergreen" information would need to be manually entered in the description of the feature. This is already envisioned, see https://github.com/w3c/media-web-roadmap/issues/6

orange progress images to signify docs with a NOTE end point.

I'm fine with a different color. Doesn't "orange" convey a sense of incompletion, though? The tool should be able to gather the "expected to become a Rec" or not information automatically to select the appropriate color otherwise.

progress steps for NOTEs include ED, FPWD, Early WD, WD, NOTE

Hmm, what does "Early WD" mean? In my mental model, I would put it before FPWD. Also, how could the framework automatically detect whether a document is an early WD or a WD?

use of the right most column for additional links: the github repo points to where to find task force related info, the editor's draft is useful in addition to the TR link.

That seems good to me. This info can be automatically retrieved, with the exception of the Japanese version of the "Requirements for Japanese Text Layout" document, which would need to be specified somehow in the description of the feature. I can easily imagine a system where, at the roadmap level, you specify (in some settings file or JS object) what you'd like to see in the column.

All in all, this suggests more flexibility in the way one can specify the table structure, which sounds needed in any case.

tidoust added a commit to tidoust/media-web-roadmap that referenced this issue Oct 29, 2017
This update gets rid of the HTML table templates that did not serve any useful
purpose, since the logic that goes with a table needs to be implemented in
the code one way or the other. Said differently, the code needs to know the
structure of the tables it is to generate, so hiding that structure in an HMTL
template is useless and error-prone.

The table column headers now need to appear in translation files in a `columns`
property (see `translations.json` for reference).

The types of tables and the columns to display for each of them can now be
customized on a roadmap per roadmap basis, in the `toc.json` file, in a
`tables` property that lists the columns to use per type of table. This
mechanism can be used to override the default tables or to create new types
of tables.

For instance, to add the "group" column to the columns generated in
"well-deployed" sections, one can simply add the following to the `toc.json`
file:

```json
{
  "tables": {
    "well-deployed": ["feature", "spec", "group", "maturity", "impl"]
  }
}
```

I created a new "versions" type of column, which should eventually become what
@r12a needs in w3c#90 (not quite the case now because the framework does not
yet know how to gather the Editor's Draft and the GitHub repo of a spec)
tidoust added a commit that referenced this issue Oct 29, 2017
This update gets rid of the HTML table templates that did not serve any useful
purpose, since the logic that goes with a table needs to be implemented in
the code one way or the other. Said differently, the code needs to know the
structure of the tables it is to generate, so hiding that structure in an HMTL
template is useless and error-prone.

The table column headers now need to appear in translation files in a `columns`
property (see `translations.json` for reference).

The types of tables and the columns to display for each of them can now be
customized on a roadmap per roadmap basis, in the `toc.json` file, in a
`tables` property that lists the columns to use per type of table. This
mechanism can be used to override the default tables or to create new types
of tables.

For instance, to add the "group" column to the columns generated in
"well-deployed" sections, one can simply add the following to the `toc.json`
file:

```json
{
  "tables": {
    "well-deployed": ["feature", "spec", "group", "maturity", "impl"]
  }
}
```

I created a new "versions" type of column, which should eventually become what
@r12a needs in #90 (not quite the case now because the framework does not
yet know how to gather the Editor's Draft and the GitHub repo of a spec)
tidoust added a commit to tidoust/media-web-roadmap that referenced this issue Jun 21, 2018
Features initially proposed in w3c#90.

W3C specs are automatically flagged as informative when they contain only
informative content or when they will be (or have been) published as a Note.

Specs can also be flagged as "evergreen", which means that, regardless of their
exact status on the Rec-track (or elsewhere), they can be considered fit for
reference. This is roughly equivalent to the notion of a Living Standard in
WHATWG.

These settings are used to adjust the maturity icon being rendered. Notably:
- regardless of their exact maturity status, evergreen specs use a green "REF"
(for "Reference") icon.
- informative icons are in dark grey to convey the fact that the spec does not
define normative content.

Note these colors do not match those proposed in the initial issue. This can be
adjusted later on if needed.
xfq pushed a commit that referenced this issue Jun 21, 2018
Features initially proposed in #90.

W3C specs are automatically flagged as informative when they contain only
informative content or when they will be (or have been) published as a Note.

Specs can also be flagged as "evergreen", which means that, regardless of their
exact status on the Rec-track (or elsewhere), they can be considered fit for
reference. This is roughly equivalent to the notion of a Living Standard in
WHATWG.

These settings are used to adjust the maturity icon being rendered. Notably:
- regardless of their exact maturity status, evergreen specs use a green "REF"
(for "Reference") icon.
- informative icons are in dark grey to convey the fact that the spec does not
define normative content.

Note these colors do not match those proposed in the initial issue. This can be
adjusted later on if needed.
tidoust added a commit to tidoust/media-web-roadmap that referenced this issue Jun 22, 2018
The framework can now render a "See also" column that contains useful links to
resources related to the specification, notably:
- a link to the Editor's Draft
- a link to the repository that contains the Editor's Draft
- specific links defined in the description of the spec.

The "See also" column is only rendered in the (currently unused) `versions`
type of summary table. The exact links that need to be rendered can be
customized in the `toc.json` file. The README explains how to customize the
summary tables.

See related need expressed in w3c#90

NB: The framework more or less already supported a `versions` column but that
wasn't flexible enough, and name seemed badly chosen.
tidoust added a commit that referenced this issue Jun 24, 2018
The framework can now render a "See also" column that contains useful links to
resources related to the specification, notably:
- a link to the Editor's Draft
- a link to the repository that contains the Editor's Draft
- specific links defined in the description of the spec.

The "See also" column is only rendered in the (currently unused) `versions`
type of summary table. The exact links that need to be rendered can be
customized in the `toc.json` file. The README explains how to customize the
summary tables.

See related need expressed in #90

NB: The framework more or less already supported a `versions` column but that
wasn't flexible enough, and name seemed badly chosen.
@tidoust
Copy link
Member

tidoust commented Jun 25, 2018

@r12a I believe the framework now supports most of the features you requested, although with a couple of nuances. Looking back at your initial list:

use of headings to group stuff by topic, rather than by maturity of specs

That was already possible. You can group stuff whichever way you want. To create custom summary tables at the end of these sections, check Customizing summary tables.

green progress images, used for evergreen 'reference' documents, ie. docs that are constantly changing but are fully useable right now.

In the description of the spec, you can now add an evergreen flag to assert that the spec is an evergreen "reference" document. The framework will use that information to render a specific REF maturity icon, that looks like the Living Standard one (and is now green). Note that if the spec is informative in essence, the icon will be dark grey, see below.

orange progress images to signify docs with a NOTE end point.

I settled on dark grey instead of orange to convey the fact that a spec is "informative", because orange suggests the spec is not final, at least for me. A spec is informative if it only contains informative content or if it has a NOTE endpoint. The information is automatically extracted from the W3C API for W3C specs. For other documents, use the informative flag in the spec description.

Note dark grey is also used for evergreen specs that are informative (so they won't show in green).

progress steps for NOTEs include ED, FPWD, Early WD, WD, NOTE

That is not done because:

  1. The W3C API does not make any distinction between FPWD and WD (although we could probably assert that a doc is a FPWD when it does not link to a previous published version). Also, I'm not clear why we'd want to make the distinction between FPWD and WD in a roadmap. What is the use case?
  2. I do not know what an "Early WD" is and do not know how to determine that a spec is an "Early WD" automatically.

If you feel that's still needed, please clarify!

use of the right most column for additional links: the github repo points to where to find task force related info, the editor's draft is useful in addition to the TR link.

While not enabled by default, you can tell the framework to render a seeAlso column in summary tables, see Customizing summary tables. Depending on how you define it, that column may render a link to the Editor's Draft and the repository (the framework determines what these links are automatically in most cases), as well as custom links that you may have defined in a seeAlso property in the description of the spec (see JSON format for describing specifications).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants