Commit Graph

24 Commits

Author SHA1 Message Date
Thomas Sarkanen
d9ba2d3606 Tutorial content 'Next' button is now green, has text and is customizable
Rearranged layout/padding a little to compensate for larger apparent button size.
Kept larger button hitbox, which required some custom border handling for the button.

TTP# 348109 - EDITOR: TUTORIALS: Add green buttons to tutorials

[CL 2314257 by Thomas Sarkanen in Main branch]
2014-09-30 11:37:26 -04:00
Dan Hertzka
65a78f3211 Undoing changes to FText customization - as before, defaults to single line and specify multiline with "meta=(MultiLine="true")"
[CL 2311212 by Dan Hertzka in Main branch]
2014-09-26 12:26:56 -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
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
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
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
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
db1697046c Made tutorial title AssetRegistrySearchable.
[CL 2297919 by Thomas Sarkanen in Main branch]
2014-09-15 06:09:59 -04:00
Thomas Sarkanen
918ef98415 Tidied up Tutorials Browser
Tweaked padding and button styles so the layout is more consistent.
Add ability to display textures as icons in the browser (for categories and tutorials).

[CL 2292442 by Thomas Sarkanen in Main branch]
2014-09-10 12:30:30 -04:00
bruce nesbit
e2668e0932 Fixed mac compile error
[CL 2286181 by bruce nesbit in Main branch]
2014-09-05 08:50:05 -04:00
bruce nesbit
d60a5de509 Converted widget .Tag instances for tutorials to use MetaData
[CL 2286138 by bruce nesbit in Main branch]
2014-09-05 07:39:52 -04:00
Thomas Sarkanen
fa824aad40 Added more hyperlink types for tutorials
Added asset, code, tutorial and UDN hyperlinks. Tweaked UI to use combo box instead of the large amount of radio buttons it was using before.
Made sure importer & content use correct text styles.
Defaulted to rich text for content.

[CL 2284444 by Thomas Sarkanen in Main branch]
2014-09-04 09:59:45 -04:00
Michael Schoell
358bea4d7b Resolved issues causing an ensure to fire when compiling a Blueprint with an overide function.
Having a private function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a sealed function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a 'final' function with BlueprintImplementableEvent will now report as an error by the UHT.

#ttp 343140 - BP:  LIVE CRASH:  ensure((Function->FunctionFlags & FUNC_FuncOverrideMatch) == (OverridenFunction->FunctionFlags & FUNC_FuncOverrideMatch))

[CL 2283008 by Michael Schoell in Main branch]
2014-09-03 10:46:58 -04:00
bruce nesbit
5057e73315 Created a metadata type that details blueprint information for the tutorial widgets.
Revised the variable node and base node to populate and insert such a tag.

[CL 2282878 by bruce nesbit in Main branch]
2014-09-03 08:26:29 -04:00
bruce nesbit
a923c042f5 Revised several graphnode tags for tutorial widgets.
Added tutorial widget support for autofocus (for BP nodes

[CL 2276100 by bruce nesbit in Main branch]
2014-08-28 09:38:24 -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
Maciej Mroz
8487c15178 Better support for "EditInline"/"EditinlineNew" feature in UEngine::CopyPropertiesForUnrelatedObjects.
Invalid/useless "EditInline" tags removed. UHT generates error when "EditInline" is used for property other than Object reference (or an array).

#codereview Nick.Whiting

[CL 2274828 by Maciej Mroz in Main branch]
2014-08-27 14:39:09 -04:00
Thomas Sarkanen
1328ebc6ef Use the Asset Registry to discover tutorials
Fixed visibility issues where hyperlinks could not be clicked.
Implemented BP functions for tutorial stage completion etc.

[CL 2264228 by Thomas Sarkanen in Main branch]
2014-08-20 10:27:41 -04:00
Thomas Sarkanen
b7361dffe8 Tutorials 2.0: Adding new tutorial wizard and rich text support
Tutorials can now be created using the right-click asset menu->Misc->Tutorial Blueprint.
Importer allows you to pick a UDN file, which will then be converted into a new Tutorial Asset.

Adapted UDN parser to also output rich text format for the purposes of this importer. This may be deprecated at some point soon, once existing tutorials have been imported.

Rich text editor added to tutorial details customization. Features; font, color, size & hyperlinks for now.
Rich text display also added to content widgets.

Added option to optionally show the widget highlight if only the bubble widget is required.

#codereview Bruce.Nesbit

[CL 2256027 by Thomas Sarkanen in Main branch]
2014-08-14 07:02:50 -04:00
Thomas Sarkanen
a27980dcf0 Tutorials 2.0 - Initial version
NOTE: Old tutorials not deprecated (yet), but widget highlights in old tutorials will stop working with this change!

Added new Blueprintable UEditorTutorial object.
Added suite of widgets and details customizations to display tutorials.
New system is available on command line switch -NewTutorials.

Slate changes:
Tag names are now stored in SWidgets, rather than simply being discarded.
Removed STutorialWrapper in favour of using Tags.
Added Tags to more multibox widgets, so virtually all can now be picked.
Added SWindow::HasOverlay so we dont attempt to add overlays to widows that cannot have them.

[CL 2244216 by Thomas Sarkanen in Main branch]
2014-08-05 09:04:35 -04:00
Michael Noland
af217fe950 Editor: Add support for external modules to register tutorials with IntroTutorials (no builtins have been moved out yet)
[CL 2116143 by Michael Noland in Main branch]
2014-06-24 21:29:38 -04:00
Michael Noland
b6e9810498 Editor: Convert IntroTutorials to a module so other plugins can reference it
[CL 2116088 by Michael Noland in Main branch]
2014-06-24 20:14:23 -04:00