codecentric / spring-boot-admin

Admin UI for administration of spring boot applications
Apache License 2.0
12.34k stars 3.08k forks source link

Login form username input default focus #3393

Closed tengcomplex closed 4 months ago

tengcomplex commented 4 months ago

Spring Boot Admin Server information

Version: 3.2.3

Spring Boot version: 3.2.4

Configured Security: Basic auth

Webflux or Servlet application: Servlet

Client information

Any Browser.

Description

In version 2.7 the ui initialized the login form with autofocus on username. In 3.2.3 (presumably since spring boot 3 migration) this is not the case anymore. I couldn't find any reason or discussion where this behaviour maybe was left out on purpose. When using multiple SBA instances in browser tabs, an initial focus on username field can improve the user experience IHMO.

I can see that in login.html of branch 2.7 it sets autofocus for username field. In branch master it seems this is not set anymore.

Steps to reproduce

SteKoe commented 4 months ago

Hi @tengcomplex!

Removing the attribute was not on purpose and has just been added to the login page again. It will be shipped in the next release.

Regards, SteKoe