Commit Graph

93 Commits

Author SHA1 Message Date
aditya ravichandran
ceb7ad2778 Content Browser: Immediately flush the config on adding/removing a folder from favorites to make sure it is saved if the editor crashes
#jira UE-109731
#rb JeanMichel.Dignard

[CL 25952129 by aditya ravichandran in ue5-main branch]
2023-06-13 11:00:32 -04:00
jamie dale
b95e92ef3d Content Browser UX improvements for cooked content
* Plugins that only contain cooked content (and have no C++ modules) no longer show their "Content" suffix.
* Folders that only contain private cooked content are no longer visible in the asset or path views.

#preflight 642f2e3cb306e98c632f0195
#rb Jason.Stasik, Aditya.RaviChandran

[CL 24994922 by jamie dale in ue5-main branch]
2023-04-11 14:22:33 -04:00
rex hill
700afabf83 Editor - Fix some favorites being deleted in content browser if plugin not mounted when settings loaded
#preflight skip

[CL 24620618 by rex hill in ue5-main branch]
2023-03-13 16:23:10 -04:00
lauren barnes
17a57fa4fa Fall back to EditorConfig version of content browser settings where it exists, removing some settings from per-instance settings
#jira UE-175898
#preflight 63fe5ff8ac6c61e2b553eea1

[CL 24454235 by lauren barnes in ue5-main branch]
2023-02-28 18:18:28 -05:00
sebastian nordgren
70676dac04 Selecting a folder in the Content Browser with an empty ContentBrowser.json config file no longer occasionally crashes.
The EditorConfig argument was being passed to SPathView as a raw pointer, but opening a new Content Browser tab or opening the drawer could cause the config array to be resized and invalidate the pointer.

Instead, the content browser instance name is now passed to SPathView and the config is looked up each time.

#rb aditya.ravichandran
#jira UE-175926
#preflight 63e24fb49910415ae2f603f5
#lockdown jeanmichel.dignard

[CL 24053956 by sebastian nordgren in ue5-main branch]
2023-02-07 13:43:08 -05:00
JeanMichel Dignard
38ef5daae8 Fixed truncation warnings in the ContentBrowser modules
#jira UE-166269
#rb yohann.dossantos
#preflight 63e12ffa797b029c0a6507fe

[CL 24032337 by JeanMichel Dignard in ue5-main branch]
2023-02-06 12:05:08 -05:00
julien stjean
55a1b3af29 Introducing the unsupported asset item for the content browser.
These are currently used to display the asset that are hidden by a backend class permission system.
They can also be restricted to some path only if desired.
Note: We will do a UX pass for the unsupported items after this is submitted and later we will also add some support for the unsupported asset to the alias data source.

#preflight 63dc23a7175a9839ac4cf474
#rb Jason.Stasik

[CL 24007061 by julien stjean in ue5-main branch]
2023-02-03 22:39:50 -05:00
aditya ravichandran
19023c5cb3 Content Browser: Fix an error that stopped you from being able to navigate folders by clicking
#fyi sebastian.nordgren
#rb trivial
#preflight 63c9a924c503023ab932f896

[CL 23779695 by aditya ravichandran in ue5-main branch]
2023-01-19 15:39:34 -05:00
sebastian nordgren
36d8937ee1 Content browser now restores the selected paths after a restart.
Selecting a content browser path now triggers an editor config save.

Added icon to Lock/Unlock Content Browser setting.

#review-23772163 @aditya.ravichandran
#preflight 63c94681b065224750208da9

[CL 23773172 by sebastian nordgren in ue5-main branch]
2023-01-19 09:57:32 -05:00
sebastian nordgren
de150ad082 Content browser settings moved to editor config system.
There are a few settings here that we use in places where it's ambiguous which content browser instance is triggering the change, and those have not been transferred over. A few settings also appear to now be unused, and those have also not been transferred.

Additionally, set the SetDisplayDeveloperFolder(bool, bool) functions which took an override variable have been deprecated, and the overrides moved to SAssetView variables directly - these were used after syncing content to temporarily override filters and weren't persisted.

Tested across 2 Content Browsers, toggling all settings enabled on one, and all setting disabled on the other, and checking that the settings persist across restarts of the editor.

#jira UE-150674
#review-23434533 @editor-ux
#preflight 63bd773868068a8bd64ea317

[CL 23626453 by sebastian nordgren in ue5-main branch]
2023-01-10 09:46:42 -05:00
sebastian nordgren
9ac4b73578 Dialogs that display a paths tree now also have a collapsible Favorites area.
Added SPathView::ShowFavorites option that adds a favorites view.

#review-23389633 @lauren.barnes
#jira UE-117906
#preflight 6390828f1776b8c21cf9d736

[CL 23427022 by sebastian nordgren in ue5-main branch]
2022-12-07 07:17:01 -05:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
bryan sefcik
435d89dea4 Manually updated a few files in Engine/Source/Editor/... to include some headers that were found to be missing after running IWYU.
#preflight 62cdac5084556536d0e57c64

[CL 21058996 by bryan sefcik in ue5-main branch]
2022-07-12 13:45:01 -04:00
dave belanger
b1c525af2b Move implementation of FContentBrowserVirtualPathTree::GetMountPointFromPath to FPathViews
#rb Rex.Hill
#preflight 62accbcdc0449d3dccd56ac1

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 20709056 via CL 20709527 via CL 20709609 via CL 20709671
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20732589 by dave belanger in ue5-main branch]
2022-06-19 23:39:22 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
julien stjean
61d7055b8b Improve the performence when expending all the folders of the SPathView widget.
From 4s to less than a 1 ms in the project TestEngine while expending all the folders.
The processing has been moved to the function populate where it take between 3 to 6 ms to run when needed.

#Jira UE-120967
#rb Jamie.Dale
#preflight 611d5567e7a30700013bc470

#ROBOMERGE-SOURCE: CL 17225662 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17225669 by julien stjean in ue5-release-engine-test branch]
2021-08-18 19:56:29 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
jamie dale
c2baa14e1b Sort asset names in a way that handles all trailing numbers, including fully numeric names
#jira UE-26544
#rb Jason.Stasik, Rex.Hill
#preflight 6101c74bff10730001d1d000

#ROBOMERGE-SOURCE: CL 16989447 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16989457 by jamie dale in ue5-release-engine-test branch]
2021-07-28 18:51:29 -04:00
Jamie Dale
3649fdd9e3 Suppress Tick from modal dialogs during rename finalization in the Content Browser
This can cause a reentrancy issue where the item currently being renamed is removed via an update while we're still processing it

#rb Francis.Hurteau

[CL 16412079 by Jamie Dale in ue5-main branch]
2021-05-20 18:56:49 -04:00
jonathan bard
3c9acb55e4 Fixed case sensitive sorting of folders in path view (not consistent with the folder view)
#rb rex.hill
#jira none
#rnx

[CL 16300184 by jonathan bard in ue5-main branch]
2021-05-12 11:35:31 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00