Commit Graph

112 Commits

Author SHA1 Message Date
patrick enfedaque
5624350af2 StatusBar Notifications: Disable fade-in/out slate throttling for progress status notification
Any world tick process was getting impacted by this non-interactive throttling (BiomeCore 1second added walltime on graph regen)

#jira UE-209977
#rb Matt.Kuhlenschmidt
#rnx

[CL 32478133 by patrick enfedaque in ue5-main branch]
2024-03-25 14:27:04 -04:00
wouter burgers
b96d8d30b2 SkeinUE: Refactored SSourceControlControls.
The SSourceControlControls is currently instantiated in two places in the editor: bottom right and as part of the snapshot history panel. Regardless, we would like the behavior of these buttons to be the same. This was accomplished by providing 'defaults' in SourceControlMenuHelpers and then setting temporary 'overrides' in SnapshotHistoryPanel. This wasn't very pretty and somewhat confusing with SSourceControlControls providing a mix of instance and static interfaces and behaviors. I've refactored this with the idea in mind that these buttons should behave similar, wherever they are placed in the editor and providing static methods to control that behavior. The default behavior is now no-op and SnapshotHistory provides the UEFN/Skein behavior.

This also allowed the 'CanAutoSave' code to live in one location (in the SnapshotHistoryController) instead of being duplicated in two spots. This was also not possible because engine code cannot be accessed from SkeinSourceControlSlate, where the SSourceControlControls was being instantiated, resulting in the behavior as described in the JIRA bug.

#rb manuel.lang, marco.anastasi

[CL 31796796 by wouter burgers in ue5-main branch]
2024-02-26 03:57:11 -05:00
marco anastasi
34693955b2 Some on-hover tooltips are missing or wrong in the Snapshot History tab
#rb wouter.burgers

[CL 30536821 by marco anastasi in ue5-main branch]
2024-01-10 10:47:34 -05:00
wouter burgers
92e74b4c79 Skein / Snapshot History: Add 'View Snapshot History' menu item to Revision Control menu in Status Bar.
#rb Marco.Anastasi
#rnx

[CL 30012929 by wouter burgers in ue5-main branch]
2023-11-30 07:58:07 -05:00
wouter burgers
9dce208c39 UEFN / Skein: Fixed 'Sync To Latest' functionality moving the user out of their selected 'EditorMode' and losing a part of their progress, by disabling the SourceControl 'Check In Changes' and 'Sync Latest' buttons while an interactive tool is active.
#rb Jamie.Dale, Manuel.Lang, Marco.Anastasi
#rnx

[CL 30010665 by wouter burgers in ue5-main branch]
2023-11-30 03:37:36 -05:00
marco anastasi
0eb858d5d9 * Created Snapshot History Tab structure
* Created Date Picker Widget
* Created Source Control Controls Widget
* Refactored Status Bar menu to use Source Control Controls Widget

#rb wouter.burgers, stuart.hill

[CL 29864023 by marco anastasi in ue5-main branch]
2023-11-21 09:56:04 -05:00
jeanmichel dignard
87677cc4f9 UStatusBarSubsystem
- Don't close an already opened content drawer when calling UStatusBarSubsystem::OpenContentBrowserDrawer.
- UStatusBarSubsystem::OpenContentBrowserDrawer is calling ToggleContentBrowser which closes an opened content drawer. Will now skip calling Toggle if the content drawer is already opened for the parent window.
- Replaced a bunch of autos.

#jira
#rb brooke.hubert

[CL 28755787 by jeanmichel dignard in ue5-main branch]
2023-10-13 11:59:12 -04:00
wouter burgers
481065335e Skein / ConflictUE: Add 'Reference viewer' icon and functionality to relevant assets.
- Also updated UI to latest Figma designs.
- Also updated texts to latest ProductSpec ones.

#rb manuel.lang, marco.anastasi
#rnx

[CL 28748636 by wouter burgers in ue5-main branch]
2023-10-13 08:13:09 -04:00
ben hoffman
f91d04e426 Editor | Add mechanism for extending the global status bar elements (Content Browser and Output Log buttons)
#rb sebastian.arleryd, aditya.ravichandran

#ushell-cherrypick of 28578790 by gabriel.wreczycki

[CL 28582153 by ben hoffman in ue5-main branch]
2023-10-09 10:34:07 -04:00
wouter burgers
1702425807 Skein / ConflictUE: Add conflict information to StatusBar.
Why? These buttons have to behave differently when there are unresolved conflicts remaining.

Note that it isn't possible to add a build dependency from a module in /Engine to the Skein module in /Engine/Plugins, hence the cvar/ccmd approach.

#rb manuel.lang, marco.anastasi
#rnx

[CL 28220661 by wouter burgers in ue5-main branch]
2023-09-26 06:31:30 -04:00
wouter burgers
3500d71466 SourceControl: The ChoosePackagesToCheckIn operation should optionally perform a sync ('pull-before-push' model) for snapshot based source control systems.
Skein, the only provider that returns 'true' for 'UsesSnapshots()' requires the user to be at head when doing a check-in operation, or the check-in will fail.
This is enforced within the plugin, not the CLI, by performing an FSync prior to doing an FCheckIn. It's not easy to do the sync within the CLI as part of the check-in as the editor doesn't release its file locks when doing an FCheckIn, causing syncs to fail.
For this, a code path was introduced in SourceControlMenuHelpers that triggers a sync before triggering the check-in, when clicking the 'Check In Changes' button visible in the bottom right of the editor within UEFN.
However, this approach fails if other code paths in the editor call ChoosePackagesToCheckIn directly. This is known to happen for the MainFrame's "Submit Content" action, which was therefore disabled for Skein in #26272334, but the issue could be more widespread.

To provide a definitive fix for this issue, the sync is moved to within ChoosePackagesToCheckIn, triggered only when 'UsesSnapshots()' is true, which effectively means Skein only.

#rnx

[CL 27582511 by wouter burgers in ue5-main branch]
2023-09-04 04:10:36 -04:00
Patrick Enfedaque
33db3947b5 Uncontrolled Changelist: Show 'View Changelists' button if provider uses Uncontrolled Changlists (re-enables it for Default provider)
#jira none
#rb luc.eygasier
#rnx

[CL 26009321 by Patrick Enfedaque in ue5-main branch]
2023-06-15 07:08:48 -04:00
jonathan bard
7a170c9f24 A couple of adjustments to console input :
* Closed the suggestion box when using the keyboard shortcut (tilde key, usually) to switch between status bar console input to output log console input
* Auto-adjusted the editable text box size so that we better see the content for long console commands

#rb sebastian.arleryd
#preflight 647715d80848b7126daffd3f

[CL 25700377 by jonathan bard in ue5-main branch]
2023-05-31 09:09:27 -04:00
wouter burgers
2f30b42b92 SkeinUE: When using the CHECK-IN CHANGES button, perform a SYNC first, as the API expects pull-before-push.
#preflight none

[CL 25282069 by wouter burgers in ue5-main branch]
2023-05-01 02:05:33 -04:00
aditya ravichandran
834a76abaf Change the combo buttons on the status bar to use the regular "SimpleComboButton" style with chevrons
#jira none
#rb karen.jirak
#preflight 644acad4693defa68d94ce45

[CL 25221777 by aditya ravichandran in ue5-main branch]
2023-04-27 15:33:10 -04:00
danny couture
44feebaf96 Avoid crashing when starting progress notification while slate is still uninitialized
#rnx
#rb Lauren.Barnes
#preflight trivial

[CL 25199531 by danny couture in ue5-main branch]
2023-04-26 11:42:18 -04:00
scott nelson
15371dad4c Fix entity delete and right click save on level assets not generating UEFN Playsets
#rb Dave.Belanger
#preflight 6441bc6f641e2c3cb462a5bf

[CL 25175438 by scott nelson in ue5-main branch]
2023-04-24 23:20:03 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
wouter burgers
74d303ad20 SourceControl: Don't enable check-in changes button when there are unsaved changes. After those changes are saved to disk, there exists a window of time before the provider realizes there are changes, resulting in the button temporary switching back to 'No Changes' before re-activating 'Check-In Changes' again.
This was deemed problematic, so falling back to old behavior.

#preflight none

[CL 24499678 by wouter burgers in ue5-main branch]
2023-03-03 11:21:12 -05:00
marco anastasi
76fe6ff5f9 Trigger an autosave if there are any unsaved changes when a user clicks "check-in changes".
[CL 24444892 by marco anastasi in ue5-main branch]
2023-02-28 12:13:31 -05:00
Juan Portillo
49a7cc6362 Status Bar:
- Added option to unregister a Drawer

#jira none
#rb daren.cheng
#preflight 63fc8f13437ce3e7f31189ce

[CL 24421178 by Juan Portillo in ue5-main branch]
2023-02-27 06:21:40 -05:00
marco anastasi
641c93f543 Updated icons for Check-in Changes and Sync Latest status bar buttons
#rb wouter.burgers
#preflight 63f3d7321d71bcd2624a4feb

[CL 24332254 by marco anastasi in ue5-main branch]
2023-02-20 21:07:58 -05:00
aditya ravichandran
2997375da6 Status Bar: Add a separator after the Unsaved Assets widget
#rb logan.buchy
#preflight 63f3e80c6a22bef8c0a9821e

[CL 24329165 by aditya ravichandran in ue5-main branch]
2023-02-20 17:59:49 -05:00
christopher waters
73c74eaf42 Removing redundant include paths:
- PublicIncludePaths.Add(ModuleDirectory + "/Public");
- PrivateIncludePaths.Add("<module name>/Private");

#preflight 63ef03623c1eb56f057db7de

[CL 24285283 by christopher waters in ue5-main branch]
2023-02-17 12:45:29 -05:00
wouter burgers
eb788a24bc SkeinUE: Only enable the 'Revert All' option if there is anything to revert.
#preflight none

[CL 24282754 by wouter burgers in ue5-main branch]
2023-02-17 11:00:54 -05:00