overleaf/services/web/frontend
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
..
fonts Add font-weight range and remove webkit prefix for Material Symbols (#11730) 2023-02-17 09:04:55 +00:00
js Add default pathname logic on history react file tree (#12505) 2023-04-12 08:04:58 +00:00
macros Merge pull request #4101 from overleaf/ae-settings-module 2021-07-08 02:08:28 +00:00
stories Merge pull request #12549 from overleaf/ii-history-react-list-of-all-versions 2023-04-12 08:03:47 +00:00
stylesheets Merge pull request #12387 from overleaf/jk-split-button-tweaks 2023-04-12 08:04:28 +00:00
extracted-translations.json Merge pull request #12342 from overleaf/jk-password-ux-please-use-another-password 2023-04-12 08:04:13 +00:00
translations-loader.js Merge pull request #3589 from overleaf/i18next-scanner 2021-02-11 03:04:29 +00:00