feature : Added dev and devops tools#174
Merged
Merged
Conversation
Owner
|
conflicts @Kanwaljeet1 |
Contributor
Author
|
Hi @siddu-k , thanks! |
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.
Fixes this issue
Fixes issue #119
Describe the issue this PR fixes.
This Pull Request integrates the predefined Developer and DevOps tools dropdown menu within DevShell. It replaces the simple URL redirection with a local script linking flow
Changes made
ui/index.html
— Inserted layout structures and elements for the sidebar and header dropdowns, and added the #btn-url action button.
ui/style.css
— Added layout rules, backdrop-filters, box-shadows, and animation rules for both dropdown components.
ui/app.js
— Implemented the PREDEFINED_TOOLS library, loadPredefinedScript direct saving flow, dropdown toggle behavior, and dynamic URL action binding.
Direct Disk Save: Selecting a tool from either the sidebar grid icon (#btn-tools-dropdown) or primary header (#btn-header-tools) dropdown menu now performs a POST request to /api/scripts/save to write the script file to disk immediately.
Auto-Selection: The workspace automatically reloads the script tree and selects the newly linked script, showing it in the Details Panel.
Rich Diagnostic Script Templates: Replaced the placeholder entries with 11 complete, multi-line diagnostic and utility shell scripts.
Dynamic Documentation Link: Added # url: metadata header comments to the top of all 11 shell scripts. When a script is selected, this is parsed by the backend and displays the blue Docs button in the script actions toolbar, linking directly to the tool's official documentation website.
Testing and validation
Screenshots and logs
Checklist
main