Layer5: [NG] FAQ Page

Created on 4 Jan 2021  路  12Comments  路  Source: layer5io/layer5

Current Behavior

The questions are not differentiated based on active or inactive state at the moment.

Desired Situation

Denote active questions with a color transition (green to grey or vice versa).
[@leecalcote] FAQ Questions need to be updated with appropriate answers.


Contributor Resources
The layer5 repo contains two websites. The current generation and the next-generation of the layer5.io site.

If the layer5-ng label is absent on this issue, then this issue pertains to the current generation of the layer5.io website, which uses Jekyll and GitHub Pages. Site content is found under the master branch.

If the layer5-ng label is present on this issue, then this issue pertains to the next-generation of the layer5.io website, which uses Gatsby, Strapi, and GitHub Pages. Site content is found under the layer5-ng branch.

kinenhancement layer5-ng

All 12 comments

Hey @leecalcote Can I work on this issue .?

Yes, that would be great, @chinmaym07 馃憤

Hey @leecalcote did active here is referred to as when a user clicks on the chosen question , then the background of that question's header block should be changed from green to grey.? Just to verify ...as I cannot see the info about faq in the next gen doc.

Is this should be the required behaviour.?

Peek 2021-01-23 01-20

@chinmaym07 thank you for checking the next gen design specification. That's a good thing to do. And you're right, this isn't defined in there. There is, however, a link to the Figma project where Layer5NG designs are held. This behavior isn't defined in those mockups, either, but you will certainly find those mockups helpful.

What you've here is precisely what's been asked for. This is great. Reflecting on the ask, now that I see the behavior in-action, will you make a tweak to the gray that is used and instead use the Dark Jungle Green color?

Sure .. Thanks a lot for the feedback @leecalcote. 馃榾

@leecalcote Can I open a PR for the same .?

Peek 2021-01-23 01-48

Looks great. Yes, please.

If you鈥檙e up for it, a follow-on need here is the ability to filter on specific categories of FAQs, so that this component may be reused on multiple pages, but only show questions and answers from a specific category on a given page. The approach To doing so would be to add a category property to the FAQ component (the filter doesn鈥檛 need to be user-facing).

Yes sure ..will work on that ... Please list out some of the categories..

Excellent. Actually, the categories will be dynamic based on information in the FAQ data. Currently, there are two, but this is just a text string match that the component property will do to filter and only show questions of a specific category.

Alternatively, GraphQL can be used to query for questions matching a specific category - again, a string match. Example usage:

<Faq category="Meshery" />

Closing with #1409

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aniruddha-Shriwant picture Aniruddha-Shriwant  路  3Comments

Neilblaze picture Neilblaze  路  3Comments

leecalcote picture leecalcote  路  4Comments

navendu-pottekkat picture navendu-pottekkat  路  4Comments

leecalcote picture leecalcote  路  3Comments