1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/webroot/rsrc/js/application/diffusion
Benjamin Kausch 87db482897 Adds "Locate File" input to every browse directory view in Diffusion
Summary:
Ref T15645

The very helpful "Locate File" input in Diffusion was so far only visible in the homepage route of any repository (`/repository`).

With this revision you can now locate a file from every browsed directory and in any selected commit.

The finder was already "directory sensitive" meaning: if you are trying to locate a file from within a browsed directory, only the children of this path will be searched.

For the searching in a specified commit (for example: https://we.phorge.it/source/phorge/browse/master/src/;05f4d5071fdca02123bd1ff4c0935b847c7f9963), I had to do a little JS magic adding the commit to the URI on the client side.

Test Plan: Checkout, browse through your repos with Diffusion trying to find files. (I tested only with Git repos.)

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15645

Differential Revision: https://we.phorge.it/D25521
2024-01-28 12:51:35 +01:00
..
behavior-audit-preview.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
behavior-commit-branches.js Various linter fixes. 2014-02-26 12:44:58 -08:00
behavior-commit-graph.js Set an explicit height when drawing the dependent revision graph 2020-10-16 14:10:36 -07:00
behavior-locate-file.js Adds "Locate File" input to every browse directory view in Diffusion 2024-01-28 12:51:35 +01:00
behavior-pull-lastmodified.js Make Diffusion "Last Modified" rendering less fragile 2015-10-07 07:32:27 -07:00
DiffusionLocateFileSource.js Locate File: allow to search './path/to/something.txt' 2023-07-04 17:12:57 +02:00
ExternalEditorLinkEngine.js Make "Open in Editor" use the simple line number of the current selected block 2020-05-21 15:31:16 -07:00