Skip to content

Use alphabetical order for techniques, recipes and FAQ menu items #2108

@micalevisk

Description

@micalevisk

I'm submitting a...

  • Regression
  • Bug report
  • Feature request
  • Documentation issue or request (new chapter/page)
  • Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

The menu items are sorted in a way that is easy the follow. I know there are couple sections that sorting alphabetically doesn't make sense like OVERVIEW and WEBSOCKETS. But there are ones that the alphabetical order does make sense and will improve UX.

I think it would be cool if the following items are sorted alphabetically:

  • Techniques
  • Recipes
  • FAQ

I know keeping both sorting seems to be inconsistent but as long there's no "next"/"previous" buttons, I think we can keep that.

Expected behavior

The following sections must be in alphabetical order

techniques

before after
techniques-bad-ordering techniques-right-ordering

recipes

before after
recipes-bad-ordering recipes-right-ordering

faq

before after
faq-bad-ordering faq-right-ordering

I guess we just need to change the following file

export class MenuComponent implements OnInit {

What is the motivation / use case for changing the behavior?

Every time I want to go TECHNIQUES menu, I need to read the whole list of items just because they aren't sorted alphabetically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions