Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve performance of Table node #211

Merged
merged 18 commits into from
May 18, 2024
Merged

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    d67df9e View commit details
    Browse the repository at this point in the history
  2. feat: Improve table rendering with virtualization

    - Refactor ItemCollection to ensure headers and rows fallback to empty arrays
    - Include useMemo and useReactTable hooks for optimizing re-renders
    - Integrate virtualization with useVirtualizer for large data sets
    stone-lyl committed May 14, 2024
    Configuration menu
    Copy the full SHA
    5c1b188 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56f6264 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b8bb3b View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. refactor: Extract Table handle and loading components

    - Extracted TableHandleComponent for better code modularity
    - Created LoadingComponent to improve readability when data fetch is pending
    - Cleaned up redundant code and improved logic for rendering table & cells
    stone-lyl committed May 15, 2024
    Configuration menu
    Copy the full SHA
    ae71aad View commit details
    Browse the repository at this point in the history
  2. fix: incorrect TableNodeCell render height

    - Added unique id and custom cell rendering logic to table headers
    - Adjusted virtualizer estimateSize and container height for consistency
    - Simplified cell rendering and upgraded header z-index for visibility
    stone-lyl committed May 15, 2024
    Configuration menu
    Copy the full SHA
    b3b1151 View commit details
    Browse the repository at this point in the history
  3. fix: resolved the issue where xx.x couldn't render

    - Adjust TRUNCATE_CELL_LENGTH for cell content truncation length
    - Implement defaultColumn sizing for consistent column behavior
    stone-lyl committed May 15, 2024
    Configuration menu
    Copy the full SHA
    e08ede7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b80466c View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. feat: implement adaptive width for td and th elements

    - Increased TRUNCATE_CELL_LENGTH constant from 15 to 50 characters
    - Removed width full restriction to improve component flexibility
    - Cleaned up flex and grid usage for better performance
    stone-lyl committed May 16, 2024
    Configuration menu
    Copy the full SHA
    26b752c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65cfa84 View commit details
    Browse the repository at this point in the history
  3. fix: resolve test failures

    - Set default viewport size in Cypress configuration
    - Refactor TableNodeComponent tests for readability and maintenance
    stone-lyl committed May 16, 2024
    Configuration menu
    Copy the full SHA
    b45bf06 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8af9dde View commit details
    Browse the repository at this point in the history

Commits on May 18, 2024

  1. Configuration menu
    Copy the full SHA
    1fe25f9 View commit details
    Browse the repository at this point in the history
  2. chore: remove unused code

    stone-lyl committed May 18, 2024
    Configuration menu
    Copy the full SHA
    de57027 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d0422d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed71e2c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a382364 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9cd123e View commit details
    Browse the repository at this point in the history