Skip to content

Conversation

@silacs
Copy link

@silacs silacs commented Feb 5, 2025

No description provided.

@silacs
Copy link
Author

silacs commented Feb 6, 2025

@CondensedMilk7 turned it into a table, I think that commit automatically got added to this pull request too right?

@CondensedMilk7
Copy link
Member

@KostaD02 I get the same errors as @silacs, there's an issue with node-gyp and it might be the case the package-lock got messed up. Maybe try reviewing and testing on your side.

@KostaD02
Copy link
Member

KostaD02 commented Feb 8, 2025

@silacs is it ready for review?

@silacs
Copy link
Author

silacs commented Feb 8, 2025

@KostaD02 yeah, the thing I wanted (possible errors on signup) is ready.
might add errors on other things too, and also interfaces of things, but I don't have time for that for now.

| `"errors.invalid_avatar"` | When avatar url is not a url |
| `"errors.invalid_gender"` | When gender is not `'MALE'`, `'FEMALE'` or `'OTHER'` |
| `"errors.email_in_use"` | When email is already registered |
<!-- | `"errors.teapot"` | When brewing coffee is requested | -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whats the point? would be better without comment.
Preferably to not keep unnecessary code

Copy link
Author

@silacs silacs Feb 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot about that lol, you can remove it before accepting the pr right? I remember I checked some toggle allowing modifications or something like that

i'm not home right now and cant change it myself

should be home by the end of the day though, if you haven't changed it by then, then i will

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great if you update it

Email verification may also be required.
:::

::: info NOTE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo it would be better without alert

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what alert? you mean :::?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the table inside the note could be a little unreadable.

For example this is a note:

image

Copy link
Author

@silacs silacs Feb 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I know, but I built the docs and tested it and it looked fine imo, will show you a screenshot im going home soon

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you screenshot light and dark mode?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Threre will be too many errors and it will be spammed.
Would be better to each endpoint have their own error maping. For example here:
image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats what I'm saying, each endpoint will have their own errors, but Im talking about splitting the endpoints into different categories (different pages) like auth products and cart to be more organized

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seperating and documenting error listings on endpoint-basis is a great idea.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed about it and it will be better if each endpoint will have their own error section not in different page in same place as in screenshot
@silacs

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sure, will start working on it in my free time

@KostaD02 KostaD02 added the documentation Improvements or additions to documentation label Feb 11, 2025
@silacs
Copy link
Author

silacs commented Mar 18, 2025

Just to clarify I haven't forgotten about this and I will still do it, just been really busy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants