Skip to content

Feature/code panel flex layout diff alignment#74

Merged
drakehanguyen merged 5 commits intomainfrom
feature/code-panel-flex-layout-diff-alignment
Mar 28, 2026
Merged

Feature/code panel flex layout diff alignment#74
drakehanguyen merged 5 commits intomainfrom
feature/code-panel-flex-layout-diff-alignment

Conversation

@drakehanguyen
Copy link
Copy Markdown
Collaborator

Description

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • ♻️ Code refactoring (no functional changes)
  • ⚡ Performance improvement
  • ✅ Test addition or update
  • 🎨 Style/formatting changes (no functional changes)
  • 🔧 Configuration changes
  • 🔒 Security fix

Related Issue

Closes #
Related to #

Changes Made

Testing

  • ✅ All existing tests pass
  • ✅ New tests added for new functionality
  • ✅ Manual testing completed
  • ✅ Tested on multiple browsers (if applicable)
  • ✅ Tested on mobile devices (if applicable)

Test Steps

Screenshots (if applicable)

Before After

Checklist

Code Quality

  • Code follows the project's style guidelines
  • Self-review of code completed
  • Comments added for complex code/logic
  • No console.log statements left in code
  • No commented-out code
  • Code is properly formatted (Prettier)

TypeScript

  • TypeScript types are properly defined
  • No any types used (unless necessary)
  • Type checking passes (pnpm type-check)

Linting & Formatting

  • ESLint passes (pnpm lint)
  • Code is properly formatted (pnpm format:check)

Testing

  • Unit tests added/updated
  • All tests pass (pnpm test)
  • Test coverage maintained or improved

Documentation

  • README.md updated (if applicable)
  • CHANGELOG.md updated (if applicable)
  • Code comments added/updated
  • JSDoc comments added for public APIs (if applicable)

Build & Deployment

  • Build succeeds (pnpm build)
  • No build warnings or errors
  • Production build tested locally

Accessibility

  • Accessibility considerations addressed
  • Keyboard navigation works (if applicable)
  • Screen reader tested (if applicable)

Browser Compatibility

  • Tested on Chrome
  • Tested on Firefox
  • Tested on Safari
  • Tested on Edge (if applicable)
  • Mobile responsive (if applicable)

Performance

  • No performance regressions
  • Bundle size impact considered
  • Lazy loading used where appropriate

Additional Notes

Breaking Changes

Migration Guide

DrakeNguyen 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.
@drakehanguyen drakehanguyen merged commit 7c5a338 into main Mar 28, 2026
6 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