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-componentsis now called@deliveryhero/vendor-portal-components@rps/portal-sdkis now called@deliveryhero/vendor-portal-sdk@rps/react-apiis now called@deliveryhero/portal-api-client@rps/styled-material-uiis now called@deliveryhero/styled-material-ui@rps/react-inversify-provideris now called@deliveryhero/react-inversify-provider@rps/mobx-modelis now called@deliveryhero/mobx-model@rps/mobx-clerkis 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
IPortalSdkinterface 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
Filterscomponents and do smaller styling updates 41d0323BaseFilterFiltersListFilterRestaurantFilterTimeframeFilterFullScreenDrawer
rps-portal-components: v4.4.0
- Add new components c63e63c
DateSwitcherHighlightCardHighlightedValueDesktopMultiSelectNumberChangeAnimationStyledTransitionOverviewCardPollingIndicator(includinguseCountdownutility)SecondaryBarShowOnMobileHideOnMobileTableActionCellContentTableCellPaperTableBodyTableCellTableHeadTableRowTableSortLabel
LineGraph
rps-portal-components: v4.3.6
- Automatically open
CustomDateDialogItemif there is only one item in date dialog e819d1d
rps-portal-components: v4.2.2
- Add
EmailShareDialog4a0f7b8
rps-portal-components: v4.1.3
- Add
pushGtmEventfor date range component interactions
rps-portal-sdk: v1.16.0
- Expose
getFwfClient
rps-portal-sdk: v1.15.1
- Expose
getAllOutlets,getBatchTokenContent,createMasterApiandcreateBatchApi - Upgrade
getAuthto use a type argument
rps-portal-components: v3.0.0
- Use withSdk to access portal SDK 5c94501
rps-portal-sdk: v1.13.0
- Expose
withSdkmethod 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
- Add Pizza Online Logo a17229a
rps-portal-components: v2.7.2
- Fix typography styling of
ActionCardtitle a7a8ed
rps-portal-sdk: v1.8.0
- setTranslation Adds second
translationUrlargument to the
rps-portal-components: v2.7.1 (Deployed 2018-10-17)
- Fix wrong import path
Title.tsx5d976b
rps-portal-components: v2.7.0 (Deployed 2018-10-17)
- ActionCard: Add new
ActionCardcomponent
rps-portal-components: v2.6.0 (Deployed 2018-10-17)
- Guide: Add new
Guidecomponent - TabCard: Add new
TabCardcomponent - TintedBackground: Add new
TintedBackgroundcomponent
rps-portal-components: v2.5.0 (Deployed 2018-09-27)
- PlatformLogo: Fix talabat logo and add foodpanda logo
rps-portal-components: v2.4.2 (Deployed 2018-09-11)
- DateSelectorDialog: Display dynamic error message on single day selector
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
- DateSelectorDialog: Support min and max day for single day selector