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

improve frontend login dialog #505

Merged
merged 5 commits into from
May 11, 2020
Merged

improve frontend login dialog #505

merged 5 commits into from
May 11, 2020

Conversation

frb121
Copy link
Contributor

@frb121 frb121 commented May 6, 2020

No description provided.

Don't provide an input select field when there is only one DIRD
configured, instead automatically provide the configured DIRD
as default and set the input field to read-only.
@frb121 frb121 marked this pull request as ready for review May 7, 2020 10:47
@frb121 frb121 marked this pull request as draft May 7, 2020 11:33
@frb121 frb121 force-pushed the dev/fbergkemper/master/s4076 branch from 58121bb to c8f3f9f Compare May 7, 2020 12:10
frb121 added 3 commits May 7, 2020 14:42
This commit adds a missing default value to a hidden form element.

It fixes a possible login problem, which could occur when you send login
form data before fetching package update information in the background
finished with success or an error.

Special thanks goes to Alvaro Flaño who reported the issue and also has
put some effort into solving it.
Ensure everything is loaded before we retrieve package update
information via Ajax.
@frb121 frb121 mentioned this pull request May 7, 2020
@frb121 frb121 marked this pull request as ready for review May 8, 2020 09:43
Copy link
Contributor

@franku franku 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, however I would remove the initializer from one positional argument because the code does not handle the null value.

@frb121 frb121 merged commit 79bc0f8 into master May 11, 2020
@frb121 frb121 deleted the dev/fbergkemper/master/s4076 branch May 11, 2020 13:24
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