Julia Beliaeva
1d03a0db67
[lvcs] use SearchTextField for filtering by file name
...
When filtering by file name, having multiple lines in the filter component is not necessary and SearchTextField should be used in this case. Since SearchTextField and SearchTextArea have no common api, this commit adds SearchFieldComponent interface to use them interchangeably.
GitOrigin-RevId: 7bc84e9ed55c9630d6fa571b9e303c3d38871f81
2024-05-22 21:52:33 +00:00
Julia Beliaeva
a5b1cbfb22
[lvcs] install shortcuts for the next or previous actions only for content search
...
These actions navigate through matches in the diff panel and are useless for the filter by file.
follow-up: 2ce96bcb97736957bfb90a2e70ca05fada3f3d02
GitOrigin-RevId: cdb58b7ba8f07a5759ffadd7177705c61de65ee7
2024-05-22 21:52:33 +00:00
Julia Beliaeva
8f595865ad
[lvcs] simplify filtering by file and content
...
Since d5e67e968ac2c73ac18a29a12a2e35b2ba96dfcc local history has filtering for every scope, and only one kind of filter is used at each time, so filter handling can be simplified.
GitOrigin-RevId: 5f4742bd52a4c162a2699c383e65553338b857a5
2024-05-22 21:52:33 +00:00
Julia Beliaeva
994ea233d0
[lvcs] show all user labels after a change
...
Show the next event or user label that goes after a change, also show all the following user labels.
GitOrigin-RevId: 8cc9932c2d8672bc7bd33b2aae903718e204e441
2024-05-21 21:19:39 +00:00
Julia Beliaeva
003d94586f
[lvcs] show notification about label creation success or failure
...
When the label was successfully created, show a link to open project local history.
GitOrigin-RevId: afd5b8884dfd70b2e2bd1fe358e934ff9d19198e
2024-05-21 21:19:39 +00:00
Julia Beliaeva
a9b30dadfe
[lvcs] wrap user label addition into an action
...
This will ensure that the label is always inside its own change set and separate from the other changes.
GitOrigin-RevId: 4d3016cb7ac8f2a6615684167a11e7a5c8f60f91
2024-05-21 21:19:39 +00:00
Julia Beliaeva
d8b06497f6
[lvcs] use better presentation for single-change activity items
...
GitOrigin-RevId: 304ea72dc53f231ffd53746cbc416695f66b5b1f
2024-05-21 21:19:39 +00:00
Julia Beliaeva
02bcab70e3
[lvcs] add presentation provider for commands and external changes
...
GitOrigin-RevId: 11d1e009d5a05b94c5fc03cd245f8f4d736e110d
2024-05-21 21:19:39 +00:00
Julia Beliaeva
afc8d742bc
[lvcs] show directory differences in the changes browser
...
Do not filter out directory differences which represent created or deleted directories. Return PresentableChange for such differences but without the ability to create ChangeDiffRequestChain.Producer. Refactor classes to allow for two kinds of changes.
GitOrigin-RevId: 81a3418a4fc887028ee0ce193f5e7f22d81eae02
2024-05-21 21:17:32 +00:00
Julia Beliaeva
712765cac2
[lvcs] add a top border to the local history in the dialog
...
GitOrigin-RevId: 06414e13acfd26deefa6a0734a91b8cd0592b99f
2024-05-21 11:58:56 +00:00
Julia Beliaeva
436c69c20f
[lvcs] cleanup activity key names and text
...
GitOrigin-RevId: c37659d22e838d3236cd5bc790d00327b4f90ad3
2024-05-18 13:45:08 +00:00
Julia Beliaeva
c810a1f733
[lvcs] remove "Put Label" action from the "VCS Operations" popup
...
GitOrigin-RevId: 4280d22f0e4752a3207bfd75fb47b5dcebe13f2c
2024-05-18 13:36:17 +00:00
Julia Beliaeva
8d0c714a6f
[lvcs] remove unnecessary period in the notification text
...
GitOrigin-RevId: 3b6215dbb5d6599bd796787267ff981430806221
2024-05-17 19:16:15 +00:00
Julia Beliaeva
b091182efc
[lvcs] disable revert action for multi selection
...
GitOrigin-RevId: 0b6896a2a19f8fb5207d950e8bccadafd56c201f
2024-05-17 09:17:28 +00:00
Julia Beliaeva
f1a163561a
[lvcs] add a notification group for the local history
...
GitOrigin-RevId: b0982ade2b52f74f58bdd4c24de436f685edd85e
2024-05-17 09:17:28 +00:00
Julia Beliaeva
189a4a7ac8
[lvcs] cleanup: remove code duplication
...
GitOrigin-RevId: 4343c22274bce77de4696e3534bac17bdd27c931
2024-05-16 02:48:27 +00:00
Julia Beliaeva
9639f46a78
[lvcs] cleanup: do not use DirectoryChange
...
The ordinary Change behavior would be the same in this case.
GitOrigin-RevId: f613bdfdffced6c6d5c479c4d99a5ca427923b62
2024-05-16 02:48:27 +00:00
Julia Beliaeva
733e0e8955
[lvcs] cleanup: inline DirectoryChangeModel
...
GitOrigin-RevId: 9d2f3ad23899515b496c152f81b40ee209d20a4d
2024-05-16 02:48:27 +00:00
Julia Beliaeva
a4347f87bd
[lvcs] show local history for multiple files
...
IJPL-149496
GitOrigin-RevId: 9973d45a9ef9d8e2f203a5b6953404c66d0a5a06
2024-05-15 11:06:39 +00:00
Julia Beliaeva
a1a94e9d27
[lvcs] clarify revert action title
...
GitOrigin-RevId: 51c5638259889e1afeb3af0a258e364a40ea244b
2024-05-14 16:50:38 +00:00
Julia Beliaeva
0572acd8d3
[lvcs] mark actions internal
...
GitOrigin-RevId: 6497b0445d91f6bfeaa64f18bf3e66d6c3ccf1a1
2024-05-13 21:10:09 +00:00
Julia Beliaeva
4be4e180c3
[lvcs] add a test for the LocalHistoryActivityProvider
...
GitOrigin-RevId: c1d44c385169b4e8db22166e32b00bcbb7cf1cde
2024-05-11 18:51:45 +00:00
Julia Beliaeva
0f7c5e8ad7
[lvcs] do not include labels when filtering recent items by file name
...
GitOrigin-RevId: a141613b78cb8b4bbb037c7973991af7258ed414
2024-05-11 01:46:31 +00:00
Julia Beliaeva
9a9833f4de
[lvcs] remove obsolete properties
...
follow-up: abb5cac3e3976332e7c725ab04b31958a5b371bd
GitOrigin-RevId: 67598042e90407102436de2d046a3221122ad8c6
2024-05-11 01:46:31 +00:00
Julia Beliaeva
581f384e56
[lvcs] remove unused class
...
GitOrigin-RevId: c799f81365c09e131bab45f3782d1f7190ebf2a9
2024-05-11 01:46:31 +00:00
Julia Beliaeva
53bc9fa26a
[lvcs] allow to filter recent items by file name
...
GitOrigin-RevId: d5e67e968ac2c73ac18a29a12a2e35b2ba96dfcc
2024-05-10 17:40:02 +00:00
Julia Beliaeva
6642a79942
[lvcs] use named child scope for the ActivityView
...
GitOrigin-RevId: 4eaeead8ca2950ca99e025e0116de2f904cd6835
2024-05-09 06:42:43 +00:00
Julia Beliaeva
763a2d1fef
[lvcs] add @NotNull annotations
...
GitOrigin-RevId: 5ad6ddb90f18ca165fa1c9638605681a27fe3375
2024-05-08 17:04:22 +00:00
Julia Beliaeva
1235bbf62e
[lvcs] access ChangeList via LocalHistoryFacade and remove changeList field
...
GitOrigin-RevId: a963fbe2c5b01b890759760b5a48e2a89adda3c1
2024-05-08 17:04:22 +00:00
Julia Beliaeva
0f2db6dd0f
[lvcs] remove usage of the deprecated method
...
GitOrigin-RevId: fa5d1635f6caf8ab94b28ef4896e04bb3a5b767d
2024-05-08 16:21:38 +00:00
Julia Beliaeva
13db3750b8
[lvcs] sort paths to prevent test failures
...
GitOrigin-RevId: afa8d402126d27c38006bc5489391ff952156de0
2024-05-07 13:18:49 +00:00
Julia Beliaeva
091cb57dd3
[lvcs] walk directory tree only once
...
Co-authored-by: Aleksey Pivovarov <aleksey.pivovarov@jetbrains.com >
GitOrigin-RevId: 0e30a3cc8b60b3ff860c5aba00741d95e42f9da7
2024-05-06 21:14:56 +00:00
Julia Beliaeva
0124969389
[lvcs] create root entry only for the necessary paths when reverting to a label
...
IJPL-85173
GitOrigin-RevId: 0e91353c487004b002ee228758fd2328ab23582b
2024-05-06 21:14:56 +00:00
Julia Beliaeva
323f28a09b
[lvcs] cleanup test for reverting to a label
...
GitOrigin-RevId: 1ecaea9894527bca37255a27ab147be78e58c29b
2024-05-06 21:14:56 +00:00
Julia Beliaeva
1191a5d57f
[lvcs] rename test class
...
GitOrigin-RevId: a827368018421859cce72f62f23027970e90f5be
2024-05-06 21:14:56 +00:00
Julia Beliaeva
4f0a5c99a6
[lvcs] do not use HistoryDialogModel for reverting to the label
...
GitOrigin-RevId: d4d71b0360272065932f9d2df6c8682b483f4940
2024-05-06 21:14:56 +00:00
Julia Beliaeva
b887c74974
[lvcs] create root entry only for the necessary paths
...
Collect all the previous paths for the file or directory and create RootEntry only for these paths. This will improve the performance of computing diff and shorten the time spent under the read lock.
GitOrigin-RevId: 41cf847373ef6d1a53cb321fd27952bb670f3672
2024-05-06 21:14:56 +00:00
Julia Beliaeva
c08e8b5642
[lvcs] register unsaved documents before computing recent items
...
GitOrigin-RevId: b73597e5c40cb6da00845387c770568526d82f31
2024-05-06 21:14:56 +00:00
Julia Beliaeva
1f7d6c5691
[lvcs] cleanup: extract functions
...
GitOrigin-RevId: e7b1297a81411477646f078d6b47b1ba10e71002
2024-05-06 21:14:56 +00:00
Julia Beliaeva
67bccdcd13
[lvcs] allow creating RootEntry for a collection of files
...
GitOrigin-RevId: a13b6b391d58778f527454557e3b5216bf10a105
2024-05-06 21:14:56 +00:00
Julia Beliaeva
477d1336e5
[lvcs] create RootEntry only for the test root directory in the old ui model tests
...
GitOrigin-RevId: acca7ce8c9ebf41a59a5200c08befa8b515229f0
2024-05-01 22:44:31 +00:00
Daniil Ovchinnikov
ed1f907ab5
IJPL-797 intellij.platform.util: fix exposures of private indexing/storage APIs
...
GitOrigin-RevId: 72f00c9aedb6c0d1fef020108a64cae90c57943e
2024-05-01 14:00:39 +00:00
Daniil Ovchinnikov
b03b92e140
IJPL-148490 clean up empty file-classes from existing dumps
...
GitOrigin-RevId: ca701387e601a76ae25a3a31ca0a02432126e0fb
2024-04-30 20:39:42 +00:00
Vladimir Krivosheev
2308b1d43a
IJPL-973 extract intellij.platform.lvcs.impl (as it uses VCS impl)
...
GitOrigin-RevId: b884d5830b393bbea5320680dd1b47876e2b0d12
2024-04-29 15:44:29 +00:00
Julia Beliaeva
af276b5c40
[lvcs] create RootEntry only for the test root in the test code
...
IJPL-148491
GitOrigin-RevId: 7b13d70deb21ef209a7a8179701eb90cfde2ad82
2024-04-29 15:25:22 +00:00
Julia Beliaeva
f3a34f70f4
[lvcs] fix creating RootEntry for non-local files
...
For the virtual files in the non-local file systems, url instead of the path is used. Because of this, directory entry name for the non-local root starts with the protocol, which should be taken into account when matching with the target path.
GitOrigin-RevId: 783e95055d8546dcbf5e55d9d3e114f7a87a484e
2024-04-29 15:25:22 +00:00
Julia Beliaeva
5e752bafba
[lvcs] remove duplication in the functions for RootEntry creation
...
Introduce FileTreeVisitor for controlling, which paths are visited and included in the Entry tree.
GitOrigin-RevId: 07c3cf5e111db1c84676776dfdef5ebfb64dedf7
2024-04-29 15:25:22 +00:00
Julia Beliaeva
bcb8280d32
[lvcs] fix potential NPE
...
GitOrigin-RevId: 68211051e14b826b1cebf94b2134bb73a427e69a
2024-04-29 15:25:22 +00:00
Julia Beliaeva
3e9826c342
[lvcs] cleanup: extract method
...
GitOrigin-RevId: 3ccf6eed1c5100d3904de45efe0a44e2e41f1396
2024-04-29 15:25:22 +00:00
Julia Beliaeva
78f836d92b
[lvcs] cleanup: extract method
...
GitOrigin-RevId: 66f7bf67e2b4559d99689f00d6e4e720111c31dd
2024-04-29 15:25:21 +00:00