STADIUM BACKOFFICE
First set npm registry
$ npm set registry https://nexus.providus.xyz/repository/npm-group/
FOR int-stadium-api.providus.xyz
$ npm install
$ npm run build nigeria int responsive
FOR stg-stadium-api.providus.xyz
$ npm install
$ npm run build nigeria stg responsive
ESlint
$ npm install eslint --global
$ npm install
$ npm run eslint-fix
JSDoc
- https://jsdoc.app/
- https://github.com/clenemt/docdash
$ npm run docs
See:
- https://gitlab.com/providus.mu/fe-utils/create-olaf-app
- https://gitlab.com/providus.mu/fe-utils/build-utils
- https://gitlab.com/providus.mu/stadium/stadium-be/backoffice-frontend-service
Changelog:
[1.0.30]
- add a check on Markets Settings Shop to have always at least one Market enabled [#329]
- add page free bet report shop [#328]
[1.0.29]
- add filter on shop video action page [#326]
[1.0.28]
- Pay Coupon modal displayed incorrectly after clicking on Yes button on Jackpot Won [#327]
- the tick button id disabled when updating the status on Jackpots Won[#325]
- fix void bet settled coupons[#312]
[1.0.27]
- Allow a minimum value of 3 seconds for stop bet time for Shop[#324]
- Unable to update assignment probability in shop free bets campaign screen[#323]
- All Page Title not displayed[#322]
- Set Turbo Match Simulation Duration Minimum Value into 6[#321]
- Shop Video Action : User unable to edit an action after saving[#320]
- Settled Coupons : Error message when setting a coupon as Wont Pay[#319]
- When clicking on the Save button, the changes are not updated on the Jackpot Settings screen[#318]
- No Details loaded on screen when user clicks on Cancel button[#317]
- White screen when creating a Free Bet Campaign[#316]
- Active Free Bet Campaign : Error message displayed upon saving[#315]
- Upcoming Free Bet Campaign : Blank screen displayed upon editing campaign[#314]
- Settled Coupons Mobile not displayed for a used free bet[#313]
- fix Status not updated for 1st void performed by user[#312]
- fix page not loading on turnover report[#311]
- fix page not loading on mobile free bets[#310]
- update version build utils[#308]
- add columbia timezone [#307]
[1.0.26]
- show the milliseconds on time format on Shop video action [#306]
[1.0.25]
- Improve validation for Create Free Bet campaign modal [#303]
- Precision error when displaying decimal base assignment probability[#302]
[1.0.24]
- update gameId from 1 to 5 while using the invalidate odds request [#304]
- add shop video action page on menu settings [#301]
[1.0.23]
- update label turnover cashout as per as on the template [#300]
- add section Cashout on Turnover Report page [#298]
- add columns cashout on round report list [#299]
- add filter by game when viewing the stats on Round Mobile/Shop[#297]- related
- change show result api on RoundMobile[#297]
- fix payment error status on jackpot won on history view [#296]-related
- disable btn search when choosing only game field as search parameter on round mobile[#292]-related
- add additional validation on "slot stop cashout duration" field on gameSetting [#290]-related
- fix validation for cashout round duration on game settings[#285]-related
- remove hardcoded cashoutNumberSlot and call it from init api on Games settings [#285]
- fix payment error status on jackpot won [#296]
- add game filter and column game on Round Report Mobile[#293]
- add filter game and column game on RoundMobile [#292]
- Add a row for cashout data on Turnover report [#291]
- Add "slot stop cashout duration" field on gameSetting [#290]
- fix when a new Free Bet campaign is created it is not showed immediately into the table[#289]
- limit the name length of the campaign to 30 while creating new free bet campaign[#287]
- fix naming overlapping the other columns on free bets campaign [#288]
- fix the API called twice on list with has initialApiCall attribute on Filter [#286]
[1.0.20]
- fixed issue regarding permissions to view/create on market margins page
[1.0.19]
- Add cashout setting section in Games Settings[#285]
- if the modal is 'set coupon as won't pay' then display Won Amount[#280]-related
- stats Template Mobile : change toast message [#282]
- fixed issue regarding duplicates on stats template mobile page [#281]
- added serieA option to invalidate odds page [#283]
- fixed error message on create campaign modal [#269-fix]
- add option to set coupon as Won't Pay on settle coupon mobile page [#280]
- display Serie A label in Jackpots Won [#279]
- add Serie A in turnover reports [#278]
- fixed issue regarding infinite scroll on market margins [#273]-related
- on Free Bet Campaign, convert into percentage the field 'Base assignment probability' on view details[#276]
- rename menu 'Free Bets' to 'Mobile Free Bets' [#277]
- add new page stats template mobile List[#271]
- added campaign details on campaigns report modal [#275]
- modified create/edit campaign modal to display error message from api [#269]
- add new page stats template file [#272]
- fetch and display data according to specific range on page load for shop freebets [#274]
[1.0.18]
- add new page margin markets [#273]
- add new page stats template file [#272]
- updated validation rules for base assignment probabilbity [#268]
- updated create campaign - allow decimals for base assignment probability [#268]
- In the Modal Create and edit Campaign : change the field "Base assignment probability" into percentage fields and add symbol percentage[#268]
- added option to view password on login page
- fixed calendar issue regarding wrong dates being displayed [#263]
- populate date field when edit endDate campaign is open [#261]
- display all days by default for create freebet campaign modal [#260]
- fixed issues related to date and time for editing freebets campaign [#258-related]
- added shop free bets campaigns [#258]
[1.0.17]
- fixed turnover report display for voided coupons
[1.0.16]
- fixed bugs related to validation on jackpot settings and game settings pages [#252-related]
- removed void option on settled coupon shop page [#256]
- fixed minor bugs on turnover report page [#255]
- added validation for percentage boost section on game settings mobile and shop pages [#254]
[1.0.15]
- added validation for input fields on blur for jackpot settigns page [#252 - related]
- fixed bugs on settled coupon page regarding void coupons [#251 - related]
- disabled void coupon when voidable flag is set to false [#251 - related]
- added regenerate fixtures option on invalidate odds modal [#253]
- added stg configs for firebase regarding notifications from firebase
- added validation onBlur for inputs [#252]
- added voided coupon details on turnover report page [#249]
- added void coupon functionality on settled coupon page [#251]
[1.0.14]
- added sw configs for all envs
- added missing information on placed and settled coupons page [#250]
- fixed issue regarding loader for invalidate odds page
- added new page: invalidate odds [#245]
- updated min round duration for shop page [#248]
- Rename League Settings (page title and Menu on the left) into League Settings Mobile [#246]
[1.0.13-RC-2]
- Added validation to prevent decimal places on starting amount value [#243]
[1.0.13-RC-1]
- Implemented starting amount for jackpots on jackpot settings page [#243]
[1.0.12-RC-3]
- Edited match simulation duration for shop [#242]
[1.0.12-RC-2]
- Added new success modal message for paid jackpot [#241]
[1.0.12-RC-1]
- fixed issue on jackpot settings regarding threshold value [#239]
[1.0.11-RC-1]
- fixed issues regarding disabling jackpots on jackpot settings page [#238]
[1.0.10-RC-3]
- fixed issues regarding message on modals for odds template [#235]
- fixed issue regarding Calendar component regarding dates displayed [#232]
[1.0.10-RC-2]
- updated validation rules for free bets from allow 1-10 inclusive
[1.0.10-RC-1]
- updated validation rules for adding free bets [#237]
- added force turbo option to new odds template modal for mobile page [#236]
- added new elements regarding turbo to odds template mobile page [#235]
[1.0.9]
- RELEASED
[1.0.8-RC-4]
- fixed issue on turnover page regarding reset and cancel button for calendar on error [#233]
[1.0.8-RC-3]
- fixed issues regarding naviagation, prevent navigation to current open page [#234]
- fixed issue regarding userId filter on statement list page [#231]
[1.0.8-RC-2]
- added loyalty bonus section to turnover report [#222]
- added jackpot section to turnover report [#229]
- added error message on cashier list and statement list page [#230]
[1.0.8-RC-1]
- fixed issue: all pages were affected by the 3 months search limit on date filters
- limit search to only past 3 months for turnover report page [#228]
- prevent label from updating when jackpotStatus is unchanged [#227]
[1.0.7-RC-1]
- disabled api call option when jackpotStatus is unchanged [#226]
[1.0.7-RC-1]
- fixed issue regarding jackpot names on jackpot settings and jackpot won page [#225]
- fixed issue regarding error messages on jackpot settings page [#224]
[1.0.6]: RELEASED (modified version of 1.0.5)
[1.0.5-RC-01]
- fixed issue regarding change status and payments on jackpot won page
- set default value to 'zero' for empty input on jackpot settings page
- fixed issue on coupon pages regarding paid status [#220]
- fixed issue with date and time on jackpot won page [#219]
- allow user to search without date filters on round pages, provided other mandatory filters are used[#218]
- added input validation and error fields on jackpot settings page
- fixed issue on jackpotWon page regarding enabling/disabling changeStatus button and pay button
- added jackpot won page [#213]
- added jackpot settings page [#215]
[1.0.4-RC-03]
- fixed issue related to date filter on calendar [#216]
[1.0.4-RC-02]
- fixed issue regarding filter date for previous day [#216]
- added static version in build config instead of using version from api [#217]
- increased boost percentage to 20 on games settings page [#214]
[1.0.4-RC-01]
- fixed issues on calendar component related to timezone change [#212]
- fixed issues on round pages regarding error on clear filters [#209]
- fixed errors on round pages related to roundId being 'undefined' [#210]
[1.0.3-RC-02]
- updated CNT_PATH for all env in build-config.json
[1.0.1-RC-8]
- rework point settings data display
- fix context menu in round list
- fixing infinite scroll for rounds list
[1.0.1-RC-7]
- fixed issue regarding calendar dates and time #200
- fixed bug on settled coupon page regarding cancelled coupons #203
- fixed issue with filters on all pages #195
[1.0.1-RC-6]
- fixed issue regarding session upon expiry #201
- fixed issue related to combinations table not displaying on placed and settled coupon shop page
- added round shift to game settings shop page #197
- fixed issue on statement list page regarding input fields #199
- fixed issues with labels on turnover report page #198
- fixed issue with seach functionality #193
- fixed fetch error on odds template shop page #192
- renamed betId to couponId on coupon pages #194
- added statement list page #184
- removed turbo information on games settings shop page #190
- added cashier list page #183
- added odds template shop page #182
- added market setting shop page #181
- fixed bug related to redirection on round shop page #187
- added game setting shop page #177
- updated turnover table page and total #185
- updated Round Report Mobile Page #186
- added Round Reports Shop page #176
- updated page names [#178][#179]#180
- added Round Shop page #174
- hide show stats and show results for round in progress #175
- renamed placed and settled coupon pages and added potential win #172
- added placed coupon shop and settled coupon shop pages #173
- added ids to all input fields and buttons #171
- updated css link due to template migration
- Changed css repo
[1.0.1-RC-5]
- Add local storage on timezone select #170
- Add Timezone select field on the top right of the page #169
[1.0.1-RC-4]
- Add confirmation modals under Bonus (bonus, rank and point) #167
[1.0.1-RC-3]
-
Change validation message as per QA #165
-
fix Time settings -Add checks on Round Duration #165
-
Add confirmation modals under settings, add new style related to its breaking position and reset checks #164
-
Reset list after uploading new odds file
-
fix odds template files as per latest uploaded date and odds template screen sorting #166
[1.0.1-RC-2]
- Disable Bonus percentage 1 #163
[1.0.1-RC-1]
- Implemented infinity scroll tables under settings #160