Navigate From One Page to Another

In this section, we will talk about how to use navigations on Monday Hero and edit them.

Adding navigation to your app is necessary to provide a well-structured user experience. You can direct your users from one page to another according to their actions within your app. In this way, your users complete the tasks they need to complete without getting lost in the application.

Adding Navigation

1. Click the 'Navigations' from the menu at the left and select an entry page. This is the first page your users will interact when they launch your app. Login/signup pages or onboarding flows are good choices for this step.

2. Select and right-click the component you want to add navigation. Choose the 'Add Navigation' option from the drop-down menu.

3. Select the parameters about the navigation from the pop-up that appears on the screen.

  • Select a 'Destination Page' value. It is the page your user will navigate when they click the selected component.

  • Select a 'Navigation Type' value. There are two options here called push and back.

    • Use push option to navigate from the selected page to the destination page.

    • Use back option to return from the destination page to the selected page.

  • Adding animation during navigation is not an active feature right now. It is in development and will be ready soon.

4. Click 'Add' to finish.

You're all ready to navigate!

Monday Hero Navigation Code

loginButton.addTarget(
    self.coordinator,
    action: #selector(MainCoordinator.openListPage), 
    for: .touchUpInside)

Editing Navigation

If you want to make changes after adding navigations, you can make these changes with Monday Hero. You can delete existing navigations or edit them to navigate to a different page.

You can see the list of all the navigations in the screen from the 'Navigations' panel. You can delete or edit the navigations you have added from here.

1. Click on the navigation you want to change in the list.

2. Select the edit or delete option in the drop-down menu and make changes.

3. Save your changes.

You are ready to navigate through the pages within the app!

Last updated