elastic / ecs

Elastic Common Schema
https://www.elastic.co/what-is/ecs
Apache License 2.0
1.01k stars 418 forks source link

Redesign field details page #932

Open ebeahan opened 4 years ago

ebeahan commented 4 years ago

Summary:

Improve upon the field set page layout and user experience in the ECS field reference guide docs.

Motivation:

Resources:

Design Proposal:

Continue to provide the table of fields within a fieldset, but include links to free-form text section that allow room for extended descriptions, code snippets, visuals, etc.

Screen Shot 2020-08-14 at 11 25 59 AM
webmat commented 4 years ago

Super excited about this!

The screenshot you've included seems to be about the full page redesign, rather than the plain text section per field set. Not sure if that was intentional?

I very much want these two things, the free form text section and the page redesign. However I think the work could be split in two. I've been envisioning the free form text as potentially a second page per field set, rather than a new section in the same page. If you think this makes sense, it would simplify splitting the work in two. WDYT?

ebeahan commented 4 years ago

Yes - Agree if we separate the pages the work should be split.

I had the two tasks separated initially. I have been leaning towards the single page approach (text section + page redesign simultaneously), but after compiling some thoughts (👇 ) this may the less appealing of the two. I certainly want to avoid introducing any confusion. 😅


Thoughts

Single page

Separate pages

webmat commented 4 years ago

Yes the "free text" docs was always meant to be one (optional) big blob per field set, where we can have illustrations, talk about how fields in the field set relate to each other, and so on.

This will give us the ultimate flexibility in explaining each field set holistically, without being constrained by only having a paragraph per field available to us.

Having these as two distinct pages also has the advantage of keeping one page with the regular structure & constraints, and a companion page that is free form, but doesn't affect the structure of the other page.

webmat commented 4 years ago

We may want to manually sketch the nav on these optional pages, before spending too much time on code.

ebeahan commented 4 years ago

@webmat Sounds good :smile: . I agree we should have a rough mockup ~so~ to discuss before getting into the implementation too much.

I'll edit this issue to better reflect the page redesign, and open a second issue to focus on the free text page implementation.

webmat commented 4 years ago

Awesome, thanks for opening #943!

Perhaps also link to the public google doc brainstorm in the body of this issue?

ebeahan commented 4 years ago

Also noting we should have a direct link to each of the fields to quickly share with users.