Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit e54c4b8
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Jan 25 21:31:13 2023 -0500

    fixing lint errors

commit 445c9f7
Merge: b355edc a9f1892
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 24 22:16:06 2023 -0500

    Merge remote-tracking branch 'upstream/main' into arrow-feature-signed

commit b355edc
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 24 22:03:59 2023 -0500

    Squashed commit of the following:

    commit 811dd58
    Merge: 6f70a7d f133eb4
    Author: Chris Kosuke Tseng <ctseng@expensify.com>
    Date:   Tue Jan 24 15:19:32 2023 -0800

        Merge pull request Expensify#14507 from s77rt/hoverable-onblur

        Fixed regression on Hoverable blur event

    commit 6f70a7d
    Merge: 4ddb47e 3392ff1
    Author: Aldo Canepa Garay <87341702+aldo-expensify@users.noreply.github.com>
    Date:   Tue Jan 24 13:56:15 2023 -0800

        Merge pull request Expensify#14409 from margelo/fix/scroll-to-picker-regression

        Fix: Scroll to picker regression

    commit 4ddb47e
    Merge: c2ff5f8 93199c4
    Author: Vit Horacek <36083550+mountiny@users.noreply.github.com>
    Date:   Tue Jan 24 18:47:32 2023 +0000

        Merge pull request Expensify#14343 from Expensify/vit-updateArchiveMessageForAdmin

        Add closed report action optimistically when workspace is closed

    commit c2ff5f8
    Merge: 25b47da 73d23d8
    Author: Ionatan Wiznia <ionatan@expensify.com>
    Date:   Tue Jan 24 19:41:45 2023 +0100

        Merge pull request Expensify#14440 from Expensify/ionatan_fixcurrencysearch

        Fix currency search

    commit 25b47da
    Merge: 614da95 378dffc
    Author: Jack Nam <30609178+thienlnam@users.noreply.github.com>
    Date:   Tue Jan 24 10:35:53 2023 -0800

        Merge pull request Expensify#14483 from abdulrahuman5196/add-payment-delay

    commit 614da95
    Merge: 4d86f17 559df8b
    Author: Yuwen Memon <yuwen@expensify.com>
    Date:   Tue Jan 24 10:21:33 2023 -0800

        Merge pull request Expensify#14400 from Ollyws/issue-14355

        Fix for: App crashes when splitting a bill offline

    commit 4d86f17
    Merge: a10949d bb3a7d1
    Author: Cristi Paval <cristi@expensify.com>
    Date:   Tue Jan 24 18:33:28 2023 +0200

        Merge pull request Expensify#14255 from Expensify/dangrous-embiggenavatars

        Make avatars in chat welcome messages always big

    commit 73d23d8
    Author: Ionatan Wiznia <ionatan@expensify.com>
    Date:   Tue Jan 24 16:21:32 2023 +0100

        Update src/pages/iou/IOUCurrencySelection.js

        Co-authored-by: Eugene Voloshchak <copyreading@gmail.com>

    commit a10949d
    Merge: 49ded4f b545c93
    Author: Andre Fonseca <afonseca@expensify.com>
    Date:   Tue Jan 24 12:21:49 2023 +0000

        Merge pull request Expensify#14347 from Expensify/cmartins-fixMembersPage

        Fix Invite member checkbox selection behavior

    commit 49ded4f
    Merge: 553916c 373335f
    Author: OSBotify <76178356+OSBotify@users.noreply.github.com>
    Date:   Tue Jan 24 05:53:50 2023 -0500

        Merge pull request Expensify#14509 from Expensify/version-BUILD-1E53A036-DC71-4A10-A537-7FE462383690

        Update version to 1.2.58-4 on main

    commit 373335f
    Author: OSBotify <infra+osbotify@expensify.com>
    Date:   Tue Jan 24 10:53:22 2023 +0000

        Update version to 1.2.58-4

    commit 553916c
    Merge: ae66a7f 82b52f1
    Author: Maria D'Costa <maria@expensify.com>
    Date:   Tue Jan 24 14:48:06 2023 +0400

        Merge pull request Expensify#14508 from Expensify/nat-missingimport

        Fix missing import preventing opening Plaid modal

    commit 82b52f1
    Author: Nathalie Kuoch <nkuoch@expensify.com>
    Date:   Tue Jan 24 10:58:00 2023 +0100

        Fix missing import preventing opening Plaid modal

    commit 3392ff1
    Merge: 63ff50a ae66a7f
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Tue Jan 24 10:25:22 2023 +0100

        Merge branch 'main' into fix/scroll-to-picker-regression

    commit 63ff50a
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Tue Jan 24 10:23:52 2023 +0100

        fix: passed invalid ref to measureLayout

    commit c37e279
    Author: Christoph Pader <christoph.pader@outlook.com>
    Date:   Tue Jan 24 10:12:20 2023 +0100

        Update src/components/Form.js

        Co-authored-by: Sahil <thesahindia@gmail.com>

    commit f133eb4
    Author: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com>
    Date:   Tue Jan 24 09:42:06 2023 +0100

        Fixed regression on Hoverable blur event

    commit 6370512
    Author: Ionatan Wiznia <ionatan@expensify.com>
    Date:   Mon Jan 23 18:03:35 2023 -0300

        Use helper method

    commit 378dffc
    Author: Abdul Rahuman <abdulrahuman5196@gmail.com>
    Date:   Tue Jan 24 02:15:46 2023 +0530

        Adding UI filter to exclude delete pending items to be sent to FlatList when online

        Reference: Expensify#14262

    commit bf7f0da
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Mon Jan 23 14:47:03 2023 +0100

        update comment

    commit a0e9574
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Mon Jan 23 14:46:28 2023 +0100

        fix: add scrollContextEnabled to missing screens

    commit 8c479d2
    Author: Christoph Pader <christoph.pader@outlook.com>
    Date:   Mon Jan 23 14:38:12 2023 +0100

        Update contributingGuides/FORMS.md

        Co-authored-by: Carlos Martins <luacmartins@gmail.com>

    commit b08dc2b
    Author: Christoph Pader <christoph.pader@outlook.com>
    Date:   Mon Jan 23 14:38:01 2023 +0100

        Update src/components/Form.js

        Co-authored-by: Carlos Martins <luacmartins@gmail.com>

    commit 7d59c4b
    Author: Christoph Pader <christoph.pader@outlook.com>
    Date:   Mon Jan 23 14:37:45 2023 +0100

        Update src/components/Form.js

        Co-authored-by: Carlos Martins <luacmartins@gmail.com>

    commit 165af16
    Merge: 27f5fea fd5e781
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Mon Jan 23 14:33:37 2023 +0100

        Merge branch 'main' into fix/scroll-to-picker-regression

    commit 93199c4
    Author: Vit Horacek <vit@expensify.com>
    Date:   Fri Jan 20 22:59:15 2023 +0000

        Update JSDoc of the build closed report action method

    commit 3574093
    Author: Vit Horacek <vit@expensify.com>
    Date:   Fri Jan 20 22:57:50 2023 +0000

        Fix style

    commit f1ff02d
    Author: Vit Horacek <vit@expensify.com>
    Date:   Fri Jan 20 22:57:18 2023 +0000

        Fix the import

    commit a0bc604
    Author: Vit Horacek <vit@expensify.com>
    Date:   Fri Jan 20 22:50:24 2023 +0000

        Default to empty object in case report actions are missing

    commit bb3a7d1
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 20 16:52:06 2023 -0500

        update overlay

    commit 54f1706
    Merge: 742e4e7 17edc82
    Author: Vit Horacek <vit@expensify.com>
    Date:   Fri Jan 20 20:13:10 2023 +0000

        Merge branch 'main' into vit-updateArchiveMessageForAdmin

    commit 90dcb3f
    Author: Ionatan Wiznia <ionatan@expensify.com>
    Date:   Fri Jan 20 14:06:01 2023 -0300

        Fix currency search

    commit 27f5fea
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 11:11:28 2023 +0100

        fix: add picker scroll functionality to (currently) unused screens

    commit 8cba034
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 11:07:34 2023 +0100

        fix: add picker scroll functionality to AdditionalDetailsStep

    commit b7ff191
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 10:57:46 2023 +0100

        add picker scroll functionality to CompanyStep

    commit 3505fd9
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 10:25:24 2023 +0100

        doc: add docs on how to handle pickers in forms

    commit 8edc865
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 10:06:48 2023 +0100

        fix: add explanation for two Form props

    commit 8172dce
    Merge: 7ba22bd 5aabd37
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Fri Jan 20 10:03:09 2023 +0100

        Merge branch 'main' into fix/scroll-to-picker-regression

    commit 7ba22bd
    Merge: 65d5e9c b197f26
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 16:48:27 2023 +0100

        Merge branch 'main' into fix/scroll-to-picker-regression

    commit 65d5e9c
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 13:02:18 2023 +0100

        fix: usage of new ref in Form

    commit fe8d4cd
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 13:00:34 2023 +0100

        fix: remove random string in Form

    commit 1cbeaa7
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 12:59:42 2023 +0100

        Use scrollContext and overflow on AddDebitCardPage

    commit 384eedb
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 12:58:51 2023 +0100

        fix: use scrollToOverflowEnabled prop from passed down props

    commit 71a415a
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 12:58:23 2023 +0100

        feat: Introduce scrollContextEnabled and scrollToOverflowEnabled props on Form component

    commit c4e8ea8
    Author: Christoph Pader <christoph@margelo.io>
    Date:   Thu Jan 19 12:02:07 2023 +0100

        fix: add missing forwardRef to ScrollViewWithContext

    commit 559df8b
    Author: Oliver Wilks <ollywilks@googlemail.com>
    Date:   Wed Jan 18 21:36:36 2023 +0000

        Changed getIOUReportActions filter order

    commit b545c93
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 17:00:26 2023 -0700

        validate if preferred locale changes

    commit e9f4cd3
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:54:01 2023 -0700

        fix toggleAllusers logic

    commit 6ec1826
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:38:05 2023 -0700

        fix logic for select all

    commit b85e275
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:28:16 2023 -0700

        keep select all checked if admin is selected

    commit 96afdf0
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:21:52 2023 -0700

        display error message

    commit 6d0ef22
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:07:02 2023 -0700

        add early return for delete modal

    commit 52dd36f
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 16:00:07 2023 -0700

        early return if errors are not empty

    commit 8cd37db
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 15:58:16 2023 -0700

        revert changes to select all checkbox

    commit 2237a6b
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 15:35:06 2023 -0700

        rm setWorkspaceMemberErrors

    commit a3a7337
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 15:32:40 2023 -0700

        fix setWorkspaceMemberErrors

    commit 689a4bc
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 15:05:57 2023 -0700

        create setWorkspaceMemberErrors

    commit d31d4be
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 14:47:26 2023 -0700

        rm comment and create validate

    commit b6d28d3
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 14:45:21 2023 -0700

        rm filter in submit function

    commit e2a9256
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 14:42:50 2023 -0700

        fix select all logic

    commit 5be2153
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 14:38:52 2023 -0700

        clean up removableMembers

    commit dcf6a1d
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 14:31:30 2023 -0700

        clean up CheckboxWithTooltip

    commit 509be3f
    Merge: be59dc3 3636f1f
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Tue Jan 17 11:32:16 2023 -0700

        Merge branch 'main' into cmartins-fixMembersPage

    commit be59dc3
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Mon Jan 16 17:23:03 2023 -0700

        rm showTooltipForLogin state

    commit d177feb
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Mon Jan 16 17:20:14 2023 -0700

        rm willTooltipShowForLogin

    commit 0f7f685
    Author: Carlos Martins <cmartins@expensify.com>
    Date:   Mon Jan 16 17:15:53 2023 -0700

        rm canBeRemoved var

    commit 742e4e7
    Author: Vit Horacek <vit@expensify.com>
    Date:   Tue Jan 17 00:36:09 2023 +0100

        Clean up

    commit a84aab4
    Author: Vit Horacek <vit@expensify.com>
    Date:   Tue Jan 17 00:33:54 2023 +0100

        Add a comment

    commit 55cbf0f
    Author: Vit Horacek <vit@expensify.com>
    Date:   Mon Jan 16 22:23:54 2023 +0100

        Build method to create closed optimistic actions

    commit 868fff6
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 17:36:47 2023 -0500

        remove another shouldShowLargeAvatars

    commit 19c9602
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 17:33:58 2023 -0500

        remove unused variable

    commit e1e86b3
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 17:32:01 2023 -0500

        center number on mobile

    commit 8407368
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 17:05:58 2023 -0500

        center number

    commit 4aee6b7
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 16:43:33 2023 -0500

        remove shouldShowLargeAvatars

    commit 679476f
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Fri Jan 13 16:36:20 2023 -0500

        remove console logs and add constant

    commit 0167179
    Author: Daniel Gale-Rosen <dgalerosen@expensify.com>
    Date:   Thu Jan 12 17:39:39 2023 -0500

        initial updates for new shared size avatars

commit 8992e46
Merge: 7a10eff ae66a7f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 23 17:55:31 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 7a10eff
Merge: c2fb8f8 e43bab5
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 22 20:22:03 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit c2fb8f8
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Jan 19 18:29:28 2023 -0500

    fixed some minor issues

commit 246073a
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Jan 19 18:10:34 2023 -0500

    Update src/components/AttachmentCarousel/CarouselActions/index.native.js

    Co-authored-by: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com>

commit a8daa2b
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 17 23:31:40 2023 -0500

    minor fixes

commit 9efe361
Merge: 5684e41 e62a79f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 17 23:27:36 2023 -0500

    Merge branch 'main' into arrow-feature-signed

commit 5684e41
Merge: c97a7dc 8662d3d
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 16 14:46:23 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit c97a7dc
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 16 14:45:07 2023 -0500

    minor updates for comments

commit 50143fb
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 16 14:37:49 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit aef4993
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 16 14:37:14 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit cb4ed59
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jan 16 00:04:40 2023 -0500

    removed line

commit 1ce9be6
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 15 23:59:55 2023 -0500

    added comments, fixed linting

commit e7ad0d3
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 15 23:40:27 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com>

commit 31e389b
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 15 23:39:54 2023 -0500

    Update src/components/AttachmentCarousel/CarouselActions/index.native.js

    Co-authored-by: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com>

commit 77eb354
Merge: d286d16 7ca2979
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Jan 14 21:52:11 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit d286d16
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Jan 14 21:48:18 2023 -0500

    fixed issue with highlight

commit 27c4f08
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Jan 14 21:29:34 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit f1e31af
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Jan 14 21:27:01 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit 1c3c3f7
Merge: bc8fc1a 5a09253
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 10 22:23:23 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit bc8fc1a
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 10 22:22:21 2023 -0500

    fixed up some code per comments, added debounce to image size

commit 17fe0fc
Merge: 2f73a45 a53b274
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 8 14:43:06 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 2f73a45
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 8 13:49:02 2023 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit 2199eae
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jan 8 13:44:22 2023 -0500

    Update src/components/AttachmentCarousel/CarouselActions/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit 65b694a
Merge: ba8c0e9 64b9717
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Jan 4 21:45:08 2023 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit ba8c0e9
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Jan 4 21:44:49 2023 -0500

    changed prop type

commit d9d1889
Merge: d2d4e76 5af5d30
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jan 3 20:58:04 2023 -0500

    Merge branch 'main' into arrow-feature-signed

commit d2d4e76
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Dec 29 19:28:27 2022 -0500

    used replace for config env

commit c0f4c12
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Dec 29 19:07:14 2022 -0500

    Revert "added replace for ngrok url"

    This reverts commit 7b7a5a0.

commit 2180ca4
Merge: 3738f1f 0bde3f8
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Dec 29 19:05:58 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 3738f1f
Merge: 7b7a5a0 276f177
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 26 19:38:09 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 7b7a5a0
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 26 15:28:37 2022 -0500

    added replace for ngrok url

commit 95069f2
Merge: c257f2c 89e3eef
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Dec 21 18:46:21 2022 -0500

    Merge branch 'main' into arrow-feature-signed

commit c257f2c
Merge: bfa027d 5265b5b
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 20 22:41:33 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit bfa027d
Merge: 3465da8 9a52f02
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 19 18:32:54 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 3465da8
Merge: aab283f 3620bf2
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Dec 15 18:32:12 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit aab283f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Dec 15 18:30:06 2022 -0500

    updating var names to explain their use better

commit 3965cff
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Dec 14 18:26:41 2022 -0500

    set dimension undefined to trigger spinner when fetching dimensions

commit 9948fca
Merge: 428aaab 1a03ee3
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Dec 14 17:01:52 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 428aaab
Merge: 704753a 11cf564
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 13 19:05:45 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 704753a
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 12 20:41:44 2022 -0500

    Update src/components/PDFView/pdfViewPropTypes.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit e042066
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 12 20:41:24 2022 -0500

    Update src/components/ImageView/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit f148909
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 12 20:40:08 2022 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit 47ed2db
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 12 20:39:08 2022 -0500

    Update src/components/AttachmentCarousel/index.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit 938adda
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Dec 12 20:37:14 2022 -0500

    Update src/components/ImageView/index.native.js

    Co-authored-by: Carlos Martins <luacmartins@gmail.com>

commit e46566d
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Dec 11 18:00:15 2022 -0500

    updating attachment download url

commit f1dfd4c
Merge: 2e56ef8 10dd188
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Dec 11 16:54:35 2022 -0500

    Merge branch 'main' into arrow-feature-signed

commit 2e56ef8
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Dec 7 22:28:11 2022 -0500

    fixed sliding, set buttons to circles

commit 4dd29c6
Merge: a895d00 5501ff5
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Dec 7 20:27:44 2022 -0500

    Merge branch 'main' into arrow-feature-signed

commit a895d00
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 19:32:14 2022 -0500

    cleaned up some of the code in reduce

commit cdd60bc
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 19:25:35 2022 -0500

    added comment to reducer

commit c6e5b53
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 19:15:55 2022 -0500

    added comment, use full url

commit 2226040
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 17:25:55 2022 -0500

    moved auth token method into render to prevent undefined page

commit 337dbf2
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 16:27:20 2022 -0500

    fixed keyboard inputs

commit 8d05018
Merge: 70c9ac3 5869c66
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Dec 6 16:12:33 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 70c9ac3
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Dec 4 18:49:03 2022 -0500

    fixed error with sorting values, fixing styles

commit 480e550
Merge: f738465 01e7a70
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Dec 4 18:16:56 2022 -0500

    Merge branch 'main' into arrow-feature-signed

commit f738465
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Nov 19 18:36:53 2022 -0500

    cleaned up report actions, fixed issue with pagination

commit 7abd76e
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Nov 19 17:29:49 2022 -0500

    updating comment, added required to props

commit 3dd0e19
Merge: a873db7 cd83501
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Nov 19 16:53:21 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit a873db7
Merge: 6f02e04 e09d228
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Nov 14 08:04:46 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 6f02e04
Merge: 5f49543 0de35b9
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Nov 14 08:03:31 2022 -0500

    Merge branch 'main' into arrow-feature-signed

commit 5f49543
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Nov 7 23:19:02 2022 -0500

    removed console, removed string replace

commit 2911b43
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Nov 7 22:13:24 2022 -0500

    adding functionality to load more attachments as needed

commit a083df2
Merge: a7200ba 91acada
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Nov 7 20:49:00 2022 -0500

    Merge branch 'Expensify:main' into arrow-feature-signed

commit a7200ba
Merge: 05e8623 63ccac8
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Nov 2 20:36:50 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 05e8623
Merge: fad847f 03d7e8f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Oct 26 18:52:43 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit fad847f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Oct 26 18:38:42 2022 -0400

    moved and renamed some files

commit 7a7ae20
Merge: f6e6b43 70efb00
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Oct 22 23:15:00 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit f6e6b43
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Oct 22 23:14:10 2022 -0400

    removed fix for something that was fixed elsewhere

commit 962c589
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Fri Oct 21 17:44:12 2022 -0400

    fixes for comments

commit 8bbf5a7
Merge: 6b9accf b2acb8f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Fri Oct 21 10:47:07 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 6b9accf
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Oct 20 20:57:08 2022 -0400

    fixed up some mobile issues from the move

commit 799cf6c
Merge: 0cd79cc fbf0334
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Oct 19 20:09:57 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 0cd79cc
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Oct 18 21:26:07 2022 -0400

    reverted back the swipeableview, move events with web-based carousel

commit 5b303d0
Merge: 4c76f2e 555a679
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Oct 18 20:09:35 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 4c76f2e
Merge: 16531eb b299503
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Thu Sep 29 21:32:03 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 16531eb
Merge: e327533 b75faf0
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Sep 25 09:02:49 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit e327533
Merge: f1e3411 09ff150
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Sep 21 18:31:08 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit f1e3411
Merge: 468cba3 0302ce7
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Sep 19 07:53:10 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 468cba3
Merge: 594ff07 ca08fb0
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Sep 13 09:55:56 2022 -0400

    Merge branch 'Expensify:main' into arrow-feature-signed

commit 594ff07
Merge: 59e461c f95b761
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Wed Sep 7 18:43:07 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 59e461c
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Sep 5 14:05:04 2022 -0400

    set up attachment download to work

commit 19d648a
Merge: 240e1e3 11761be
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Sep 5 11:44:04 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 240e1e3
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Aug 30 19:22:53 2022 -0400

    use shap instead of object for linting

commit 9a9620e
Merge: 8aaf7fe 41ec9bd
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Aug 30 18:52:33 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 8aaf7fe
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Aug 13 19:41:04 2022 -0400

    cleaned up code, fixed some arrow showing issues

commit 91a5a05
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sat Aug 13 16:52:18 2022 -0400

    adding a native press event for pdfs

commit 191d8d7
Merge: 0366275 a06358c
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jul 31 13:34:12 2022 -0400

    Merge branch 'main' into arrow-feature-signed

commit 0366275
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Sun Jul 31 13:10:11 2022 -0400

    fixed up some issues with pdf

commit 199a8b1
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jul 26 23:22:45 2022 -0400

    Set up animation to swipe

commit 69d6a97
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jul 19 23:23:36 2022 -0400

    added resize for cycling images

commit 70d5d29
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jul 19 23:13:37 2022 -0400

    adding some logic to update the size of image when cycled

commit e2e9633
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Tue Jul 19 22:19:01 2022 -0400

    finished with swiping to change images

commit ad64a2f
Author: Robert Daly <JediWattson@users.noreply.github.com>
Date:   Mon Jul 18 21:22:03 2022 -0400

    moved everything into carousel

commit b741616
Author: Robert <JediWattson@users.noreply.github.com>
Date:   Sun Jul 17 19:45:51 2022 -0400

    setting up show arrows with ios

commit 656d0da
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sat Jul 2 13:27:56 2022 -0400

    linting fixes

commit e38f4a8
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sat Jul 2 13:19:10 2022 -0400

    set up event handlers and styling to show arrow on mouse over

commit ecd2675
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 26 17:48:36 2022 -0400

    added arrow key handler, cleaned up function and helper text

commit 5886c90
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Mon Jun 6 16:11:30 2022 -0400

    reverting changes to image updates

commit 225fbd3
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 13:38:08 2022 -0400

    removed unused state pieces

commit bf7e03e
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 13:35:38 2022 -0400

    removed styles

commit b52ee9c
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 13:25:03 2022 -0400

    cleaned up styling of buttons

commit 2e6ae8d
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 12:46:19 2022 -0400

    wrong value passed

commit 33a8e35
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 12:18:56 2022 -0400

    removed dry code

commit 0e0cdf1
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Sun Jun 5 12:14:36 2022 -0400

    use button for app default styles, added disable

commit c216164
Author: JediWattson <JediWattson@users.noreply.github.com>
Date:   Wed Jun 1 15:27:47 2022 -0400

    adding carousel to attachment modal
  • Loading branch information
JediWattson committed Jan 26, 2023
1 parent a9f1892 commit edd1455
Show file tree
Hide file tree
Showing 14 changed files with 512 additions and 40 deletions.
4 changes: 4 additions & 0 deletions src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,10 @@ const CONST = {
EMOJIS: /[\p{Extended_Pictographic}\u200d\u{1f1e6}-\u{1f1ff}\u{1f3fb}-\u{1f3ff}\u{e0020}-\u{e007f}\u20E3\uFE0F]|[#*0-9]\uFE0F?\u20E3/gu,
TAX_ID: /^\d{9}$/,
NON_NUMERIC: /\D/g,

// Extract attachment's source from the data's html string
ATTACHMENT_DATA: /(data-expensify-source|data-name)="([^"]+)"/g,

EMOJI_NAME: /:[\w+-]+:/g,
EMOJI_SUGGESTIONS: /:[a-zA-Z0-9_+-]{1,40}$/,
AFTER_FIRST_LINE_BREAK: /\n.*/g,
Expand Down
64 changes: 64 additions & 0 deletions src/components/AttachmentCarousel/CarouselActions/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import React from 'react';
import PropTypes from 'prop-types';
import {Pressable} from 'react-native';

const propTypes = {
/** Handles onPress events with a callback */
onPress: PropTypes.func.isRequired,

/** Callback to cycle through attachments */
onCycleThroughAttachments: PropTypes.func.isRequired,

/** Styles to be assigned to Carousel */
styles: PropTypes.arrayOf(PropTypes.shape({})).isRequired,

/** Children to render */
children: PropTypes.oneOfType([
PropTypes.func,
PropTypes.node,
]).isRequired,
};

class Carousel extends React.Component {
constructor(props) {
super(props);

this.handleKeyPress = this.handleKeyPress.bind(this);
}

componentDidMount() {
document.addEventListener('keydown', this.handleKeyPress);
}

componentWillUnmount() {
document.removeEventListener('keydown', this.handleKeyPress);
}

/**
* Listens for keyboard shortcuts and applies the action
*
* @param {Object} e
*/
handleKeyPress(e) {
// prevents focus from highlighting around the modal
e.target.blur();
if (e.key === 'ArrowLeft') {
this.props.onCycleThroughAttachments(1);
}
if (e.key === 'ArrowRight') {
this.props.onCycleThroughAttachments(-1);
}
}

render() {
return (
<Pressable style={this.props.styles} onPress={this.props.onPress}>
{this.props.children}
</Pressable>
);
}
}

Carousel.propTypes = propTypes;

export default Carousel;
78 changes: 78 additions & 0 deletions src/components/AttachmentCarousel/CarouselActions/index.native.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import React, {Component} from 'react';
import {PanResponder, Dimensions, Animated} from 'react-native';
import PropTypes from 'prop-types';
import styles from '../../../styles/styles';

const propTypes = {
children: PropTypes.element.isRequired,

/** Callback to fire when swiping left or right */
onCycleThroughAttachments: PropTypes.func.isRequired,

/** Callback to handle a press event */
onPress: PropTypes.func.isRequired,

/** Boolean to prevent a left swipe action */
canSwipeLeft: PropTypes.bool.isRequired,

/** Boolean to prevent a right swipe action */
canSwipeRight: PropTypes.bool.isRequired,
};

class Carousel extends Component {
constructor(props) {
super(props);
this.pan = new Animated.Value(0);

this.panResponder = PanResponder.create({
onStartShouldSetPanResponder: () => true,

onPanResponderMove: (event, gestureState) => Animated.event([null, {
dx: this.pan,
}], {useNativeDriver: false})(event, gestureState),

onPanResponderRelease: (event, gestureState) => {
if (gestureState.dx === 0 && gestureState.dy === 0) {
return this.props.onPress();
}

const deltaSlide = gestureState.dx > 0 ? 1 : -1;
if (Math.abs(gestureState.vx) < 1 || (deltaSlide === 1 && !this.props.canSwipeLeft) || (deltaSlide === -1 && !this.props.canSwipeRight)) {
return Animated.spring(this.pan, {useNativeDriver: false, toValue: 0}).start();
}

const width = Dimensions.get('window').width;
const slideLength = deltaSlide * ((3 / 4) * width);
Animated.timing(this.pan, {useNativeDriver: false, duration: 100, toValue: slideLength}).start(({finished}) => {
if (!finished) {
return;
}

this.props.onCycleThroughAttachments(deltaSlide);
this.pan.setValue(-slideLength);
Animated.timing(this.pan, {useNativeDriver: false, duration: 100, toValue: 0}).start();
});
},
});
}

render() {
return (
<Animated.View
style={[
styles.w100,
styles.h100,
{transform: [{translateX: this.pan}]},
]}
// eslint-disable-next-line react/jsx-props-no-spreading
{...this.panResponder.panHandlers}
>
{this.props.children}
</Animated.View>
);
}
}

Carousel.propTypes = propTypes;

export default Carousel;
Loading

0 comments on commit edd1455

Please sign in to comment.