Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-34366: Migrate 'components/post_view/post_list_virtualized' and associated tests to TypeScript #8516

Closed
wants to merge 48 commits into from

Commits on Apr 16, 2021

  1. Merge pull request #1 from mattermost/master

    fork sync
    naftalimurgor authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    b950738 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Merge pull request #2 from mattermost/master

    Syncronize fork
    naftalimurgor authored May 3, 2021
    Configuration menu
    Copy the full SHA
    e6f694e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    d3de740 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Configuration menu
    Copy the full SHA
    db3fae0 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Configuration menu
    Copy the full SHA
    2964102 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Configuration menu
    Copy the full SHA
    d81d640 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Configuration menu
    Copy the full SHA
    59d00b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Configuration menu
    Copy the full SHA
    da2d2a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    23f537b View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. Configuration menu
    Copy the full SHA
    7f2c377 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    4e9b369 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Configuration menu
    Copy the full SHA
    92f882a View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. Configuration menu
    Copy the full SHA
    3fa225b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b583f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2021

  1. Configuration menu
    Copy the full SHA
    4756365 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2021

  1. MM-34366 : wip: Migrate post_list_virtualized.jsxand tests to TypeS…

    …cript
    
    add type definitions for 'dynamic-virtualized-list` package.
    naftalimurgor committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    9991fef View commit details
    Browse the repository at this point in the history
  2. MM-34366 : wip: Migrate post_list_virtualized.jsxand tests to TypeS…

    …cript
    
    Refactor tests in `post_list_virtualized.test.jsx` for PostList component.
    naftalimurgor committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    95c55c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    396cbe6 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. MM-34366 : wip: Migrate post_list_virtualized.jsxand tests to TypeS…

    …cript
    
    lint `dynamic-virtualized-list.d.ts` to remove trailing white spaces.
    naftalimurgor committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    1c31ec5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28abe79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    14f64c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. MM-34366: Make isRhsPost prop optional

    Make `isRhsPost` prop optional in `components/post_view/floating_timestamp/floating_timestamp.tsx` as it is not explicitly required in `/home/slax/git/enterprise/mattermost-webapp/components/post_view/post_list_row/post_list_row.tsx`
    naftalimurgor committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    a24f8e1 View commit details
    Browse the repository at this point in the history
  2. MM-343366: Update togglePostMenu prop params

    Update `togglePostMenu` function prop to accept `opened` as a boolean argument
    naftalimurgor committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    a68a21c View commit details
    Browse the repository at this point in the history
  3. MM-34366: Update PostListRow props

    change `post` and `channel` props to optional as they are not explicitly required in `PostListRow` component
    naftalimurgor committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    fd0e39c View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. MM-34466: Migrate`/components/post_view/post_list_virtualized/post_li…

    …st_virtualized.tsx` to TypeScript
    
    Add type definitions and all relevant type definitions imports.
    naftalimurgor committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    8eff686 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from naftalimurgor/MM-34366

    Migrate 'components/post_view/post_list_virtualized' and associated tests to TypeScript
    naftalimurgor authored Jul 24, 2021
    Configuration menu
    Copy the full SHA
    51e05ea View commit details
    Browse the repository at this point in the history
  3. MM-34366: add AutoSizer type Definitions

    add `@types/react-virtualized-auto-sizer` from npm
    naftalimurgor committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    377d8c4 View commit details
    Browse the repository at this point in the history
  4. MM-34366: Update PosList props

    `lastViewedAt` prop is an optional prop as it is not explicitly required in the unit tests under `post_list_virtualized.test.tsx`
    naftalimurgor committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    b246427 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c254005 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. MM-34366: Lint and fix post_list_virtualized.tsx

    Lint and fix to conform to EsLint rules
    naftalimurgor committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    8b7a599 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. MM-34366: Update PostList props

    `lastViewedAt` prop is an optional prop as it is not explicitly required in the unit tests under `post_list_virtualized.test.tsx`
    naftalimurgor committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    ea4b331 View commit details
    Browse the repository at this point in the history
  2. MM-34366: Lint and fix post_list_virtualized.tsx

    Lint and fix to conform to EsLint rules
    naftalimurgor committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    f2f163b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82db394 View commit details
    Browse the repository at this point in the history
  4. MM-34366: Migrate `/components/post_view/post_list_virtualized/post_l…

    …ist_virtualized.test.tsx`
    naftalimurgor committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    f3ddc35 View commit details
    Browse the repository at this point in the history
  5. MM-34366: Migrate `/components/post_view/post_list_virtualized/post_l…

    …ist_virtualized.test.tsx`
    
    add type definitions for `AutoSizer` and `DynamicSizeList`, change from type   `any` to  `DynamicSizeListDimensions`
    naftalimurgor committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    04ed98f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5732af4 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #7 from naftalimurgor/MM-34366

    MM-34366: Migrate 'components/post_view/post_list_virtualized' and associated tests to TypeScript
    naftalimurgor authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    dcf7f5c View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Resolve Merge Conflict

    Resolve merge conflicts for `package.json`, `package-lock.json` and `types/external/dynamic-virtualized-list.d.ts`
    naftalimurgor committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    2677983 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00135e4 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'mattermost-master'

    Merge to resolve conflicts
    naftalimurgor committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    6d2598f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    37cd82e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

  1. Fix TS error on icon prop of ProductSwitcher component

    fixes this TS error `components/global/product_switcher.tsx:105:17 - error TS2322: Type '"view-grid-outline"' is not assignable to type 'TIconGlyph'.
    
    105                 icon={'view-grid-outline'}
                        ~~~~
    
      node_modules/@mattermost/compass-components/components/icon-button/IconButton.props.d.ts:8:5
        8     icon: TIconGlyph;
              ~~~~
        The expected type comes from property 'icon' which is declared here on type 'IntrinsicAttributes & PIconButton & RefAttributes<HTMLButtonElement>'`
    naftalimurgor committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    78f3884 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93d224d View commit details
    Browse the repository at this point in the history
  3. Merge branch 'mattermost-master'

    Merge into `mattermost-master` to synchronize changes.
    naftalimurgor committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    44b9dcf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d1bd25 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Configuration menu
    Copy the full SHA
    e720240 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d60554d View commit details
    Browse the repository at this point in the history
  3. Merge branch

    'mattermost-master' to resolve conflicts and update upstream repo.
    naftalimurgor committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    854e575 View commit details
    Browse the repository at this point in the history