[ 
https://issues.apache.org/jira/browse/KNOX-3506?focusedWorklogId=1046108&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1046108
 ]

ASF GitHub Bot logged work on KNOX-3506:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Oct/26 09:04
            Start Date: 07/Oct/26 09:04
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #1445:
URL: https://github.com/apache/knox/pull/1445

   … displayed
   
   [KNOX-3506](https://issues.apache.org/jira/browse/KNOX-3506) - Knox default 
login page flashes before modern login page displayed
   
   ## What changes were proposed in this pull request?
   
   The login page painted the classic dark theme before the modern theme 
applied. Root cause: a script-inserted `<link rel=stylesheet>` is not 
render-blocking (only parser-created ones are), and the theme request was 
queued behind jQuery.
   
   - `login.html` — theme loader moved above jQuery (theme CSS requested at 15 
ms instead of 1027 ms); document cloaked until the theme stylesheet resolves, 
revealed on load/error/1.5 s timeout so a 404 or CSP block can never leave a 
blank page.
   - `knox.css / login.html / logout.jsp` — sign-in box centred in CSS instead 
of by a jQuery setTimeout, removing a 74 px jump on first paint.
   - modern/theme.css — button transition: all narrowed to the three properties 
hover actually animates, so applying the theme no longer animates green→blue; 
added missing sans-serif fallbacks to three Roboto declarations that otherwise 
fell back to serif.
   
   
   ## How was this patch tested?
   
   Tested locally in chrome and firefox
   
   ## UI changes
   <img width="1328" height="860" alt="Screenshot 2026-10-07 at 11 01 08" 
src="https://github.com/user-attachments/assets/16e1cb0a-1b97-4e88-b993-6fae998a45f9";
 />
   
   <img width="947" height="681" alt="Screenshot 2026-10-07 at 11 01 40" 
src="https://github.com/user-attachments/assets/e181dfc9-be34-479f-965f-e2c779fdd0ac";
 />
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1046108)
    Remaining Estimate: 0h
            Time Spent: 10m

> Knox default login page flashes before modern login page displayed
> ------------------------------------------------------------------
>
>                 Key: KNOX-3506
>                 URL: https://issues.apache.org/jira/browse/KNOX-3506
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Homepage
>    Affects Versions: 3.1.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to