Skip to content

Revamp AdminLTE UI and improve endpoint editor usability#11

Merged
javaChip56 merged 12 commits intomasterfrom
enhancements
Mar 24, 2026
Merged

Revamp AdminLTE UI and improve endpoint editor usability#11
javaChip56 merged 12 commits intomasterfrom
enhancements

Conversation

@javaChip56
Copy link
Copy Markdown
Owner

Summary

This PR refreshes the local dashboard/editor UI around the offline AdminLTE assets already in the project and improves the endpoint editing workflow in the cURL editor.

What Changed

  • revamped the dashboard and cURL editor to use AdminLTE-native cards, buttons, badges, forms, and layout patterns
  • updated dynamic frontend rendering so selection trees, result cards, YAML previews, and editor rows match the AdminLTE look and feel
  • increased the default height of the cURL and response-body textareas for easier editing
  • left-aligned added assertion rows for better readability
  • fixed endpoint editing so URL-encoded route placeholders like %7BcustomerId%7D are saved back as {customerId}
  • fixed edit-endpoint loading so endpoint names populate correctly for endpoint-only YAML files using targetEnvironments
  • added assertion edit cancel support
  • added inline assertion editing with row-level Edit, Save, and Cancel

Why

These changes make the UI more consistent and easier to use, while also fixing a few editor-specific issues that made endpoint maintenance harder:

  • encoded paths were being written back into YAML
  • some endpoint names were not loading into the editor
  • assertions were harder to manage without inline editing/cancel support
  • code-oriented textareas were too small for practical editing

Validation

  • ran dotnet test tests\ApiTestRunner.App.Tests\ApiTestRunner.App.Tests.csproj
  • all app tests passed

Notes

This PR focuses on the local web UI and editor workflow only. Backend test execution behavior is unchanged except for the path decoding fix in the editor/analyzer flow.

gali and others added 12 commits March 21, 2026 23:51
…ts, including UI updates and new data structures
…RL command handling

- Implemented CurlRequestParser to parse cURL commands into structured requests.
- Created DashboardEndpointEditorService to manage endpoint editing and saving in YAML format.
- Added YamlDefinitionFormatter for serializing API test documents to YAML.
- Introduced tests for DashboardEndpointEditorService to ensure functionality.
- Updated styles for better layout in the application.
Copy link
Copy Markdown
Owner Author

@javaChip56 javaChip56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok.

Copy link
Copy Markdown
Owner Author

@javaChip56 javaChip56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. Ok.

@javaChip56 javaChip56 merged commit a822a2c into master Mar 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant