JourneyApps Container v4.50
We’re happy to announce v4.50 of the JourneyApps Container. This release features improved navigation tools and some visual updates to our components.
New & improved navigation tools
The new:
We’ve added two new actions to our navigation arsenal: navigate.replace
and navigate.clear
. replace
replaces the current view with the target view, keeping the view stack at the same size, while clear
removes all views from the view stack and navigates to the target view.
The improved:
We’ve improved the usage of all navigation functions within our apps.
All navigation functions are now bound to the
navigate
namespace.View paths are provided as strings, and not in dot notation anymore.
All navigation functions save view state by default. Use
discard
in conjunction with any other navigation function to discard view state.
Examples:
link.path()
becomesnavigate.link("path")
link.path(param1)
becomesnavigate.link("path", param1)
Using discard
:
navigate.discard().dismiss("path")
navigate.discard().link("path")
navigate.discard().clear("path")
navigate.discard().replace("path")
These new tools will enable you to design more intuitive navigation within your apps. See View Navigation for more details.
Backward compatibility maintained:
Current navigation functions (
link
,dismiss
anddiscard
) will keep on working as is, but have been deprecated. We implore developers to migrate to thenavigate
namespace, since all future navigation updates will be applied to thenavigate
namespace only.
Dialog updates
We’ve reworked the look and feel of dialogs within our apps, and we’ve added extra functionality:
All dialogs’ buttons’ colors can be specified.
You can specify the text on a normal dialog’s (
dialog()
) button.
Changelog
added:
navigate
namespaceadded:
navigate.discard
,navigate.link
,navigate.dismiss
,navigate.clear
andnavigate.replace
added: Ability to specify
dialog()
button text and coloradded: Ability to specify
confirmDialog()
button colorimproved: Dialog look and feel
improved: Button groups look and feel
Last updated