Add browser-only UI customization (density/layout/JSON/paging) + query-safe static asset routing#246
Open
swordfish444 wants to merge 92 commits intoamitshekhariitbhu:developmentfrom
Open
Conversation
list table name in non case sensitive alphabetical order
Added SqlCipher support
…pment Added SqlCipher support - Development
…pment Merge from Development
…pment Bump version
…opment Add example for room database
…opment Add support for debugging inMemory Room Database
Compile dependencies for 'debug' sources (deprecated: use 'debugImplementation' instead). https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_separation
Use 'debugImplementation' instead 'debugCompile'
…opment Development
Reduce library size
…opment Fix query & class not found error
Migrate to Androidx and Config upload to maven central
Author
|
@amitshekhariitbhu Can you please review? Simple changes that add HUGE value to this project. Would love to get this merged ASAP. Thank you in advance 🙇 |
3d07c5f to
8ac61d1
Compare
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.
Summary (target: development)
Adds a browser-only UI Customization panel to the Android Debug Database web UI (layout/
text/paging), plus a small server fix so index.html?… (and other static assets) load
correctly when query parameters are present.
Why
When inspecting wide tables and/or large JSON blobs, the current UI often forces heavy
horizontal scrolling and doesn’t let you tune density/page size. This PR improves
readability and navigation without changing any database/server behavior.
What changed
view (?view=customize) with a “Back to Data” link (supports browser back/forward via
history.pushState when available).
debug-db-base/src/main/assets/index.html and debug-db-base/src/main/assets/custom.css
to support:
defaults match existing behavior.
handling)
query params for static asset lookup + MIME detection (API routes still receive the full
route with query params). This enables /?view=customize and generally makes index.html?…
safe.
Demo
Note: the button icon doesn't load because index.html is opened as a file in the Loom video.
Loom video: https://www.loom.com/share/0f28072dac494055a4bae16470c88358
How to test