overleaf/services/web/frontend/js
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
..
directives Merge pull request #10785 from overleaf/ae-mathjax-inline-single-dollar 2022-12-09 09:04:25 +00:00
features Add default pathname logic on history react file tree (#12505) 2023-04-12 08:04:58 +00:00
filters Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
ide Jump to line after the stored scroll position has been restored (#12324) 2023-03-30 08:03:25 +00:00
infrastructure Clear performance measures when switching editor modes (#11430) 2023-01-25 11:47:14 +00:00
main Always use mockable location methods (#11929) 2023-03-17 09:05:21 +00:00
modules Merge pull request #9006 from overleaf/jpa-sentry-error-context 2022-07-29 08:04:35 +00:00
pages Merge pull request #12185 from overleaf/jpa-fix-segmentation 2023-03-17 09:06:08 +00:00
services Merge pull request #5367 from overleaf/jpa-node-handle-callback-err 2021-10-28 08:03:26 +00:00
shared Merge pull request #12434 from overleaf/ii-history-react-feature-flag 2023-04-04 08:03:50 +00:00
utils Merge pull request #11530 from overleaf/ii-payment-page-migration-checkout-panel 2023-02-07 09:04:53 +00:00
vendor/libs Merge pull request #10505 from overleaf/td-share-js-memory 2022-11-22 09:04:27 +00:00
base.js Merge pull request #5071 from overleaf/jpa-web-learn-de-ng 2021-09-16 08:03:43 +00:00
cdn-load-test.js Merge pull request #5515 from overleaf/jpa-new-cdn-caching 2021-10-22 08:03:56 +00:00
i18n.js Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
ide.js Add react file tree UI to history view (#12357) 2023-03-30 08:04:17 +00:00
libraries.js Merge pull request #5808 from overleaf/revert-5736-ab-drop-ie11-polyfill 2021-11-17 09:04:23 +00:00
main.js Merge pull request #10875 from overleaf/mj-angular-settings-cleanup 2022-12-21 09:04:12 +00:00
marketing.js Add cookie banner (#6627) 2022-04-05 12:17:25 +00:00
tracing.js Merge pull request #10279 from overleaf/jpa-tracing-optimizations 2022-11-04 09:05:00 +00:00