As 2024 draws to a close, we’re excited to share the recent updates to the JourneyApps platform. Let’s dive into the highlights:
View Templates
With View Templates, developers can abstract UI components into reusable templates, and use them across views. View templates are available as part of Runtime version 4.90, and are designed to significantly enhance the developer experience by:
- Reducing code duplication across views.
- Making complex views easier to maintain by breaking them into smaller, more manageable snippets.
- Enabling better separation of concerns by, for example, grouping components into distinct templates.
The View templates system is the first feature to add function declarations and import statements to an app’s view XML. This paves the way for future features like View Lifecycle Hooks and easier integration with App- or external Modules.
Learn how to get started with View Templates by visiting the docs.
Expanded Styling Capabilities of the Runtime
Alongside continuous bug fixes, we shipped several smaller enhancements to the JourneyApps Runtime. These updates focussed on giving developers greater control over app appearance, and achieving a more consistent look and feel across UI components and views. Some of the new styling capabilities include:
- Improved Text and Label Customization: Expanded options for
label-case
, the ability to set the letter case of navigation section labels, and customizing the color of pill labels allow for greater flexibility in text appearance across components. - Enhanced Button Styling: New attributes for components like
capture-photo
,journey.dialog
, andedit-typeahead
enable the customization of button colors, icons, and text styles. - Checkbox Customization: Developers can now style checkboxes in
edit-boolean
,toggle
, andmultiple-choice-checklist
components, including color and size options.
Find a summary of all new features and improvements in the Runtime version 4.89.17 Release Notes. These updates are also available in the latest 4.90 Runtime version.
CloudCode versions 1.13 and 1.14
CloudCode version 1.13 introduced support for Node.js 20 (previously limited to Node.js 16), enabling compatibility with the latest Node libraries.
CloudCode version 1.14 was released to address compilation issues encountered in certain TypeScript contexts. This update includes a major upgrade to TypeScript 5.6, bringing new language features and syntax improvements. Developers using TypeScript are strongly encouraged to upgrade. Minor code adjustments may be required to align with TypeScript’s stricter type handling in version 5. For more detailed information and upgrade guidance, refer to the Release Notes.
Sign Up/Sign In with GitHub
We’ve made it easier than ever for developers to get started by introducing GitHub-based sign-ups. This update allows developers to create an account or sign in using their GitHub credentials, skipping the hassle of filling out a sign-up form and enabling the use of an account that is already trusted and managed.
If you previously signed up to JourneyApps with your email address, you can switch to GitHub-based sign-in provided the email addresses of the two accounts match. To do this, sign out of the Admin Portal and sign back in using “Sign in with GitHub” to connect your accounts.