Add frontend-only Leaf GUI prototype#14
Open
WorkofAditya wants to merge 4 commits into
Open
Conversation
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.
Motivation
Description
gui/index.htmlthat implements a shell layout, sidebar navigation, hero, metrics, quick actions, changes/staging panels, diff preview, history timeline and graph, branch/merge cards, recovery controls, remotes layout, integrity panel, and a searchable command map.gui/styles.cssincluding the Leaf color system, glass-like panels, responsive grids, mobile breakpoints, terminal preview, timeline/graph visuals, and toast interactions.gui/script.jsto copy CLI commands to clipboard, show toast feedback, filter the searchable command map, and keep nav links active via anIntersectionObserver.README.mdand keep the implementation intentionally unconnected to the Leaf CLI/backend for later integration.Testing
python -m py_compile $(find Modules -name '*.py' -print)successfully to validate Python sources compiled without syntax errors.gui/index.htmlusing Python'sHTMLParsersuccessfully to validate basic HTML structure.node --check gui/script.jssuccessfully to validate the script has no syntax errors.pytest -qwhich completed successfully (9 passed), and attemptednpx --yes playwright --versionfor screenshot automation but it failed due to an npm registry403 Forbiddenin this environment.Codex Task