Commit Graph

246 Commits

Author SHA1 Message Date
george rolfe
d7d41b26cd [Content Browser] Style refresh preparation - local CB StyleSet and CVar toggle.
#rb aditya.ravichandran

[CL 34393816 by george rolfe in ue5-main branch]
2024-06-15 01:56:24 -04:00
matt peters
1e044e713f ContentBrowser: Suppress spurious refreshes when a console variable changes other than the AssetTools.EnablePublicAssetFeature that we are listening for.
#rnx
#rb Robert.Millar

[CL 34141966 by matt peters in ue5-main branch]
2024-06-05 17:49:06 -04:00
projectgheist
36016d6a81 PR: [ContentBrowser] Store SContentBrowser::bIsLocked by instance in INI
#rb brooke.hubert
#jira UE-178354
#10168

[CL 33722769 by projectgheist in ue5-main branch]
2024-05-17 09:46:44 -04:00
andrea botti
9c1aa7d20b [ContentBrowser] When CTRL+C on an asset can we copy the Package Path instead of the Class Path
Added 2 new commmands to copy the ObjectPath and the PackageName.
Leaved the CTRL+C keybind mapped to the same behavior as before.
Added new commands to the keybind system so that users can re-bind them.
Cleaned up some hardcoded checks for keys in the OnKeyDown.

#rb aditya.ravichandran, sebastian.arleryd
#jira UE-155995

[CL 33684273 by andrea botti in ue5-main branch]
2024-05-16 08:31:50 -04:00
andrea botti
9a37df1b9d [ContentBrowser] PathView SplitterSlot should save its size when closing/re-opening
PathView SplitterSlot is resetting its size value when closed, should keep it saved.

#rb aditya.ravichandran
#jira UE-214993

[CL 33659463 by andrea botti in ue5-main branch]
2024-05-15 11:16:53 -04:00
andrea botti
ee3f41426e [ContentBrowser] Filter Splitter slot in AssetView should not resize itself while resizing the whole CB panel
#rb aditya.ravichandran
#jira UE-214182

[CL 33607007 by andrea botti in ue5-main branch]
2024-05-13 14:40:52 -04:00
andrea botti
423be8eac0 [ContentBrowser] Sources Panel in content browser should not resize itself
#rb aditya.ravichandran, brooke.hubert
#jira UE-204825

[CL 33481785 by andrea botti in ue5-main branch]
2024-05-07 08:27:28 -04:00
robert millar
ccbf59717b Reimplement text filtering in the content browser to be performed asynchronously in parallel.
- FFrontendFilter_Text is deprecated in favor of FAssetTextFilter.
- FAssetTextFilter can be compiled and then the compiled filter cloned for use in parallel.
- Change FFrontendFilter_CustomText to work by merging its query with FAssetTextFilter instead.
- Deprecate UTextFilter*Handler classes and replace with an explicitly registered interface for thread safety.
Refactor item storage in SAssetView:
- FAssetViewItemCollection stores items and handles threading/updates
- Items are stored linearly in an array with an external lookup for simpler filter progress handling
- FHashTable used for lookup can be built & deduplicated in parallel
Other changes and optimizations
- Move AssetViewTypes.h header to private directory as it was had no DLL exported members anyway.
- When SAsset view receives a new backend filter, check if it's different before requesting a full refresh.

#rb aditya.ravichandran, Julien.StJean

[CL 33396639 by robert millar in ue5-main branch]
2024-05-02 10:54:03 -04:00
robert millar
496ccaa73a New "Show Other Developers" filter implemented as modification to backend query to avoid processing each item in time-sliced frontend filter.
Use path permission lists to hide developer folders other than the current user.

#rb Julien.StJean

[CL 33378078 by robert millar in ue5-main branch]
2024-05-01 14:18:12 -04:00
robert millar
ef18d00084 Disable plugin path filters when trying to sync the content browser into a folder they hide
#rb aditya.ravichandran

[CL 33304586 by robert millar in ue5-main branch]
2024-04-29 12:38:21 -04:00
robert millar
539d31a3d6 Remove selected paths from non-per-workspace editor config.
[CL 33304048 by robert millar in ue5-main branch]
2024-04-29 12:28:45 -04:00
robert millar
0ca0ab5e5b Only register OnShouldFilterItem callback when necessary to avoid extra cost in filtering.
#rb aditya.ravichandran, Julien.StJean

[CL 33236257 by robert millar in ue5-main branch]
2024-04-25 13:05:04 -04:00
robert millar
c14b76cda4 Allow navigation bar to accept more types of paths to navigate.
- Object path
- Export text path
- Disk path to asset file
- Non-virtual package path
Don't force path tree to repopulate when navigating unless navigating to a folder that isn't present in the tree.
Don't query backend for crumbs to navigate to every frame.

#rb aditya.ravichandran

[CL 33188389 by robert millar in ue5-main branch]
2024-04-23 20:33:38 -04:00
robert millar
4f09b9f494 Fix filtering out developer folders from favorites view without meaning to.
[CL 33016833 by robert millar in ue5-main branch]
2024-04-16 18:01:22 -04:00
robert millar
d62b07ef66 [Backout] - CL33008647
[FYI] robert.millar
Original CL Desc
-----------------------------------------------------------------
Fix filtering out developer folders from favorites view without meaning to.

[CL 33012756 by robert millar in ue5-main branch]
2024-04-16 16:14:22 -04:00
robert millar
27c8b3bf1b Fix filtering out developer folders from favorites view without meaning to.
[CL 33010231 by robert millar in ue5-main branch]
2024-04-16 15:07:35 -04:00
rex hill
686d37f8dc AssetRegistry - Optimize unmount and delete asset by converting a TArray to TSet
#jira UE-212307
#rb matt.peters

[CL 32970020 by rex hill in ue5-main branch]
2024-04-15 09:02:03 -04:00
andrea botti
3487208558 [ContentBrowser] Impossible to save asset in Engine / Plugins / Developers folder in the asset picker dialog
#rb aditya.ravichandran
#jira UE-194988

[CL 32928091 by andrea botti in ue5-main branch]
2024-04-12 09:47:28 -04:00
robert millar
2f7c33f941 Fixing bugs with favorites path view.
- Fix use of per-content browser settings in favorites view.
- Fix 'empty folder' filtering to work the same in initial population and incremental updates.
- Correctly populate visible root items after incremental updates when filter is inactive.

[CL 32799503 by robert millar in ue5-main branch]
2024-04-08 14:16:16 -04:00
robert millar
b0c6b87f52 Optimizing population and filtering of SPathView
- Decouple population from text filtering
- Factor out tree data from widget as a precursor to being able to bind data externally
- Search for parents to build from leaf to root rather than reverse

#rb aditya.ravichandran, Julien.StJean

[CL 32700859 by robert millar in ue5-main branch]
2024-04-03 12:22:14 -04:00
robert millar
06db76b50a Make "Show Redirectors" and "Show Empty Folders" cooperate
- Move redirector filtering into backend
- Add a custom filter into SFilterBar to maintain old UI for redirector visibilty

[CL 32257795 by robert millar in ue5-main branch]
2024-03-14 16:17:37 -04:00
robert millar
8b62ea7bda SNavigation bar control for content browser path navigation.
Combo box with history dropdown.
Conversion to edit text box by clicking in blank space or F4 key.
Auto-complete for suffixes of currently typed path.

#rb aditya.ravichandran

[CL 31356550 by robert millar in ue5-main branch]
2024-02-09 16:41:31 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
dave belanger
d5bc7391ec Automatically make an asset public when moving it in another plugin if it's going to be referenced from another plugin after the move (including redirectors)
Don't move an asset if it cannot be made public or if it ends up referencing a private asset that's not being moved or if a dependent asset cannot be moved to a different plugin
Only enabled if AssetTools.EnablePublicAssetFeature cvar is set (which replaces ContentBrowser.PublicAsset.EnablePublicAssetFeature)
#rb Rex.Hill
#rnx

[CL 30595439 by dave belanger in ue5-main branch]
2024-01-12 11:54:15 -05:00
kerim borchaev
a04e402091 Added tag metadata to items in New Asset menu of Context Browser
#rb logan.buchy

[CL 29228979 by kerim borchaev in ue5-main branch]
2023-10-30 06:33:19 -04:00