Commit Graph

79 Commits

Author SHA1 Message Date
Thomas Sarkanen
dfc9addd05 Tearing off a highlighted widget no longer results in duplicate content being displayed
Tutorials browser now always appears on the mainframe. This avoids the browser appearing on small torn-off windows if content is torn off while a tutorial is in progress.
Also fixed crash when opening a browser from a widget that used to be docked to anotehr tab (weak window pointer was invalid at this point).

TTP# 347014 - EDITOR: TUTORIAL: If a tab is undocked while being referenced in the "welcome to the unreal editor" tutorial, there will be two instances of the tutorial text

[CL 2305366 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:52 -04:00
Thomas Sarkanen
66a8835b2a Internal builds default to not showing tutorial alert pulse
This can be enbled internally by using the -TestTutorialAlerts command line switch.

[CL 2305359 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:41 -04:00
Thomas Sarkanen
4e909f8754 Dont show non-standard Blueprint Tutorials
Also allow tutorials to be hidden from the browser if necessary

TTP# 347111 - TUTORIALS:Tutorials browser shows MacroLibraries based on EditorTutorial class

[CL 2305308 by Thomas Sarkanen in Main branch]
2014-09-22 09:42:03 -04:00
Thomas Sarkanen
f9b46bc4d6 Correctly open tutorial when opening an asset for a tutorial.
Make sure we have an overlay constructed for the window we just created for the asset.

TTP# 347174 - TUTORIAL: When clicking on a sub editor tutorial, the tutorial does not automatically popup if the sub editor is not already opened

[CL 2305305 by Thomas Sarkanen in Main branch]
2014-09-22 09:41:50 -04:00
Thomas Sarkanen
696af0bf93 Tutorial alert now dismisses again when tutorial is taken
Undo issue caused by bad merge

#codereview James.Golding

[CL 2303871 by Thomas Sarkanen in Main branch]
2014-09-19 07:03:06 -04:00
Max Preussner
e877227b67 MessageLog: Added message tokens for tutorials
[CL 2303315 by Max Preussner in Main branch]
2014-09-18 18:59:55 -04:00
Thomas Sarkanen
27e2adfdc8 Sorted tutorials browser entries
So the list is stable, for now we do a simple alphabetical sort.

reviewed by James.Golding

[CL 2302982 by Thomas Sarkanen in Main branch]
2014-09-18 16:43:17 -04:00
James Golding
8469b0fc89 Fix tutorial not displaying if NULL window was passed in
#codereview thomas.sarkanen

[CL 2302957 by James Golding in Main branch]
2014-09-18 16:42:40 -04:00
Thomas Sarkanen
0155d729d9 Fixed crash on shutdown that for some reason was only happening on Mac.
reviewed by Mark.Satterthwaite

[CL 2302569 by Thomas Sarkanen in Main branch]
2014-09-18 13:31:03 -04:00
Thomas Sarkanen
86292b26f8 Fixed 'fallback' overlays appearing in multiple windows
Dont present the 'fallback' overlays unless in the primary ('navigation') window.

[CL 2302563 by Thomas Sarkanen in Main branch]
2014-09-18 13:30:40 -04:00
Thomas Sarkanen
7acd43b140 Fixed tutorials border blocking mouse input to widgets below
[CL 2302510 by Thomas Sarkanen in Main branch]
2014-09-18 10:43:35 -04:00
Thomas Sarkanen
8e1f08352e Fixed tutorial alert dismissal not always working
Tutorial alert also hides when the tutorial is taken.

[CL 2302491 by Thomas Sarkanen in Main branch]
2014-09-18 10:28:16 -04:00
Thomas Sarkanen
9aeed01b0f Fix perf regression introduced by tutorials
The tutorial overlay was traversing the widget hierarchy even if it had nothing to do.

[CL 2302426 by Thomas Sarkanen in Main branch]
2014-09-18 09:27:57 -04:00
Thomas Sarkanen
526414cc16 Added completion 'Tick' displayed in the browser
Shows when a tutorial has been completed.
Also added tooltips explaining what the icon means & a tooltip for the restart button.

[CL 2302400 by Thomas Sarkanen in Main branch]
2014-09-18 09:02:51 -04:00
Thomas Sarkanen
b9940a88f4 Tutorial button now provides more context menu options
You can access all context-sensitive options via the right-click menu.

Also exposed the ability to refresh available tutorials (as they may have bene reloaded since).

[CL 2302373 by Thomas Sarkanen in Main branch]
2014-09-18 08:32:42 -04:00
Thomas Sarkanen
e6e5825caf Widget-bound content that is no visible now falls back to rendering centred.
Previously it would just disappear, whihc was very confusing for users if they had not read the previous stage.

[CL 2302352 by Thomas Sarkanen in Main branch]
2014-09-18 08:11:35 -04:00
Thomas Sarkanen
f16191a679 CIS fix
[CL 2302316 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:41 -04:00
Thomas Sarkanen
304d700746 Added/edited extra tutorial contexts & added analytics
Tutorial contexts for IOS/Android/Whatever are now hooked up (console setup ones are still missing).

Analytics added for tutorial usage in various places.

Added ability to reset tutorial state with -ResetTutorials command-line flag.

Cleaned up some unused code (still a lot more to come here!).

[CL 2302314 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:29 -04:00
Thomas Sarkanen
6f1d963577 Adding image support to tutorial rich text
Improved text layout support when inserting runs/text or splitting lines on runs that were non-text (images or widgets). The text layout now inserts an extra text run when splitting a non-text run, which avoids issues where text was either being inserted into a non-text run (and vanishing), or an image run was being cloned (and appearing twice).

This also fixes the cursor movement in the multiline editable text when selecting over images or widgets (the cursor would jump to the start of the document as GetTextIndexAt hadn't been implemented. Additionally, it also fixes an issue where Measure was always trying to place the cursor at the end of an image run (ignoring the values of BeginIndex and EndIndex) which made the cursor offset draw in the wrong place.

These changes required the text layout to be able to create a default text run, which involved refactoring the text marshallers as the Slate text run now knows about the default text style, taking that responsibility away from the marshallers

Added tutorial-specific image decorator that accepts a content-relative or engine relative image path.

Added button to tutorial rich text editor to add new images.

All previously-imported images should still 'work'.

reviewed by Jamie.Dale,Nick.Atamas,Justin.Sargent

[CL 2302278 by Thomas Sarkanen in Main branch]
2014-09-18 08:09:29 -04:00
Thomas Sarkanen
5ac251775a CIS fix - non-unity build
[CL 2300834 by Thomas Sarkanen in Main branch]
2014-09-17 08:30:32 -04:00
Thomas Sarkanen
7f790bb5a0 Tutorial factories now import in the standard way
Added new factory for import.
Removed old import dialog - importing is now done via the import button or reimport... in the asset editor.
Added path that the file was imported from to UEditorTutorial.

[CL 2300765 by Thomas Sarkanen in Main branch]
2014-09-17 06:20:05 -04:00
Thomas Sarkanen
cae9246a71 Tutorials can now open an asset when started
The tutorial system will then attach non-widget-bound content to the asset editor window.
Also, assets can now be opened from a tutorial blueprint.

[CL 2300747 by Thomas Sarkanen in Main branch]
2014-09-17 05:44:56 -04:00
Thomas Sarkanen
ae4dc6337b Fixed navigation visibility
Navigation widgets no longer appear hovering over windows that do not use them

[CL 2300718 by Thomas Sarkanen in Main branch]
2014-09-17 04:54:45 -04:00
Dan Hertzka
8cd8b64e5f - Updated FText property editor customization to default to multiline
- Use "meta=(SingleLine=true)" in the UPROPERTY declaration to restrict the field to single line entry

[CL 2300083 by Dan Hertzka in Main branch]
2014-09-16 17:02:12 -04:00
Thomas Sarkanen
dd996369d7 Reworking navigation into content
Disabled floating navigation widget (but have not removed it yet).
Built navigation controls into the content widget.

[CL 2299461 by Thomas Sarkanen in Main branch]
2014-09-16 10:26:36 -04:00