Commit Graph

256 Commits

Author SHA1 Message Date
george rolfe
c940de9f8b [ContentBrowser] Fix for UI regression
#jira UE-224634
#rnx
#rb aditya.ravichandran

[CL 36462382 by george rolfe in 5.5 branch]
2024-09-19 21:05:37 -04:00
jamie dale
86a3f58402 Fixed renaming or deleting a collection switching the Content Browser's asset view to show all assets
This bug was introdiced in 2231311, as it would set the sources data to empty (which means "show all") whenever a collection was renamed or deleted

#rb Rex.Hill
#rnx

[CL 36249728 by jamie dale in 5.5 branch]
2024-09-12 18:48:17 -04:00
rex hill
6f06406940 Content browser public asset support updated
#rb Dave.Belanger, Jamie.Dale
#rnx
#tests Cooked and uncooked editor, preflighted fully cooked build

[CL 35971470 by rex hill in ue5-main branch]
2024-09-03 12:51:06 -04:00
aditya ravichandran
a5db2bc248 TEDS-Content Browser prototype (2/2): Content Browser changes
CB: Add a ContentBrowserViewExtender class to allow systems to register a custom view in the content browser

CB: Make AssetViewTypes.h public

SAssetView: Add support for displaying a custom view
 - Not all actions are completely supported yet.

TEDS CB: Add a new TEDS driven content browser as a custom view behind a cvar
 - Displays data using the export text widget
 - Currently supports browsing, context menus and double clicking items to open/navigate

#jira UE-214550
#rb Julien.StJean

[CL 35703065 by aditya ravichandran in ue5-main branch]
2024-08-21 11:09:30 -04:00
halfdan ingvarsson
bf45d06236 Content Browser: Allow dragging folders into favorites to add them.
#rb Julien.StJean

[CL 35330749 by halfdan ingvarsson in ue5-main branch]
2024-08-06 00:22:45 -04:00
george rolfe
60e8efba18 [ContentBrowser] Fixed search bar sizing
[CL 35239028 by george rolfe in ue5-main branch]
2024-08-01 03:56:06 -04:00
andrea botti
6fe358e664 [ContentBrowser] Missing keybind for edit asset in the content browser
#rb brooke.hubert
#jira UE-180883

[CL 34979012 by andrea botti in ue5-main branch]
2024-07-22 07:10:24 -04:00
jeanmichel dignard
5994d605f6 Fixed using the "open content drawer" keyboard shortcut to dimiss the CB drawer:
- Expanded the API with explicit Open/Toggle/Dismiss CB drawer functions.
- Hooked the global editor command to toggle the CB drawer as users are used to.
- Requested a dismiss when using the shortcut from the CB search field.

#rb brooke.hubert, Cody.Albert
#jira UE-219442

[CL 34849775 by jeanmichel dignard in ue5-main branch]
2024-07-16 14:47:06 -04:00
george rolfe
94f3ff15a4 [Content Browser][New Style] Limited search bar width to 640px, moved breadcrumb to bottom
#jira UE-216444
#rb andrea.botti

[CL 34791241 by george rolfe in ue5-main branch]
2024-07-09 21:58:35 -04:00
andrea botti
335252abd2 [ContentBrowser] Content Browser Nav Bar should respect custom folder color
#rb Julien.StJean
#jira UE-214826

[CL 34640908 by andrea botti in ue5-main branch]
2024-06-25 10:05:18 -04:00
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