Feature/code panel flex layout diff alignment#74
Merged
drakehanguyen merged 5 commits intomainfrom Mar 28, 2026
Merged
Conversation
added 5 commits
March 27, 2026 21:02
- Updated DiffChecker component to improve text wrapping options, setting both original and modified wrap text to false by default. - Introduced new state variables for zoom epoch and alignment zones to enhance visual accuracy between editors. - Added logic to conditionally render alignment zones based on content presence in both editors, preventing phantom rows. - Enhanced view zone management to ensure accurate height calculations for wrapped lines, improving the overall user experience. This update aims to provide a more precise and user-friendly diff comparison experience.
- Updated multiple tool components to improve layout by adding flex properties and ensuring panels can grow and shrink with their containers. - Introduced `fillHeight` prop to `CodePanel` for better height management, allowing for a more responsive design. - Adjusted body sections of tools like BaseEncoder, CidrAnalyzer, and others to utilize flexbox for improved usability and visual consistency. These changes aim to enhance the user experience by providing a more adaptable interface across various tools.
- Updated multiple tool components to include `overflow-y-auto` in the body section, enhancing usability by allowing for better scrolling behavior when content exceeds the visible area. - This change ensures that users can access all content without layout issues, contributing to a more user-friendly interface across tools. These adjustments aim to improve the overall experience when interacting with various tools in the application.
- Added a TypeScript ignore comment to the `renderValidationDecorations` option in the `createMonacoOptions` function to accommodate a valid Monaco runtime option that is not yet reflected in the bundled type definitions. - This change ensures that the editor configuration remains functional while addressing type definition discrepancies. This update aims to improve the integration of Monaco editor options within the application.
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.
Description
Type of Change
Related Issue
Closes #
Related to #
Changes Made
Testing
Test Steps
Screenshots (if applicable)
Checklist
Code Quality
TypeScript
anytypes used (unless necessary)pnpm type-check)Linting & Formatting
pnpm lint)pnpm format:check)Testing
pnpm test)Documentation
Build & Deployment
pnpm build)Accessibility
Browser Compatibility
Performance
Additional Notes
Breaking Changes
Migration Guide