overleaf/services
M Fahru fb6746a887 Add default pathname logic on history react file tree (#12505)
On history react, when the initial screen has been loaded, no default pathname is selected. This PR adds logic for selecting default pathname and getting the diff for that pathname.

Also, add some other small changes, the notable ones are:

- Refactor some type naming and file structure related to the history file tree
- Refactor file tree selectable hooks (merge selectable context provider into the main provider)
- prevent clicking on the same file tree item by checking the current pathname before invoking the handler function

GitOrigin-RevId: 73c36e9ed918ae3d92dd47108fbe8542a7571bdd
2023-04-12 08:04:58 +00:00
..
chat Merge pull request #11909 from overleaf/jpa-update-build-scripts 2023-02-22 09:03:57 +00:00
clsi Merge pull request #12203 from overleaf/em-camel-case-clsi 2023-03-23 09:04:46 +00:00
contacts Merge pull request #12204 from overleaf/em-camel-case-contacts 2023-03-16 09:05:34 +00:00
docstore Merge pull request #12375 from overleaf/jpa-fix-size 2023-03-30 08:02:57 +00:00
document-updater Merge pull request #12206 from overleaf/em-camel-case-docupdater 2023-03-22 09:04:37 +00:00
filestore Merge pull request #11908 from overleaf/jpa-fix-build-cache 2023-02-22 09:04:07 +00:00
git-bridge Merge pull request #12551 from overleaf/msm-git-bridge-vulnerabilites 2023-04-12 08:03:57 +00:00
history-v1 Merge pull request #11914 from overleaf/ae-develop-project-history 2023-03-07 09:05:10 +00:00
notifications Merge pull request #12208 from overleaf/em-camel-case-notifications 2023-03-17 09:05:29 +00:00
project-history Merge pull request #12210 from overleaf/em-camel-case-project-history 2023-03-21 09:05:13 +00:00
real-time Merge pull request #12211 from overleaf/em-camel-case-real-time 2023-03-21 09:05:37 +00:00
spelling Merge pull request #12213 from overleaf/em-camel-case-spelling 2023-03-16 09:05:26 +00:00
track-changes Merge pull request #12218 from overleaf/em-camel-case-track-changes 2023-03-22 09:04:47 +00:00
web Add default pathname logic on history react file tree (#12505) 2023-04-12 08:04:58 +00:00