S T A D I U M
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
FOR stadium-api.providus.xyz
$ npm install
$ npm run build nigeria live 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
Change log
v1.0.40.RC-3
- Fix FLagName in statistics - remove duplicate [#294]
v1.0.40.RC-2
- Fix button kick off [#295]
- Add FLagName in statistics standings header [#294]
v1.0.40-RC-1
- Add Id on winning element
v1.0.39-RC-1
- Fix team icons in correct score market
v1.0.38-RC-2
- Update .gitlab-ci.yml file
v1.0.38-RC-1
- Add missing ids [#288]
- Correct League name [#294]
- On placebet getRoundId from payload instead of store [#287][#283]
v1.0.36-RC-4
- Fix max win calculation [287]
- Add App version in post request [#291]
- Add id on fields for automation test [#288] v1.0.36-RC-3
- Fixing missed issued caused by Rework places selections [#284][#290] v1.0.36-RC-2
- Rework places selections [#284] v1.0.36-RC-1
- Remove clear placedSelectionsTurbo in getRoundSuccess and calculate correct time into kick off so as to go through KICK_OFF_SUCCESS when needed [#284] v1.0.35-RC-1
- Filter selectedOdds by roundId on getRoundSuccess [#284]
- Filter roundId from roundResponse instead of store [#283, #287]
v1.0.34-RC-1
- Use 1.0.32 version for system-manager lib
- Call logout action on sessionTimeOut to clear previous state [#283]
v1.0.33-RC-5
- Create default empty array (single and combi) with correct length (selectedOdds.length) [#276]
- Order leagues by id [#285]
v1.0.33-RC-4
- Clear winning (totalStake, potWinMax. potWinMin, bonusAmt) on clearSelection [#276]
- Clear placedSelectionsTurbo on GET_TURBO_ROUND_SUCCESS so as to clear turbo selections on new turbo round [#279]
v1.0.33-RC-3
- Display loader even if not firstTime loading round [#277, #131]
- SetBetType as single for single match selection [#281]
- Disable betSlipBut on loadingRound both (classic and turbo) [#280]
v1.0.33-RC-2
-
Display loader even if not firstTime loading turbo round [#279] v1.0.33-RC-1
-
clear placedSelectionsLive when no placeSelections and placedSelectionsLiveTurbo on logout [#275]
-
use new system bet calculator for single bet type to calculate compatible and incompatible correct pot win [#278]
1.0.32
-
Split bet max win rework
1.0.30
-
Void status
-
Select FREE BET tab if user has free bets when opening betslip
-
Reset betcount when user logout
-
Rework betslip close
1.0.29
-
Market order refactor
-
If placed Selections Live Turbo, display myLive instead of live by default
-
Update colorId when live finished
-
Multigoal Home & Multigoal Away market
1.0.28
-
Match statistics
-
When selecting selections on 1 match show Single instead of Split
-
Remove global Potential win
-
Add support for market DC+OverUnder
-
Handle different splitter for scores for statistics
-
Handle when no matches in last5
-
remove bold from statistics
-
update statistics after live end
1.0.27
-
change live header position
-
Refactor bet confirmation
-
Multigoal
-
Live finished modal rework
1.0.26
-
Clicking on logo on league selection will take to home page
-
Prevent kick off if no bets placed
-
Turbo bet selections status implemented
-
Fix yellow bar after going back to odds page
-
Adding key to selections for new market 1X2 + Over/Under
v1.0.25
- User menu number of bets fixed
- Parse odd with exponental format
- Fix selection highlight on correct score market "page"
- Add more options into LIVE selections
- Change "possible_win" to "sure_win" at live end
- Change "possible_lose" to "sure_lose" at live end
- Add places selections on correct score page
v1.0.24
- Change goal animation
- 1X2 + Over/Under market
- Handle unhandled setInterval
- Highlight match which have selections
- Show placed selections
- Fix near goals animation issue
- Show boost
v1.0.21
- Update left menu
v1.0.20
- Switching league in no bet time round get fix
- Turbo round fetching ixxue while in My acocunt section
- Live icon in bottom menu after league switching bug fixed
- Betcount handle multiple rounds bets
- Prevend kick off while placebet is in progress
- clear selections when going from turbo to clasic league after login
- keep selections when going from turbo to turbo league after login
- freebet potential win after placebet fixed
- freebet stake reset after selection removed on other bettype tab
- bet count reset when live finish for multiple turbo leagues
- market reorder
v1.0.19
- Show currently selected league in left push menu
v1.0.18
- Win cap handle when potWin has e+ (example 1.5656e+22)
- Turbo header name change
- Clasic leagues name change
- Hide boost when winCap
- Fix Deposit from league selection menu
- League selection layout reworked
- League icons updated
- Fix cap wins for system and split bet
- Allow user to bet on cap wins
- Fix not logged user issue with betslip
- Add currency symbol to win amount into bet history [#195]
- Add format amount into potential win and multiple boost on bet slip [#194]
- Fix not logged user issue with betslip
- Fix app crashing after switching and placing bets on bot turbo and normal league
- fixed app breaking when league disabled with placed bets
- check if user before display my live with current user liveMatch [#181]
- Prevent kick off if live in progress
- set scroll position to zero when switching page [#174]
v1.0.16
- Store turbo roundId separetly to avoid mixup when closing round
v1.0.14-RC-2
- Check if systemManager is available before display multiple boost on free bet [#188]
- Add selectedOdds check before kickOff so as to prevent close round api called on a not started round [#191]
- Clear turboTimeout on placebet for turbo bet so as to reset the executing time of for the recount call to avoid call recount when not needed [#193]
v1.0.13-RC-2
- fix build
v1.0.10-RC-1
- Rework bet tab activity
- Display correct min error when selecting combi tag [#170]
- Add bonus amount and bonus percentage for freebet case in setupPlacebet handler [#178]
- Add logic to clear calculation for single type [#185]
- Add action call to show hide kick off butt and call after live finish in turbo [#177]
v1.0.7-RC-13
- Rework initSystemTab so as to reset potential win and total stake on selection delete [#185]
- Add wincap in store on turbo round call
- Manage Maximum winning payout error same as Min and Max Stake error , that is display error on click placebet only [#168]
- Clear selection on turbo logout [#176]
- Add action call to set placebetAfterLogin as false to prevent placebet with previous round after login [#172]
- Add maximum winning payout validation [#168]
- Add maximum total stake validation [#151]
- On initSystemTab get stakes from props if exist [#171]
- On CLEAR_ALL_SELECTIONS put selectedBetType as BET_TYPE.NO_BET so as to clear previous selectedBetType [#167]
- On resetFetchingResults clear number of bets if function is being triggered by userNotLogin process so as to avoid to load betSlip with previous round params [#153]
- On CLOSE_BETSLIP check if user is logged before change page to from login page to bets page so as to avoid login page self close [#153]
- Add CLOSE_BETSLIP action on getRound call to avoid betSlip to popup with No bet on logout + choose league action [#153]
- Remove TOGGLE_ODDS to common reducer as selectedBetType already updated in SET_SELECTED_BET_TYPE [#165]
- Re add multiple boost for freeBet as confirm by PM [#158]
- get min stake from betslipSettings [#164]
- On turbo kick off clear selections [#145]
- On turbo when we have lastBetRound add liveId in action so as to close previous not closed round call not newly loaded one [#144]
- On change page , if selecting bets page , set selectedMarket as first one [#160]
- Condition to check if maxPotWin array has length to avoid calculation on empty array [#157]
- On getround success , check if is selecting league before clearing numberOfSelections [#156]
- On betslip mask click add function closeBetSlip[#156]
- Modified logic for split and combi when selectedBet type[#156]
- update logic for className in betType button in betSlipView component[#156]
- When selecting turbo league set gameTypeChange to invoke selections clearing [#148]
- no need to toggle odds when user click on rebet [#136]
- Correct reCountPlacedBetsRecord , paseInt on placedBetRecords.pastWeek [#73]
- OnRound success check if user have change game type and clear selections if so [#142]
- Remove roundEnd to league selection as it throws some errors and add set initialise bet to false on logout to reload round [#141]
- Add odds rounding on betslip
- add roundEnd when league selection so as to display countdown when logout from turbo [#75]
- remove single selections without stake on placebet
- Sync leagues that were updated after app was initialised [#137]
- Onclick betslip button if selections is 0 close yellow bar [#132]
- On clear selection clear stake [#129]
- Rounding up bonus amount [#134]
- Display calculation even if stake is less than miminum stake [#138]
v1.0.7-RC-01
- Add Odds interval for Single bet with multiple selection
- Selections not available after user login
- Remove selections no stake was put on
- Update balance after turbo round
- fix javascript rounding
- Remove free bets on logout
- Potential win merge if odds are same
- Manage sliding of confirmation swipe item
- Display count down on normal leagues when switching between turbo and normal leagues
- Manage sliding of confirmation swipe item
v1.0.6-RC-01
-
Resolved combi-split type bet after login #133
-
Remove clear all selections so as to block calling yellow bar in this case
-
Add my bets icon in main menu
-
Add my bets icon in main menu
-
Resolved combi-split type bet after login #133
-
Remove clear all selections so as to block calling yellow bar in this case
-
potential win odd rounding
-
Move svg version from api to env
-
Fix min win calculation for combi
-
Prevent double placebet
-
Fix rounding
-
Close not closed rounds
-
Refresh balance when open bets exist
-
Close error message fix
-
Support folds to 20
v1.0.4-RC-09
- cater for selections after login
- put input in numeroc mode so as to get numeric keyboard
- clear stake input field
- set input type on bet stake as number (reverted)
- Reset selected market on gameType change
- Implement self closing error modal
- Fix error message click going through
- Add modal for max selections warning
- Add message when Turbo league not started on result page
- Add round ID to ticket details
- Limit number of selections to 20
- Fix Betslip header [#83]
- Fix app block after long period in background
v1.0.4-RC-08
- Deprecated warnings fixed
v1.0.4-RC-07
- Reset timer after placebet on turbo
- Add currency to missing places
- Don't call betlist when no bets active
v1.0.4-RC-06
- Betslip selection bug fix
- css repo changed
- add Naira Icon
v1.0.4-RC-05
- remove live flicker icon
- End live turbo match once the live is finished https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/80
v1.0.4-RC-04
- Fix bet counting issue https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/73
- Fix active bets value https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/79
- Add label for boost bonus https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/78
- Display 2dp odds across platform https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/71
v1.0.4-RC-03
- Keep results Page uncleared https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/77
- Resolved bug - My Bets - While scrolling down, not all the bet details are displayed on a Huawei mobile device https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/70
- Fix odds for correct score market https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/71
- incremental live simulation timer https://gitlab.com/providus.mu/stadium/stadium-fe/stadium-react-ui/-/issues/67
- Fix BET HISTORY lazy load - remove blink