Commit Graph

30 Commits

Author SHA1 Message Date
Richard Hinckley
4ba3b8b2f1 [UE-9586] The "Back" button in tutorials can be linked to a different tutorial, like the "Next" button. Tutorials assigned to the "Previous Tutorial" field (new) will be used for this, and will activate the button for this purpose on stage 0. Tutorials started in this way will begin on their final stage. The Launch Tutorial functionality (in code) now uses an enum for startup instead of a bool, so we can force a restart, continue from where we left off (default), or start at the final stage.
[CL 2500370 by Richard Hinckley in Main branch]
2015-04-02 16:56:18 -04:00
Richard Hinckley
7588d10092 UE-7933 - Added functionality to dismiss a summoned tutorial browser. This functionality is triggered when a tutorial is launched from the browser.
[CL 2422250 by Richard Hinckley in Main branch]
2015-01-28 10:52:33 -05:00
Richard Hinckley
af4e486a74 UE-7990 - Fixed with a decent Slate widget.
[CL 2420847 by Richard Hinckley in Main branch]
2015-01-27 14:54:15 -05:00
Ben Marsh
0d751ff56f [INTEGRATE] Change 2418658 by Jamie.Dale@Pitbull_JDaleReleases on 2015/01/26 11:10:25
Added a "Play" button to editor tutorial assets in the Content Browser

	UE-7970 - Add small 'play' button to EditorTutorial asset thumbnail

	"EditorTutorial" now provides some class type actions which show a "Play" button on Blueprints that derive from it.

	ReviewedBy Thomas.Sarkanen

[CL 2419742 by Ben Marsh in Main branch]
2015-01-26 20:22:38 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Thomas Sarkanen
819d171331 Restructured tutorial analytics events
Where dynamic event names were being constructed from tutorial assets, now reworked events to add a dynamic parameter.

UE-4978 - Restructure Tutorial Analytic Events

[CL 2377327 by Thomas Sarkanen in Main branch]
2014-12-05 05:33:09 -05:00
Mikolaj Sieluzycki
51f5333986 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356864 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:58:53 -05:00
Jamie Dale
b903ba8d80 Added support for disabling tab spawner menu entries
You could previously only have them enabled or hidden, you can now add them as disabled.

You can also now bind the menu item state to a delegate to let it update after the tab spawner has been registered.

#codereview Nick.Atamas

[CL 2341064 by Jamie Dale in Main branch]
2014-10-27 09:51:25 -04:00
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -04:00
bruce nesbit
3d564d83e5 Added Tab focus field for tutorials.
[CL 2334438 by bruce nesbit in Main branch]
2014-10-20 08:15:36 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Thomas Sarkanen
3014bfc0df Moving tutorial browser to an editor nomad tab
Tweaked styles and layout to better suit a tab.
Also fixed browser not showing some tutorials if all assets are not yet loaded.
Progress is now updated periodically as the browser can be now open while a tutorial is in progress.

TTP# 347956 - TUTORIALS: Selecting More Tutorials can hide Tutorial Browser

[CL 2327011 by Thomas Sarkanen in Main branch]
2014-10-13 06:46:06 -04:00
Thomas Sarkanen
aad459c06d Cleaned up unused old tutorial system files
[CL 2322619 by Thomas Sarkanen in Main branch]
2014-10-08 09:58:44 -04:00
Thomas Sarkanen
4b0cf0acc2 Re-enable documentation link for HTML5, PS4 & XboxOne 'missing SDK' when packaging
Added a fallback to treat the path passed-in as a documentation path if the asset path doesnt correspond to a BP.

[CL 2309566 by Thomas Sarkanen in Main branch]
2014-09-25 05:55:15 -04:00
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
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
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
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
692f471915 New tutorials are now enabled by default
Removed command-line option and older tutorials

[CL 2295096 by Thomas Sarkanen in Main branch]
2014-09-12 09:54:43 -04:00
Thomas Sarkanen
d303ca0e26 Added intro animation to tutorials
Intro 'bounce' is driven by a float curve asset.
Because of rich text not working very well when zoomed at the moment, only the border is zoomed when animating. The content has the inverse zoom applied to it to counter this.

[CL 2290861 by Thomas Sarkanen in Main branch]
2014-09-09 12:19:28 -04:00
Thomas Sarkanen
8dc16308f3 Added tutorials button in top bar of editor & sub-editors
Icon is only visible if content is available for the editor in question.
Split editor settings into two groups - one is persistent settings and one is progress/state.
Tutorials record their dismissed state, so users can permenantly disable the 'nag' for a particular tutorial.
Tutorial content now solidifies when the mouse is hovered over it, so it can be made easier to read.
Fixed crash on startup if an intro tutorial was displaying rich text.
Also fixed crash for TTP# 345094, where a zero-length tutorial was being accessed.

[CL 2275934 by Thomas Sarkanen in Main branch]
2014-08-28 06:22:40 -04:00
Mark Satterthwaite
b758547a2f Fix a couple of windows being added as children when that won't work properly on OS X.
#codereview michael.trepka

[CL 2274252 by Mark Satterthwaite in Main branch]
2014-08-27 14:11:24 -04:00
Dmitry Rekman
f23507dd86 Allow disabling UI of tutorials while keeping the module intact.
Arguably sweeping a problem under the rug for now, but NullWidget added by STutorialRoot is apparently causing problems on Linux, so ability to disable UI (per platform) is helpful in the short term.

#codereview Thomas.Sarkanen, Nick.Atamas

[CL 2267004 by Dmitry Rekman in Main branch]
2014-08-22 01:17:00 -04:00