Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small edits to login.js #305

Merged
merged 3 commits into from
Jul 11, 2021
Merged

Small edits to login.js #305

merged 3 commits into from
Jul 11, 2021

Conversation

notrodes
Copy link
Collaborator

@notrodes notrodes commented Jul 2, 2021

In this vein, either have server send full error text or server side render could be improvements.

@psvenk psvenk self-requested a review July 2, 2021 23:01
Copy link
Member

@psvenk psvenk left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@psvenk
Copy link
Member

psvenk commented Jul 2, 2021

Also @notrodes re your comment: my reasoning for having the server send only an error code was that it plays nicely with the enum defined in the server code and that it allows us to change the verbiage without affecting the API in any way. I don't think the client-side performance hit is enough to merit SSR here (though it may be a good idea all things considered).

@psvenk psvenk added this to the 2.8.2 milestone Jul 2, 2021
@psvenk psvenk merged commit a51187c into Aspine:master Jul 11, 2021
notrodes pushed a commit to notrodes/aspine that referenced this pull request Jul 24, 2021
Removed display hide because js does that now in switch.
Removed a selector with commented out body.

Changed documentation to jsdoc format.

Small edits to login.js (Aspine#305)

* Simplified the login.js file. Reduced logic to single switch.

* Removed txt3 class because it does not exist, css used id reference.

* Removed display hide because js does that now in switch.
Removed a selector with commented out body.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants