isabella232 / demo_app_modal_instances_locations_pagination

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo communicating between locations and pagination through API results

This demo app shows:

  • Setting up events on locations that use autoLoad:false
  • Sending events from one location to another
  • Preloading the top_bar location from the background location using invoke('preloadPane')
  • Sending data from a modal to the ticket sidebar location
  • Retrieving larger data sets from the REST API using pagination

Getting started

Follow these steps to get a local copy up and running. Once the app is running:

  • The top bar popover will open to show info from the sidebar instance
  • In the ticket sidebar, click the Display Modal button select tags to add to the ticket
  • Click the fetch button and check the console to see the data returned from the paginated API requests

Prerequisites

  • Zendesk Command Line (ZCLI)

Using Zendesk Command Line

Installation

  1. Clone the repo

    git clone https://github.com/zendesk/demo_app_modal_instances_locations_pagination.git
  2. Navigate to the app directory.

    cd demo_app_modal_instances_locations_pagination
  3. Run the app.

    zcli apps:server

Testing your Zendesk app locally

Additional Resources

Issues

You can create an issue on Github, reach out in our Developer Community, or report the issue in the Zendesk Developers Slack group.

About


Languages

Language:JavaScript 75.1%Language:HTML 24.9%