documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Errors page: list errors in alphabetical order

Open dichotommy opened this issue 2 years ago • 1 comments

The errors on our error page appear not to be ordered in accordance with any rule. It would be nice to put these in alphabetical order so that similar error types are grouped together, and we have an easier time knowing where to add new errors.

If you'd like to open a PR on this, know that it will not be merged until after the release of Meilisearch v0.28 (~11 July).

dichotommy avatar Jun 21 '22 12:06 dichotommy

We could also consider sorting them based on category (indexes, documents, API keys, etc.) and then alphabetical order? E.g., the API keys errors don't all start with api_key, we could have an H2 for API keys and then list each error (H3) alphabetically?

maryamsulemani97 avatar Jun 21 '22 13:06 maryamsulemani97