Improved Splash Screen#1888
Merged
RohitKushvaha01 merged 6 commits intoAcode-Foundation:mainfrom Feb 20, 2026
Merged
Conversation
Contributor
Greptile SummaryRefactored the splash screen implementation to display richer debug information (app version, Android version, WebView version, and language) in a cleaner, more maintainable way. The changes include:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant HTML as index.html
participant Cordova
participant Main as main.js
participant Splash as Splash Screen
participant Body as document.body
HTML->>HTML: Load page with class="loading"
HTML->>Splash: Display splash screen
HTML->>HTML: DOMContentLoaded
HTML->>Splash: Setup MutationObserver
Cordova->>Main: deviceready event
Main->>Main: onDeviceReady()
Main->>Main: setDebugInfo()
Main->>Main: Extract Android & WebView versions
Main->>Body: setAttribute("data-version", info)
Body->>Splash: MutationObserver detects change
Splash->>Splash: Update version display
Main->>Body: setLoadingMessage("Loading settings...")
Body->>Splash: MutationObserver detects change
Splash->>Splash: Update message display
Main->>Main: App initialization complete
Main->>Body: Remove "loading" class
Splash->>Splash: Hide splash screen
Last reviewed commit: 69a38e8 |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Member
Author
This comment has been minimized.
This comment has been minimized.
|
Preview Release for this, has been built. |
This comment has been minimized.
This comment has been minimized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.