Changelog

Add docs for new push plugin event in SDK (October 2022)

We added new methods pushPluginLoadStartedEvent(), pushPluginLoadCompletedEvent() pushPluginLoadFailedEvent(), pushSectionViewEvent(), pushItemClickEvent() and pushPluginViewEvent() to provide the capability to messure the plugin loading time usng Google Analytic events.

Add docs for new method pushGtmEventV2() in SDK (November 2021)

We added a new method pushGtmEventV2() to cater to the new specifications for Google Analytic events designed by data analysts.

Add docs for the new design system - Chardonnay (November 2021)

Renaming of packages (April 2020)

We renamed our packages and moved them to the GitHub Private NPM Repository. There should be no more package using the Gemfury repository. Following changes on the names were applied:

  • @rps/portal-components is now called @deliveryhero/vendor-portal-components
  • @rps/portal-sdk is now called @deliveryhero/vendor-portal-sdk
  • @rps/react-api is now called @deliveryhero/portal-api-client
  • @rps/styled-material-ui is now called @deliveryhero/styled-material-ui
  • @rps/react-inversify-provider is now called @deliveryhero/react-inversify-provider
  • @rps/mobx-model is now called @deliveryhero/mobx-model
  • @rps/mobx-clerk is now called @deliveryhero/mobx-clerk

You need to replace any appearance of the above packages in your package.json to the new name. You also need to swap out these packages in the externals object of your webpack.config.js so it looks like this example:

module.exports = {
  // ... some config
  externals: {
    '@deliveryhero/vendor-portal-sdk': '@deliveryhero/vendor-portal-sdk',
    '@deliveryhero/vendor-portal-components': '@deliveryhero/vendor-portal-components',
    // ... your other externals
  },
  /// ...
}

For the transition time your @rps packages still work as externals, but this will be removed after some time. So please update your dependencies to guarantee that your plugin still works in the future.

If you haven't done this already, you need to replace the Gemfury part in your .npmrc to the GitHub setup. You can in the "Install Portal runtime" section of the client page.

rps-portal-sdk: v1.23.0

  • Expose logger

rps-portal-sdk: v1.21.0

  • Expose getSubject
  • Make IPortalSdk interface be on par with actual exported SDK functions

rps-portal-sdk: v1.20.0

  • Expose getSelectedRestaurants
  • Expose addSelectedRestaurantsObserver
  • Add filter argument to setNewNavigation
  • Add config method to plugin entry class

rps-portal-components: v4.5.1

  • Add Filters components and do smaller styling updates 41d0323
    • BaseFilter
    • Filters
    • ListFilter
    • RestaurantFilter
    • TimeframeFilter
    • FullScreenDrawer

rps-portal-components: v4.4.0

  • Add new components c63e63c
    • DateSwitcher
    • HighlightCard
    • HighlightedValue
    • DesktopMultiSelect
    • NumberChangeAnimation
    • StyledTransition
    • OverviewCard
    • PollingIndicator (including useCountdown utility)
    • SecondaryBar
    • ShowOnMobile
    • HideOnMobile
    • Table
      • ActionCell
      • ContentTableCell
      • PaperTableBody
      • TableCell
      • TableHead
      • TableRow
      • TableSortLabel
    • LineGraph

rps-portal-components: v4.3.6

  • Automatically open CustomDateDialogItem if there is only one item in date dialog e819d1d

rps-portal-components: v4.2.2

rps-portal-components: v4.1.3

  • Add pushGtmEvent for date range component interactions

rps-portal-sdk: v1.16.0

  • Expose getFwfClient

rps-portal-sdk: v1.15.1

  • Expose getAllOutlets, getBatchTokenContent, createMasterApi and createBatchApi
  • Upgrade getAuth to use a type argument

rps-portal-components: v3.0.0

  • Use withSdk to access portal SDK 5c94501

rps-portal-sdk: v1.13.0

  • Expose withSdk method to use the SDK as context (of the plugin this is used in)

rps-portal-components: v2.11.0

  • Add new BoundaryBox component bb56570

rps-portal-components: v2.10.0

  • Add new Typography component c9802b3

rps-portal-components: v2.9.2

  • Remove forgottenPasswordUrl property from IPlatform type d1da8e5

rps-portal-components: v2.9.1

  • Make children optional in TintedBackground Component 1d6672d

rps-portal-components: v2.9.0

  • Add support for maxDayRange 096371b

rps-portal-components: v2.8.0

rps-portal-components: v2.7.2

  • Fix typography styling of ActionCard title a7a8ed

rps-portal-sdk: v1.8.0

rps-portal-components: v2.7.1 (Deployed 2018-10-17)

  • Fix wrong import path Title.tsx 5d976b

rps-portal-components: v2.7.0 (Deployed 2018-10-17)

rps-portal-components: v2.6.0 (Deployed 2018-10-17)

rps-portal-components: v2.5.0 (Deployed 2018-09-27)

rps-portal-components: v2.4.2 (Deployed 2018-09-11)

rps-portal-components: v2.4.1

  • DateSelectorDialog: Show Error when single date item goes below min date for single day selector

rps-portal-components: v2.4.0

results matching ""

    No results matching ""