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() becomes navigate.link("path")

  • link.path(param1) becomes navigate.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 and discard) will keep on working as is, but have been deprecated. We implore developers to migrate to the navigate namespace, since all future navigation updates will be applied to the navigate 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 namespace

  • added: navigate.discard, navigate.link, navigate.dismiss, navigate.clear and navigate.replace

  • added: Ability to specify dialog() button text and color

  • added: Ability to specify confirmDialog() button color

  • improved: Dialog look and feel

  • improved: Button groups look and feel

Last updated