nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 185 forks source link

[BUG] Confusing wording re: "username" on login page #52

Closed hendersonreed closed 4 years ago

hendersonreed commented 4 years ago

Describe the bug

This may just be an opinion, but I think to use the term "username" on the login page is confusing when the application is stateless and doesn't have accounts. This initially confused me as I looked for documentation on creating user accounts. I also think it makes it harder for new users who might be given a link to Neko without explanation that the username field can be whatever they choose.

Expected behavior

Instead, I would propose that we change the login page and internal code relating to the username to use the term "nick" or "display name", unless a roadmap some place includes adding discrete user accounts in the future.

I'd be happy to make a PR myself - I'm not familiar with Vue, but I have a little Javascript experience and figure I could work it out.

nurdism commented 4 years ago

Changing it to display name is a great idea

hendersonreed commented 4 years ago

Cool, I'll make a PR - can't guarantee when I'll have it done. Any idea on if it will be simple as just a search and replace on the whole codebase?

GigaFyde commented 4 years ago

Personally I would only change the login box to not unnecessarily break the rest of the codebase.

hendersonreed commented 4 years ago

Ah, OK! That's reasonable enough then, I can get that done for sure, even with my limited Javascript knowledge :) Thanks, I'll get the PR to you in a bit.

GigaFyde commented 4 years ago

The file you're looking for is client/src/components/connect.vue

nurdism commented 4 years ago

9c6fd96