Match Quiz management
Welcome to Fans United Match Quiz Management Widget. The widget allows staff members with sufficient permissions to create new Match Quiz games/editions. You can use this widget as it is and embed it in your platform, or you can use the Management Panel to create games. Match Quiz is a game where users must predict a specified number of fixtures for one match for a prize. With successful installation, you can create and edit a Match Quiz game or see the report about specific game.
Installation and usage
The easiest way to use Fans United Match Quiz Widget is to install it from npm as follows:
npm install fansunited-widget-match-quiz
or:
yarn add fansunited-widget-match-quiz
Here is an example how you can integrate Fans United Match Quiz Management Widget:
import 'fansunited-widget-match-quiz/style.css';
import { MatchQuizManager } from 'fansunited-widget-match-quiz';
const App = () => {
return <MatchQuizManager fansUnitedApiKey={'your-api-key'} fansUnitedClientId={'your-client-id'}/>
}
Notes
-
The widget is bundled as a React component and its usage is as simple as the above example
-
Don't worry about your project's CSS. The widget's styling is done with Tailwind CSS and all classes are prefixed to avoid collisions with your existing CSS. This means that the widget's CSS will NOT affect yours. One important thing is that you need to import
style.css
file from package folder:
import 'fansunited-widget-match-quiz/style.css';
N.B: If you are using an entry point for importing all your stylings, you need to import fansunited-widget-match-quiz/style.css
there as well
- Easy translation in every language. For more information check our Translation heading.
Props
type MatchQuizManagerProps = {
fansUnitedApiKey: string;
fansUnitedClientId: string;
fansUnitedLanguage?: string;
fansUnitedEnvironment?: string;
labels?: LabelsModel;
sportal365Project?: string;
sportal365Infrastructure?: 'shared' | 'betway';
};
Fans United Match Quiz Management Widget depends on Fans United JS SDK and Fans United Client API. Thats why fansUnitedApiKey
and fansUnitedClientId
are required. They will be provided to you from Fans United team. For other optional props here is some information:
-
fansUnitedLanguage
- for our sports APIs FansUnited platform supports different languages. For now they are Bulgarian (bg), English (en), Romanian (ro), Greek (el), Slovak (sk), Serbian (sr) and Hungarian (hu). If no value given it will be set to English (en). -
fansUnitedEnvironment
- You can run the widget in the following environments: staging, production and watg. If no value given it will be set to production (prod). -
labels
- you can easily translate all labels, UI messages, descriptions, placeholders and etc. with this prop. By default, Fans United Match Quiz Management Widget is available in English so if no value is given, the widget will be translated in English. -
sportal365Project
- The Sportal365 project. Used as a request header when communicating with Sportal365 APIs. -
sportal365Infrastructure
- The Sportal365 infrastructure. Used to determine what authorization should be used when communicating with Sportal365 APIs. If no value given (when sportal365Project props is provided) it will be set to shared .
Translation
You can easily translate Fans United Match Quiz Management Widget in your language! You just need to pass an object to labels
prop with concrete keys and values and that's it! Here's an example how you can do it:
import 'fansunited-widget-match-quiz/style.css';
import { MatchQuizManager } from 'fansunited-widget-match-quiz';
const labels = {
userNotFound: 'User not found. Please try again.',
clientConfigErrorMessage: "There was a problem fetching client's configuration. Please check again your API key and client ID. For more information contact Fans United staff.",
featureDisabled: 'Feature disabled!',
noPermissionMessage: 'You have no permission for this feature!',
tryAgainButton: 'Try again',
noGamesFound: "No games were found. You can create a game by clicking the button 'Create game'",
createEdition: 'Create game',
signOut: 'Sign out',
name: 'Name',
status: 'Status',
participants: 'Participants',
creationDate: 'Created at',
acceptUntil: 'Accept Until',
actions: 'Actions',
upcoming: 'Upcoming',
inProgress: 'In progress',
finished: 'Finished',
pending: 'Pending',
settled: 'Settled',
live: 'Live',
open: 'Open',
canceled: 'Canceled',
closed: 'Closed',
edit: 'Edit',
report: 'Report',
timeFormat: 'DD-MM-YYYY HH:mm',
previous: 'Previous',
next: 'Next',
id: 'ID',
namePlaceholder: 'Please provide a name for your Match Quiz edition.',
description: 'Description',
descriptionPlaceholder: 'Please describe your game.',
matchSelection: 'Match selection',
matchSelectionDescription: 'Type a team and select one of the next matches. When you choose a match the defaults market will be displayed.',
selectTeamPlaceholder: 'Type your team...',
selectTeamNoTeamFound: 'No Team Found',
selectTeamNoMatchesFound: 'No matches were found',
atleastThreeCharsMessage: 'Team input must be at least 3 characters',
marketSelection: 'Market Selection',
chosenMarkets: 'Chosen markets',
otherMarkets: 'Other markets',
marketSelectionCreateGameDescription: 'Drag and drop what market users can predict for the specified match. The default markets are automatically dropped in chosen markets.',
marketSelectionEditGameDescription: 'You can add, remove or change loaded markets.',
markets: 'Markets:',
marketFt1x2: 'Full time',
marketHt1x2: 'Half time',
marketBothTeamsScore: 'Both teams score',
marketDoubleChance: 'Double chance',
marketHtFt: 'Half time/Full time',
marketRedCardMatch: 'Red card in match',
marketPenaltyMatch: 'Pentalty in match',
marketCornersMatch: 'Corners in match',
marketCorrectScore: 'Correct score',
marketPlayerScoreFirstGoal: 'Player to score first goal',
marketOverZeroGoals: 'Over zero goals',
marketOverOneGoals: 'Over one goals',
marketOverTwoGoals: 'Over two goals',
marketOverThreeGoals: 'Over three goals',
marketOverFourGoals: 'Over four goals',
marketOverFiveGoals: 'Over five goals',
marketOverSixGoals: 'Over six goals',
marketOverSixCorners: 'Over six corners',
marketOverSevenCorners: 'Over seven corners',
marketOverEightCorners: 'Over eight corners',
marketOverNineCorners: 'Over nine corners',
marketOverTenCorners: 'Over ten corners',
marketOverElevenCorners: 'Over eleven corners',
marketOverTwelveCorners: 'Over twelve corners',
marketOverThirteenCorners: 'Over thirteen corners',
gameStatus: 'Game status',
createGameStatusDescription: 'The provided choices are PENDING and OPEN. Keep in mind that if you choose OPEN you can NOT edit your game.',
editGameStatusDescription: 'The provided choices are PENDING, OPEN and CANCELED. Keep in mind that if you choose OPEN you can NOT edit your game anymore and if you choose CANCELED the game will be canceled.',
timeTiebreaker: 'Time tiebreaker',
timeTiebreakerDescription: "When enabled the game's leaderboard will have a classic user ranking (1,2,3). In case of same points, the user who placed their predictions eariler will be infront. When disabled the current game's leaderboard behavour is used - when 2 or more people have same points, the ranking will be 1,1,3,4,5,5,7,8.",
enabled: 'Enabled',
disabled: 'Disabled',
rules: 'Rules',
rulesDescription: 'Describe your rules for participating in the game. You can type plain text or html tags.',
adContent: 'Ad content',
adContentDescription: 'Place your ad content in the game. It can be plain text or html tags.',
flags: 'Flags',
flagsPlaceholder: 'Type your flag and hit enter',
repeatedValueMessage: 'You have entered a repeated value. Please enter a different one.',
images: "Images",
mainImage: "Main",
coverImage: "Cover",
mobileImage: "Mobile",
imagePlaceholder: "Paste your image as valid URL or as relative path",
related: "Related",
relatedDescription: "Choose which games or templates you wish to be related to this game.",
games: "Games",
gamesPlaceholder: "Select which games (TOP_X and MATCH_QUIZ) are related to this game",
templates: "Templates",
templatesPlaceholder: "Select which templates are related to this game",
cutoffTime: 'Cutoff time',
createCutoffTimeDescription: 'Predictions will be accepted until this time. If not provided it will be automatically generated 15 minutes from the first match played.',
editCutoffTimeDescription: "Predictions will be accepted until this time. You need to provide a cutoff time to be able to edit the game. Keep in mind that cutoff time should be ATLEAST 15 minutes before match's kickoff time.",
back: 'Back',
loadMore: 'Load more',
exportButton: 'Export',
reportFor: 'Report for',
position: 'Position',
points: 'Points',
gameNotSettledMessage: 'Game is not settled and there is no leaderboard yet.',
csvModalTitle: 'Enter how many users should be exported',
csvModalDescription: 'Download a .csv file with the first 100 number of users.',
csvModalPlaceholder: 'Export the first X users...',
cancel: 'Cancel',
csvModalDownloadButton: 'Download as CSV file',
csvModalValidationMessage: 'Input value has to be an integer number between 1 and 100',
csvModalErrorMessage: "There was a problem with fetching game's report data",
clear: 'Clear',
loadingMessage: 'Loading...',
createGameMessage: 'You have successfully created a game.',
editGameMessage: 'You have successfully edited a game.',
clearCutoffMessage: 'You have cleared your cutoff time.',
selectMatchErrorMessage: 'You need to select a match to be able to manage a game.',
chooseGameCutoffTimeMessage: 'You need to choose a date to edit the game.',
minimumMarketMessage: 'You need to choose at least ONE market to be able to manage a game.',
invalidCutoffTimeMessage: 'The provided match starts before cutoff time. Please choose cutoff time that is before the chosen match kickoff time.',
createGameErrorMessage: 'There was a problem with creating the game. Please try again.',
editGameErrorMessage: 'There was a problem with editing the game. Please try again.',
leaderboardErrorMessage: 'There was a problem with displaying leaderboard. Please try again.',
gamePredictionsErrorMessage: 'There was a problem with getting predictions for users. Please try again.',
manageWinners: 'Manage winners',
winners: 'Winners',
title: 'Title',
addWinner: 'Add winner',
removeWinner: 'Remove winner',
winnersDescription: 'Describe the winners...',
winner: 'Winner',
winnerDescription: 'Select the winner of the game',
insertWinners: 'Insert winners',
insertWinnersDescription: 'Type information about each winner of the game.',
note: 'Note',
notePlaceholder: 'Provide some note for the winner...',
tags: 'Tags',
tagsPlaceholder: 'Provide tags for the winner...',
save: 'Save',
preview: 'Preview',
gameWinnersErrorMessage: 'There was a problem with fetching information about game winners. Please try again.',
createGameWinnersMessage: 'You have successfully created winners for the game.',
createGameWinnersErrorMessage: 'There was a problem with creating winners for the game. Please try again.',
editGameWinnersMessage: 'You have successfully edited winners for the game.',
editGameWinnersErrorMessage: 'There was a problem with editing winners for the game. Please try again.',
gameNoSetWinnersMessage: 'No winners are set for this game.',
leaderboardNotAvailable: 'No leaderboard is available for this game.',
positionAndWinnerRequiredMessage: 'Position and winner are required!',
sameChosenWinnerMessage: 'You have selected same winners. Each winner has to be unique!',
relatedEntitiesErrorMessage: "There was a problem with fetching entities. Please try again.",
labelsHeading: 'Labels',
customFields: 'Custom fields',
dynamicFieldsDescription: 'You can create your custom records for easier way to connect your game.',
keyDynamicFields: 'Key',
valueDynamicFields: 'Value',
addRecord: 'Add record',
dynamicFieldsKeysErrorMessage: 'Only lowercase letters, numbers and underscore are accepted as keys!',
gameByIdErrorMessage: 'There was a problem retrieving full information about the game.',
uploadingImageMessage: 'You have successfully uploaded image',
generateSignedInUrlErrorMessage: 'There was a problem generating signed in URL to store the image in bucket. Please try again',
uploadingImageErrorMessage: 'There was a problem with uploading image to bucket. Please try again',
encryptingImageErrorMessage: 'There was a problem with encrypting image before uploading it to bucket. Please try again',
searchSportal365ImagesErrorMessage: 'There was a problem with searching images from Sportal 365 API. Please try again',
searchImage: 'Search image',
clearFromToFilterSportal365ImagesMessage: 'You have cleared from/to filter for Sportal365 search images',
hideFilters: 'Hide filters',
showFilters: 'Show filters',
dateFromTo: 'Date from/to',
dateFromToPlaceholder: 'Select Date...',
noImagesFound: "No images found"
};
const App = () => {
return (
<MatchQuizManager fansUnitedApiKey={'your-api-key'} fansUnitedClientId={'your-client-id'} labels={labels}
/>
);
}
Here is all information about LabelsModel
:
Key | Description | Default Value |
---|---|---|
userNotFound | On login screen when client gives invalid information about email or password | User not found. Please try again. |
clientConfigErrorMessage | react-toastify error message when client is providing invalid value to fansUnitedApiKey or fansUnitedClientId prop | There was a problem fetching client's configuration. Please check again your API key and client ID. For more information contact Fans United staff. |
featureDisabled | Title for NoPermissionModal. This Modal is displayed when client does NOT have permission to use Fans United Match Quiz Widget | Feature disabled! |
noPermissionMessage | Description for NoPermissionModal. This Modal is displayed when client does NOT have permission to use Fans United Match Quiz Widget | You have no permission for this feature! |
tryAgainButton | Button for NoPermissionModal. This Modal is displayed when client does NOT have permission to use Fans United Match Quiz Widget. When clicking the button, client will be redirected to Login screen | Try again |
noGamesFound | When there are no created games for specific client, this message will appear on screen. | No games were found. You can create a game by clicking the button 'Create game'. |
createEdition | Used as label on create button and as a title on screen when creating a game. | Create game |
signOut | Used as label on sign out button. | Sign out |
name | Label for name of a game or participant | Name |
status | Displayed in header of list of games. Status of a game | Status |
participants | Displayed in header of list of games. How many users have made prediction for the game | Participants |
creationDate | Displayed in header of list of games. Date of created game in same format as given for timeFormat prop | Creation Date |
manageWinners | Used as label in Winners screen heading. | Manage winners |
acceptUntil | Displayed in header of list of games. Date of predictions cutoff in same format as given for timeFormat prop | Accept until |
actions | Displayed in header of list of games. Two icon buttons with different actions. | Actions |
upcoming | Status of match for game | Upcoming |
inProgress | Status of match for game | In progress |
finished | Status of match for game | Finished |
pending | Status for specific game. | Pending |
settled | Status for specific game. | Settled |
live | Status for specific game. | Live |
open | Status for specific game. | Open |
canceled | Status for specific game. | Canceled |
closed | Status for specific game. | Closed |
edit | Used as label on edit button, as a title on screen when editing a game and as a tooltip for icon button edit. | Edit |
report | Tooltip for icon button report. | Report |
winners | Placeholder for icon button winners. | Winners |
timeFormat | Timeformat for displaying dates. Widgets uses dayjs as a date dependency. | DD.MM.YYYY, HH:mm |
markets | Markets title. It will appear on each game below the match name. | Markets: |
previous | Label for pagination button. | Previous |
next | Label for pagination button. | Next |
id | Label for ID read only input field. | ID |
namePlaceholder | Placeholder/desciption about input field for game name when creating/editing a game. | Please provide a name for your Match Quiz edition. |
title | Label in Winners screen heading | Title |
description | Title for desciption input field when creating/editing a game. | Description |
descriptionPlaceholder | Placeholder/desciption about input field for game description when creating/editing a game. | Please describe your game. |
matchSelection | Title for match selection section | Match selection |
matchSelectionDescription | Description about match selection section | Type a team and select one of the next matches. When you choose a match the defaults market will be displayed. |
selectTeamPlaceholder | Placeholder for option search input field | Type your team... |
selectTeamNoTeamFound | When you insert a name of a team that does not support your competition scope given by your features in Client API | No Team Found |
atleastThreeCharsMessage | Displayed message when you start to type a name of a team. | Team input must be at least 3 characters |
selectTeamNoMatchesFound | When you choose a team from your search result, but it next 5 matches does not support your competition scope given by your features in Client API | No matches were found |
marketSelection | Title for market selection section. | Market Selection |
marketSelectionCreateGameDescription | Description about market selection when client creates a game. | Drag and drop what market users can predict for the specified match. The default markets are automatically dropped in chosen markets. |
marketSelectionEditGameDescription | Description about market selection when client edits a game. | You can add, remove or change loaded markets. |
chosenMarkets | Title for default (or chosen) markets column when creating (or editing) a game. | Chosen markets |
otherMarkets | Title for other (not chosen) markets column when creating (or editing) a game. | Other markets |
marketFt1x2 | Label for market full Time | Full time |
marketHt1x2 | Label for market half Time | Half time |
marketBothTeamsScore | Label for market both teams score | Both teams score |
marketDoubleChance | Label for market double chance | Double chance |
marketHtFt | Label for market half time/full time | Half time/Full time |
marketRedCardMatch | Label for market read card match | Red card in match |
marketPenaltyMatch | Label for market penalty match | Pentalty in match |
marketCornersMatch | Label for market corners match | Corners in match |
marketCorrectScore | Label for market correct score | Correct score |
marketCorrectScoreHalfTime | Label for market half timecorrect score | Half time correct score |
marketCorrectScoreAdvanced | Label for market advanced correct score | Advanced correct score |
marketPlayerScoreFirstGoal | Label for market player score first goal | Player to score first goal |
marketOverZeroGoals | Label for market over zero goals | Over zero and a half goals |
marketOverOneGoals | Label for market over one goals | Over one and a half goals |
marketOverTwoGoals | Label for market over two goals | Over two and a half goals |
marketOverThreeGoals | Label for market over three goals | Over three and a half goals |
marketOverFourGoals | Label for market over four goals | Over four and a half goals |
marketOverFiveGoals | Label for market over five goals | Over five and a half goals |
marketOverSixGoals | Label for market over six goals | Over six and a half goals |
marketOverSixCorners | Label for market over six corners | Over six and a half corners |
marketOverSevenCorners | Label for market over seven corners | Over seven and a half corners |
marketOverEightCorners | Label for market over eight corners | Over eight and a half corners |
marketOverNineCorners | Label for market over nine corners | Over nine and a half corners |
marketOverTenCorners | Label for market over ten corners | Over ten and a half corners |
marketOverElevenCorners | Label for market over eleven corners | Over eleven and a half corners |
marketOverTwelveCorners | Label for market over twelve corners | Over twelve and a half corners |
marketOverThirteenCorners | Label for market over thirteen corners | Over thirteen and a half corners |
gameStatus | Title for choosing a game status. | Game status |
createGameStatusDescription | Description about choosing a game status.This will be displayed when you CREATE a game! | The provided choices are PENDING and OPEN. Keep in mind that if you choose OPEN you can NOT edit your game. |
editGameStatusDescription | Description about choosing a game status.This will be displayed when you EDIT a game! | The provided choices are PENDING, OPEN and CANCELED. Keep in mind that if you choose OPEN you can NOT edit your game anymore and if you choose CANCELED the game will be canceled. |
timeTiebreaker | Title for choosing a time tiebreaker option. | Time tiebreaker |
timeTiebreakerDescription | Description for choosing a time tiebreaker option. | When enabled the game's leaderboard will have a classic user ranking (1,2,3). In case of same points, the user who placed their predictions eariler will be infront. When disabled the current game's leaderboard behavour is used - when 2 or more people have same points, the ranking will be 1,1,3,4,5,5,7,8. |
enabled | Value for enabled option for time tiebreaker. | Enabled |
disabled | Value for disabled option for time tiebreaker. | Disabled |
rules | Title for game rules. | Rules |
rulesDescription | Description for game's rules. | Describe your rules for participating in the game. |
adContent | Title for game's ad content. | Ad content |
adContentDescription | Description for game's ad content. | Place your ad content in the game. |
flags | Title for choosing game flags. | Flags |
flagsPlaceholder | Placeholder on input field for game flags | Type your flag and hit enter |
repeatedValueMessage | react-toastify warning message when client submits same value. | You have entered a repeated value. Please enter a different one. |
images | Title for images container | Images |
mainImage | Title for main image. | Main |
coverImage | Title for cover image. | Cover |
mobileImage | Title for mobile image. | Mobile |
imagePlaceholder | Placeholder for image inputs | Paste your image as valid URL or as relative path |
related | Title for related container. | Related |
relatedDescription | Description for related container. | Choose which games or templates you wish to be related to this game. |
labelsHeading | Title for labels container. | Labels |
customFields | Title for custom fields container. | Custom fields |
dynamicFieldsDescription | Description about labels and custom fields. | You can create your custom records for easier way to connect your game. |
keyDynamicFields | Label for key input. | Key |
valueDynamicFields | Label for value input. | Value |
addRecord | Tooltip for add button in labels and custom fields containers. | Add record |
games | Title for games select. | Games |
gamesPlaceholder | Placeholder for games select input. | Select which games (TOP_X and MATCH_QUIZ) are related to this game |
templates | Title for templates select. | Templates |
templatesPlaceholder | Placeholder for templates select input. | Select which templates are related to this game |
cutoffTime | Title for choosing a cutoff time for game. | Cutoff time |
createCutoffTimeDescription | Description about choosing a cutoff time for creating a game. | Predictions will be accepted until this time. If not provided it will be automatically generated 15 minutes from the first match played. |
editCutoffTimeDescription | Description about choosing a cutoff time for editing a game. | Predictions will be accepted until this time. You need to provide a cutoff time to be able to edit the game. Keep in mind that cutoff time should be ATLEAST 15 minutes before match`s kickoff time. |
scheduleOpenAt | Title for choosing a scheduler to open a game. | Schedule open at |
scheduleOpenAtDescription | Description about choosing a scheduler to open a game. | When provided game's status will automatically set from PENDING to OPEN. Keep in mind that the latest time option is 75 minutes before first match kickoff. |
addWinner | Label for add button. This add button is displayed on Winners screen. | Add winner |
removeFixture | Label for remove button. Remove button is displayed on your winner. | Remove winner |
back | Tooltip content for back button (left arrow positioned on top-right corner). You can go back when you create/edit a game or when you visit report screen. | Back |
loadMore | Label for Load More button. It is displayed when you choose the team for who you will be displayed next matches. | Load More |
reportFor | Label positioned on top left side of the screen. Part of Report screen title. | Report for |
position | Label in header's report table | Position |
points | Label in header's report table | Points |
winnersDescription | Description for winners description | Describe the winners... |
winner | Title of card and label for the single winner input | Winner |
winnerDescription | Description for the single winner | Select the winner of the game |
insertWinners | Heading for the single winner container | Insert winners |
insertWinnersDescription | Description for the single winner container | Type information about each winner of the game. |
note | Label for note input | Note |
notePlaceholder | Placeholder for note input | Provide some note for the winner... |
tags | Label for tags input | Tags |
tagsPlaceholder | Placeholder for tags input | Provide tags for the winner... |
save | Label for save button | Save |
preview | Heading for preview container | Preview |
gameNotSettledMessage | Model message when client clicks on report button for game that is NOT settled. | Game is not settled and there is no leaderboard yet. |
exportButton | Label for button to open export modal screen on Report screen. | Export |
csvModalTitle | Title of the export modal. | Enter how many users should be exported |
csvModalDescription | Description of the export modal. | Download a .csv file with the first 100 number of users. |
csvModalPlaceholder | Placeholder for input on export modal. | Export the first X users... |
cancel | Label for cancel button to exit export modal. | Cancel |
csvModalDownloadButton | Label for button to download report as CSV file. Keep in mind that this label is uppercase. | Download as CSV file |
csvModalValidationMessage | Error message when invalid value is provided in input. | Input value has to be an integer number between 1 and 100 |
csvModalErrorMessage | Error message when exporting leaderboard as CSV file. | There was a problem with fetching game's report data |
clear | Tooltip for clearing button (circled X). Button clears current choosen game cuttof time. | Clear |
searchImage | Label for search image input | Search image |
hideFilters | Label for hyperlink to hide filters for image search | Hide filters |
showFilters | Label for hyperlink to show filters for image search | Show filters |
dateFromTo | Label for date from/to filter for image search | Date from/to |
dateFromToPlaceholder | Placeholder for input date from/to filter for image search | Select Date... |
noImagesFound | Paragraph when no images were found | No images found |
loadingMessage | When creating/editing a game label on button will be changed to loading message. Also used when searching for teams. | Loading... |
createGameMessage | When creating a game displaying a react-toastify successful message for created game. | You have successfully created a game. |
editGameMessage | When editing a game displaying a react-toastify successful message for edited game. | You have successfully edited a game. |
clearCutoffMessage | When clearing a cutoff time for a game displaying a react-toastify informational message for cleared input field about cutoff time for game | You have cleared your cutoff time. |
clearSchedulerMessage | When clearing schedule open at for a game displaying a react-toastify informational message for cleared input field about schedule open at for game | You have cleared your schedule open at. |
selectMatchErrorMessage | react-toastify warning message when client tries to create or edit a game without selecting a match | You need to select a match to be able to manage a game. |
chooseGameCutoffTimeMessage | react-toastify warning message when client tries to edit a game without choosing a prediction cutoff time. | You need to choose a date to edit the game. |
minimumMarketMessage | react-toastify warning message when client tries to create or edit a game without choosing any markets. | You need to choose at least ONE market to be able to manage a game. |
invalidCutoffTimeMessage | When creating/editing a game displaying a react-toastify warning message about invalid cutoff time for game. | The provided match starts before cutoff time. Please choose cutoff time that is before the chosen match kickoff time. |
createGameErrorMessage | When creating a game displaying a react-toastify error message. | There was a problem with creating the game. Please try again. |
editGameErrorMessage | When editing a game displaying a react-toastify error message. | There was a problem with editing the game. Please try again. |
leaderboardErrorMessage | react-toastify error message when client goes to report screen and widget fails to load the leaderboard. | There was a problem with displaying leaderboard. Please try again. |
gamePredictionsErrorMessage | react-toastify error message when client goes to report screen and widget fails to load the users` predictions. | There was a problem with getting predictions for users. Please try again. |
nextMatchesErrorMessage | react-toastify error message when client enters a team's name and widget fails to fetch them. | There was a problem with requesting next matches. Please try again. |
leaderboardNotAvailable | When setting winners for game and there is no leaderboard available. This is heading message that appears in winner container. | No leaderboard is available for this game. |
gameNoSetWinnersMessage | When winners are set for the first time this message will appear in the preview block. | No winners are set for this game. |
positionAndWinnerRequiredMessage | When managing winners for a game displaying a react-toastify validation error message. | Position and winner are required! |
sameChosenWinnerMessage | When managing winners for a game displaying a react-toastify validation error message. | You have selected same winners. Each winner has to be unique! |
gameWinnersErrorMessage | When fetching winners for a game displaying a react-toastify error message. | There was a problem with fetching information about game winners. Please try again. |
createGameWinnersMessage | When creating winners for a game displaying a react-toastify success message. | You have successfully created winners for the game. |
createGameWinnersErrorMessage | When creating winners for a game displaying a react-toastify error message. | There was a problem with creating winners for the game. Please try again. |
editGameWinnersMessage | When editing winners for a game displaying a react-toastify success message. | You have successfully edited winners for the game. |
editGameWinnersErrorMessage | When editing winners for a game displaying a react-toastify error message. | There was a problem with editing winners for the game. Please try again. |
relatedEntitiesErrorMessage | When creating or editing a game displaying a react-toastify error message when the request fails for fetching related entities. | There was a problem with fetching entities. Please try again. |
dynamicFieldsKeysValidationMessage | Warning react-toastify message when provided keys are invalid. | Only lowercase letters, numbers and underscore are accepted as keys! |
gameByIdErrorMessage | When editing a game displaying a react-toastify error message when request fails for retrieving full information about the game. | There was a problem retrieving full information about the game. |
uploadingImageMessage | react-toastify success message when uploading image to bucket | You have successfully uploaded image |
generateSignedInUrlErrorMessage | react-toastify error message when trying to receive a signed in URL. | There was a problem generating signed in URL to store the image in bucket. Please try again |
uploadingImageErrorMessage | react-toastify error message when uploading image to bucket | There was a problem with uploading image to bucket. Please try again |
encryptingImageErrorMessage | react-toastify error message when encrypting image before uploading it to bucket | There was a problem with encrypting image before uploading it to bucket. Please try again |
clearFromToFilterSportal365ImagesMessage | react-toastify info message when clearing date from/to filter | You have cleared from/to filter for Sportal365 search images |
searchSportal365ImagesErrorMessage | react-toastify error message when searching images from Sportal 365 API | There was a problem with searching images from Sportal 365 API. Please try again |
Updated 6 months ago