fansunited-widget-classic-quiz
v2.12.0
Published
Welcome to Fans United Classic Quiz Management Widget. The widget allows staff members with sufficient permissions to create new Classic Quizzes. You can use this widget as it is and embed it in your platform, or you can use the Management Panel to create
Downloads
1,007
Readme
Classic Quiz Management Widget
Welcome to Fans United Classic Quiz Management Widget. The widget allows staff members with sufficient permissions to create new Classic Quizzes. You can use this widget as it is and embed it in your platform, or you can use the Management Panel to create Classic Quizzes. Classic Quiz is a mini-game where users must answer to questions. With successful installation, you can create, edit and delete a Classic Quiz mini-game.
Installation and usage
The easiest way to use fansunited-widget-classic-quiz-management is to install it from npm as follows:
npm install fansunited-widget-classic-quiz
or:
yarn add fansunited-widget-classic-quiz
Here is an example how you can integrate Fans United Classic Quiz Management Widget:
import 'fansunited-widget-classic-quiz/style.css';
import { ClassicQuizManager } from 'fansunited-widget-classic-quiz';
const App = () => {
return (
<ClassicQuizManager
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 Joy UI which is based on headless unstyle react components. 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-classic-quiz/style.css';
N.B: If you are using an entry point for importing all your stylings, you need to import fansunited-widget-classic-quiz/style.css
there as well
- Easy translation in every language. For more information check our Translation heading.
Props
type ClassicQuizManagerProps = {
fansUnitedApiKey: string;
fansUnitedClientId: string;
fansUnitedLanguage?: string;
fansUnitedEnvironment?: string;
sportal365Project?: string;
sportal365Infrastructure?: 'shared' | 'betway';
labels?: LabelsModel;
hideSignOutButton?: boolean;
};
Fans United Classic 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 .hideSignOutButton
- By default on the top right corner of the widget will be displayed a sign out button. To hide that button set this prop to true.
Translation
You can easily translate Fans United Classic 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-classic-quiz/style.css';
import { ClassicQuizManager } from 'fansunited-widget-classic-quiz';
const labels = {
userNotFound: 'User not found. Please try again',
clientFeaturesNotFoundMessage: "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',
additionalInformation: 'Additional information',
expand: 'Expand',
pageNo: 'Page No',
deleteMiniGameTitle: 'Delete Classic Quiz',
deleteMiniGameDescription: 'Are you sure you want to delete',
cloneMiniGameTitle: 'Clone Classic Quiz',
back: 'Back',
manageMiniGameTitle: 'Manage Classic Quiz',
manageMiniGameDescription: 'Manage your Classic Quiz here',
schedule: 'Schedule',
scheduledTaskNotAvailable: 'To configure scheduled tasks you need to first create your classic quiz',
changeStatusTo: 'Change status to:',
at: 'At:',
deleteScheduledTaskModalTitle: 'Delete scheduled task',
deleteScheduledTaskModalParagraph: 'Are you sure you want to delete the following scheduled task: ',
points: 'Points',
pointsDescription: 'Set the number of points awarded for each correct answer. Points will be added to the user’s profile.',
maxAttempts: 'Max Attempts',
maxAttemptsDescription: 'Define how many times a user can attempt the quiz. Leave this field blank for unlimited attempts.',
scored: 'Scored (true or false)',
scoredDescription: 'Enable this option to generate standings based on the points earned in the quiz.',
reports: 'Reports',
standings: 'Standings',
classicQuizNotScored: "The Classic Quiz has no available standings, because it's not scored. You need to update the Classic Quiz to be scored.",
name: 'Name',
noStandingsAvailable: 'No standings available.',
noQuestionsReport: 'The questions report is out of date. Please recalculate in order to see the latest data.',
questionsReport: 'Questions Report',
recalculate: 'Recalculate',
questionsReportRecalculationMessage: 'The questions report is successfully recalculated',
questionsReportRecalculationErrorMessage: 'There was a problem with recalculating questions report. Please try again',
questionsReportErrorMessage: 'There was a problem with fetching information about questions report. Please try again',
participations: 'Participations',
questionsChartErrorMessage: 'There was a problem with fetching information about questions report. Please try again',
signOut: 'Sign out',
createFromTemplate: 'Create from template',
timeFormat: 'DD.MM.YYYY, HH:mm',
getClassicQuizzesErrorMessage: 'There was a problem with fetching classic quizzes',
title: 'Title',
noGamesFound: "No classic quizzes were found. You can create one by clicking the button 'Create'",
status: 'Status',
participants: 'Participants',
averageScore: 'Average score',
perfectScore: 'Perfect score',
creationDate: 'Created at',
actions: 'Actions',
create: 'Create',
edit: 'Edit',
clone: 'Clone',
save: 'Save',
preview: 'Preview',
close: 'Close',
add: 'Add',
copyUrl: 'Copy URL',
sortBy: 'Sort by:',
uploadImage: 'Upload image',
hideMoreImages: 'Hide more images',
showMoreImages: 'Show more images',
configuration: 'Configuration',
contextEntityTag: 'Context entity tag',
typeContextTagNamePlaceholder: 'Type context tag name...',
description: 'Description',
images: 'Images',
branding: 'Branding',
urls: 'URLs',
primaryUrl: 'Primary URL',
secondaryUrl: 'Secondary URL',
privacyPolicyUrl: 'Privacy Policy URL',
termsAndConditionsUrl: 'Terms and Conditions URL',
additionalUrl: 'Additional URL',
colors: 'Colors',
primaryColor: 'Primary Color',
secondaryColor: 'Secondary Color',
contentColor: 'Content Color',
backgroundColor: 'Background Color',
borderColor: 'Border Color',
additionalColor: 'Additional Color',
mainLogo: 'Main Logo',
mobileLogo: 'Mobile Logo',
backgroundImage: 'Background Image',
mobileBackgroundImage: 'Mobile Background Image',
additionalImage: 'Additional Image',
clearImage: 'Clear image',
viewImage: 'View image',
cropImage: 'Crop image',
aspectRatio: 'Aspect ratio',
crop: 'Crop',
reset: 'Reset',
sportal365Images: 'Sportal365 Images',
search: 'Search',
delete: 'Delete',
additionalFields: 'Additional fields',
addQuestion: 'Add question',
addImages: 'Add images',
addExplanation: 'Add explanation',
addEmbedCode: 'Add embed code',
fromDate: 'From Date',
toDate: 'To Date',
embedCode: 'Embed Code',
embedCodeDescription: 'This field allows you to embed any type of content. For example, if you’d like to ask a question like “What happens next?“, you can embed a short YouTube video and provide answer options below.',
explanation: 'Explanation',
explanationDescription: 'This optional field allows you to provide users with more information about the correct answer.',
rules: 'Rules',
adContent: 'Ad content',
adContentPlaceholder: 'Place your ad content in Classic Quiz',
mainImage: 'Main',
coverImage: 'Cover',
mobileImage: 'Mobile',
addOption: 'Add option',
removeQuestion: 'Remove question',
groupByStatus: 'Group by status',
sortByCreatedAtAsc: 'Sort by created at field in ascending order',
sortByCreatedAtDesc: 'Sort by created at field in descending order',
sortByUpdatedAtAsc: 'Sort by updated at field in ascending order',
sortByUpdatedAtDesc: 'Sort by updated at field in descending order',
options: 'Options',
active: 'Active',
incorrect: 'Incorrect',
inactive: 'Inactive',
removeOption: 'Remove option',
expired: 'Expired',
time: 'Time',
timeDescription: 'Specify the time (in seconds) that users will have to answer each question.',
repeatedValueMessage: 'You have entered a repeated value. Please enter a different one.',
flags: 'Flags',
flagsPlaceholder: 'Type your flag and hit enter',
labels: 'Labels',
customFields: 'Custom fields',
dynamicFieldsDescription: 'You can create your custom attributes for easier way to connect or describe your Classic Quiz',
keyDynamicFields: 'Key',
valueDynamicFields: 'Value',
question: 'Question',
questionNumber: 'Question number',
option: 'Option',
questions: 'Questions',
questionsDescription: 'Manage your questions and their corresponding options.',
correct: 'Correct',
wrong: 'Wrong',
skipped: 'Skipped',
total: 'Total',
context: 'Context',
content: 'Content',
tags: 'Tags',
entity: 'Entity',
campaign: 'Campaign',
id: 'ID',
idContentPlaceholder: 'Type the ID of your content',
idCampaignPlaceholder: 'Type the ID of your campaign',
label: 'Label',
labelContentPlaceholder: "Type the content's label",
labelCampaignPlaceholder: "Type the campaign's label",
type: 'Type',
typeDescription: 'Select the type of quiz. You can manage different quiz types by configuring them in the settings.',
previewClassicQuiz: 'Preview Classic Quiz',
hideFilters: 'Hide filters',
showFilters: 'Show filters',
noImagesFound: 'No images found',
previous: 'Previous',
next: 'Next',
browseQuestions: 'Browse questions',
browseQuestionsNoResults: 'No questions found',
addToQuiz: 'Add to Quiz',
translateAndAddToQuiz: 'Translate to _language_ and Add to Quiz',
sport: 'Sport',
football: 'Football',
basketball: 'Basketball',
tennis: 'Tennis',
formulaOne: 'Formula 1',
eSports: 'Esports',
rugby: 'Rugby',
cricket: 'Cricket',
difficulty: 'Difficulty',
easy: 'Easy',
medium: 'Medium',
hard: 'Hard',
competitions: 'Competitions',
teams: 'Teams',
players: 'Players',
addAll: 'Add all',
exports: 'Exports',
exportUsersData: 'Export users data',
category: 'Category',
action: 'Action',
exportAllUsers: 'Export all users',
exportAllUsersDescription: 'Export all users who participated in the quiz.',
exportUsersPerfectScore: 'Export users with perfect score',
exportUsersPerfectScoreDescription: 'Export the users who got all the questions right.',
exportUsersWithSuccessRate: 'Export users with success rate of minimum',
exportUsersWithSuccessRateDescription: 'Exports the users who got at least _successRate_ of the questions right.',
exportTop: 'Export top',
usersExportMessage: 'Users have been exported successfully',
usersExportErrorMessage: 'There was a problem with exporting users. Please try again',
getFootballEntitiesErrorMessage: "There was a problem with fetching football's data. Please try again.",
titleRequiredFieldValidationMessage: 'Title is required!',
questionRequiredFieldValidationMessage: 'The question itself is required for each question!',
optionRequiredFieldValidationMessage: 'The option itself is required for each option in each question!',
correctInvalidFieldValidationMessage: 'One correct option is required for each question!',
tagsInvalidFieldValidationMessage: 'Tag entity is required!',
getClassicQuizErrorMessage: 'There was a problem with fetching classic quiz data. Please try again.',
createClassicQuizMessage: 'You have successfully created Classic Quiz',
createClassicQuizErrorMessage: 'There was a problem creating Classic Quiz. Please try again',
updateClassicQuizMessage: 'You have successfully updated Classic Quiz',
updateClassicQuizErrorMessage: 'There was a problem updating Classic Quiz. Please try again',
cloneClassicQuizMessage: 'You have successfully cloned Classic Quiz',
cloneClassicQuizErrorMessage: 'There was a problem cloning Classic Quiz. Please try again',
urlCopiedToClipboardMessage: 'URL copied to clipboard',
imageDeletedMessage: 'Image deleted',
imageResetMessage: 'The initial size of the image has been restored',
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',
deleteClassicQuizMessage: 'Classic Quiz deleted successfully!',
deleteClassicQuizErrorMessage: 'There was a problem with deleting Classic Quiz. Please try again',
createScheduledTaskMessage: 'You have successfully created scheduled task',
createScheduledTaskErrorMessage: 'An error occurred while creating scheduled task. Please try again later',
updateScheduledTaskMessage: 'You have successfully updated scheduled task',
updateScheduledTaskErrorMessage: 'An error occurred while updating scheduled task. Please try again later',
deleteScheduledTaskMessage: 'You have successfully deleted scheduled task',
deleteScheduledTaskErrorMessage: 'An error occurred while deleting scheduled task. Please try again later',
filledBrowsedQuestionsMessage: 'You have successfully filled your questions',
filledBrowsedQuestionsErrorMessage: 'You can import maximum 20 questions!',
questionsTranslationErrorMessage: 'An error occurred while translating questions.',
browseQuizzes: 'Browse quizzes',
import: 'Import',
translateAndImport: 'Translate to _language_ and Import',
translateAndClone: 'Translate to _language_ and Clone',
translateTo: 'Translate to _language_',
noTranslation: 'No Translation',
authRequirement: 'Auth Requirement',
authRequirementDescription: 'Choose the type of authentication to be used.',
free: 'Free',
lead: 'Lead',
registered: 'Registered',
};
const App = () => {
return (
<ClassicQuizManager
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 |
| clientFeaturesNotFoundMessage
| Toast 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
| Label for no permission card title | Feature disabled! |
| noPermissionMessage
| Label for no permission card paragraph | You have no permission for this feature! |
| tryAgainButton
| Label for no permission card button | Try again |
| additionalInformation
| Label for tooltip button | Additional information |
| expand
| Label for expand tooltip button | Expand |
| pageNo
| Label before pagination buttons | Page No |
| deleteMiniGameTitle
| Title for delete quiz modal | Delete Classic Quiz |
| deleteMiniGameDescription
| Description for delete quiz modal | Are you sure you want to delete |
| cloneMiniGameTitle
| Title for clone quiz modal | Clone Classic Quiz |
| back
| Label next to back button | Back |
| manageMiniGameTitle
| Title on management screen | Manage Classic Quiz |
| manageMiniGameDescription
| Description on management screen | Manage your Classic Quiz here |
| schedule
| Label for schedule accordion | Schedule |
| scheduledTaskNotAvailable
| Paragraph when trying to configure scheduled task for not created Classic Quiz | To configure scheduled tasks you need to first create your classic quiz |
| points
| Label for points | Points |
| pointsDescription
| Description for points input | Set the number of points awarded for each correct answer. Points will be added to the user’s profile. |
| maxAttempts
| Label for max attempts | Max Attempts |
| maxAttemptsDescription
| Description for max attempts input | Define how many times a user can attempt the quiz. Leave this field blank for unlimited attempts. |
| scored
| Label for switch | Scored (true or false) |
| scoredDescription
| Description for scored switch | Enable this option to generate standings based on the points earned in the quiz. |
| reports
| Label for tab | Reports |
| standings
| Label for tab | Standings |
| classicQuizNotScored
| Paragraph in standings for Classic Quiz which is not scored | The Classic Quiz has no available standings, because it's not scored. You need to update the Classic Quiz to be scored. |
| name
| Label for name | Name |
| noStandingsAvailable
| Paragraph when no standings is still available | No standings available. |
| noQuestionsReport
| Paragraph for questions report when they are not calculated | The questions report is out of date. Please recalculate in order to see the latest data. |
| questionsReport
| Title in questions report | Questions Report |
| recalculate
| Label for recalculate button | Recalculate |
| questionsReportRecalculationMessage
| Toast success message when the questions report are calculated successfully | The questions report is successfully recalculated |
| questionsReportRecalculationErrorMessage
| Toast error message when the questions report recalculation fails | There was a problem with recalculating questions report. Please try again |
| questionsReportErrorMessage
| Toast error message when fetching the questions report fails | There was a problem with fetching information about questions report. Please try again |
| participations
| Label for participations chart legend | Participations |
| questionsChartErrorMessage
| Toast error message when fetching the quiz participation fails |
There was a problem with fetching information about quiz participation. Please try again |
| signOut
| Used as label on sign out button. | Sign out |
| createFromTemplate
| Used as label on create from template button. | Create from template |
| getClassicQuizzesErrorMessage
| Toast error message when request fails for fetching classic quizzes. | There was a problem with fetching classic quizzes |
| title
| Label for title | Title |
| noGamesFound
| Label for title | No classic quizzes were found. You can create one by clicking the button 'Create' |
| status
| Status of a Classic Quiz | Status |
| participants
| Count of users who have participated in the game | Participants |
| averageScore
| Average score of users who have participated in the game | Average score |
| perfectScore
| Count of users who have answered perfect in the game | Perfect score |
| creationDate
| Date of created Classic Quiz in same format as given for timeFormat
prop | Created at |
| actions
| Two icon buttons with different actions | Actions |
| create
| Label for management header | Create |
| edit
| Label for management header | Edit |
| clone
| Label clone | Clone |
| save
| Label for save button | Save |
| preview
| Label for preview button | Preview |
| close
| Label for close button | Close |
| add
| Label for add button | Add |
| copyUrl
| Label for copy URL button | Copy URL |
| groupByStatus
| Label for group status sort checkbox | Group by status |
| sortByCreatedAtAsc
| Label for sort option | Sort by created at field in ascending order |
| sortByCreatedAtDesc
| Label for sort option | Sort by created at field in descending order |
| sortByUpdatedAtAsc
| Label for sort option | Sort by updated at field in ascending order |
| sortByUpdatedAtDesc
| Label for sort option | Sort by updated at field in descending order |
| uploadImage
| Label for upload image button | Upload image |
| hideMoreImages
| Label for hide more images hyperlink | Hide more images |
| showMoreImages
| Label for show more images hyperlink | Show more images |
| configuration
| Label for configuration accordion | Configuration |
| contextEntityTag
| Label for context entity tag search input | Context entity tag |
| typeContextTagNamePlaceholder
| Placeholder for context entity tag search input | Type context tag name... |
| clearStatus
| Label for clear status hyperlink | Clear status |
| timeFormat
| Time format for displaying dates. Widgets uses dayjs as a date dependency. | DD.MM.YYYY, HH:mm |
| previous
| Label for pagination button. | Previous |
| next
| Label for pagination button. | Next |
| id
| Label for ID read only input field. | ID |
| description
| Label for description input field on management screen. | Description |
| images
| Label for images container. | Images |
| rules
| Label for rules rich text. | Rules |
| adContent
| Label for AD content rich text. | Ad content |
| adContentPlaceholder
| Placeholder for AD content text area. | Place your ad content in Classic Quiz |
| questionImages
| Label for question images container. | Question images |
| optionImages
| Label for option images container. | Option images |
| mainImage
| Label for main image. | Main |
| coverImage
| Label for cover image. | Cover |
| mobileImage
| Label for mobile image. | Mobile |
| imagePlaceholder
| Placeholder for image inputs. | Paste your image as valid URL or as relative path |
| active
| Label for status. | Active |
| inactive
| Label for status. | Inactive |
| statusDescription
| Description for status select. | When Classic Quiz is Inactive, then users are not allowed to participate. When the game is Active and there are users who have participated, you can't change the questions and options order and size |
| time
| Label for time input. | Time |
| timeDescription
| Description for time input. | Specify the time (in seconds) that users will have to answer each question. |
| flags
| Label for choosing flags. | Flags |
| flagsPlaceholder
| Placeholder on input field for flags | Type your flag and hit enter |
| labels
| Label for labels container | Labels |
| customFields
| Label for custom fields container | Custom fields |
| dynamicFieldsDescription
| Description paragraph for labels and custom fields containers | You can create your custom attributes for easier way to connect or describe your Classic Quiz |
| keyDynamicFields
| Label for key input | Key |
| valueDynamicFields
| Label for value input | Value |
| repeatedValueMessage
| Toast warning message when client submits same flag. | You have entered a repeated value. Please enter a different one |
| question
| Label for question input. | Question |
| questionNumber
| Label for question container's header. | Question number |
| questionPlaceholder
| Placeholder for question input. | Type the question for your Classic Quiz |
| questions
| Label for questions container. | Questions |
| questionsDescription
| Description for questions container. | Manage your questions and their corresponding options. |
| questionsParagraph
| Questions paragraph visible only when editing a Classic Quiz and it has participations. | There are already participations in this quiz. You can no longer add/remove questions and options or change the correct options |
| options
| Label for options container. | Options |
| option
| Label for option input. | Option |
| optionNumber
| Label for option container's header. | Option number |
| optionPlaceholder
| Placeholder for option input. | Type the option available for the question |
| correct
| Tooltip for correct button. | Correct |
| context
| Label for context container. | Context |
| content
| Label for context content container. | Content |
| tags
| Label for context tags container. | Tags |
| entity
| Label for entity search in tag. | Entity |
| campaign
| Label for context campaign container. | Campaign |
| id
| Label for ID. | ID |
| idContentPlaceholder
| Placeholder for ID content in context. | Type the ID of your content |
| idCampaignPlaceholder
| Placeholder for ID content in campaign. | Type the ID of your campaign |
| label
| Label for context content/campaign label input. | Label |
| labelContentPlaceholder
| Placeholder for label content in context. | Type the content's label |
| labelCampaignPlaceholder
| Placeholder for label content in campaign. | Type the campaign's label |
| type
| Label for context content type input. | Type |
| typeDescription
| Description paragraph for type select. | Select the type of quiz. You can manage different quiz types by configuring them in the settings. |
| noType
| The default select option for Classic Quiz type. | No type |
| confirmationQuestionLabel
| Paragraph in confirmation modal. | Are you sure you want to delete |
| typeContentPlaceholder
| Placeholder for type content in context. | Type the content's type |
| previewClassicQuiz
| Title in preview modal. | Preview Classic Quiz |
| clear
| Label tippy clear button | Clear |
| searchImages
| Label for search images input | Search images |
| hideFilters
| Label for hyperlink to hide filters for image search | Hide filters |
| showFilters
| Label for hyperlink to show filters for image search | Show filters |
| noImagesFound
| Label for hyperlink to show filters for image search | No images found |
| 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... |
| branding
| Label for branding container | Branding |
| urls
| Label for branding urls container | URLs |
| primaryUrl
| Label for branding primary url input | Primary URL |
| secondaryUrl
| Label for branding secondary url input | Secondary URL |
| privacyPolicyUrl
| Label for branding privacy policy url input | Privacy Policy URL |
| termsAndConditionsUrl
| Label for branding terms and conditions url input | Terms and Conditions URL |
| additionalUrl
| Label for branding additional url input | Additional URL |
| colors
| Label for branding colors container | Colors |
| primaryColor
| Label for branding primary color input | Primary Color |
| secondaryColor
| Label for branding secondary color input | Secondary Color |
| contentColor
| Label for branding content color input | Content Color |
| backgroundColor
| Label for branding background color input | Background Color |
| borderColor
| Label for branding border color input | Border Color |
| additionalColor
| Label for branding additional color input | Additional Color |
| mainLogo
| Label for branding main logo | Main Logo |
| mobileLogo
| Label for branding mobile logo | Mobile Logo |
| backgroundImage
| Label for branding background image | Background Image |
| mobileBackgroundImage
| Label for branding mobile background image | Mobile Background Image |
| additionalImage
| Label for branding additional image | Additional Image |
| clearImage
| Tooltip for clear image button | Clear image |
| viewImage
| Tooltip for view image button | View image |
| cropImage
| Tooltip for crop image button | Crop image |
| aspectRatio
| Label for aspect ratio select | Aspect ratio |
| crop
| Label for crop button | Crop |
| rest
| Label for reset button | Reset |
| sportal365Images
| Label for sportal365 images button | Sportal365 Images |
| search
| Label for search | Search |
| delete
| Label for delete | Delete |
| additionalFields
| Label for additional fields | Additional fields |
| addQuestion
| Label for add question button | Add question |
| addImages
| Label for add images checkbox | Add images |
| addExplanation
| Label for add explanation checkbox | Add explanation |
| addEmbedCode
| Label for add embed code checkbox | Add embed code |
| fromDate
| Label for from date input | From Date |
| toDate
| Label for to date input | To Date |
| embedCode
| Label for question embed code text area | Embed Code |
| embedCodeDescription
| Description for question embed code text area | This field allows you to embed any type of content. For example, if you’d like to ask a question like “What happens next?“, you can embed a short YouTube video and provide answer options below. |
| explanation
| Label for question explanation rich text | Explanation |
| explanationDescription
| Description for question explanation rich text | This optional field allows you to provide users with more information about the correct answer. |
| addOption
| Label for add option button | Add option |
| removeQuestion
| Label for remove question button | Remove question |
| incorrect
| Tooltip for correct button | Incorrect |
| removeOption
| Label for remove option | Remove option |
| wrong
| Label for wrong column in questions report | Wrong |
| skipped
| Label for skipped column in questions report | Skipped |
| total
| Label for total column in questions report | Total |
| changeStatusTo
| Label for select input in schedule accordion | Change status to: |
| at
| Label for calendar input in schedule accordion | At: |
| deleteScheduledTaskModalTitle
| Title for delete scheduled task modal | Delete scheduled task |
| deleteScheduledTaskModalParagraph
| Paragraph for delete scheduled task modal | Are you sure you want to delete the following scheduled task: |
| browseQuestions
| Label for browse questions button | Browse questions |
| browseQuestionsNoResults
| Label when no questions has been found | No questions found |
| addToQuiz
| Label for add question in quiz in browse questions modal | Add to Quiz |
| translateAndAddToQuiz
| Label for translate and add question in quiz in browse questions modal. The placeholder 'language' is required and will be replaced with the language that is configured by the client. | Translate to language and Add to Quiz |
| sport
| Label for sport select in browse questions modal | Sport |
| football
| Label for sport option in browse questions modal | Football |
| basketball
| Label for sport option in browse questions modal | Basketball |
| tennis
| Label for sport option in browse questions modal | Tennis |
| formulaOne
| Label for sport option in browse questions modal | Formula 1 |
| eSports
| Label for sport option in browse questions modal | Esports |
| rugby
| Label for sport option in browse questions modal | Rugby |
| cricket
| Label for sport option in browse questions modal | Cricket |
| difficulty
| Label for difficulty select in browse questions modal | Difficulty |
| easy
| Label for difficulty option in browse questions modal | Easy |
| medium
| Label for difficulty option in browse questions modal | Medium |
| hard
| Label for difficulty option in browse questions modal | Hard |
| competitions
| Label for competitions input filter in browse questions modal | Competitions |
| teams
| Label for teams input filter in browse questions modal | Teams |
| players
| Label for players input filter in browse questions modal | Players |
| addAll
| Label add all button in browse questions modal | Add all |
| exports
| Label for exports tab | Exports |
| exportUsersData
| Title in exports users data | Export users data |
| category
| Name of column | Category |
| action
| Name of column | Action |
| exportAllUsers
| Label export all users category record | Export all users |
| exportAllUsersDescription
| Description for export all users category record | Export all users who participated in the quiz. |
| exportUsersPerfectScore
| Label export users with perfect score category record | Export users with perfect score |
| exportUsersPerfectScoreDescription
| Description for export users with perfect score category record | Export the users who got all the questions right. |
| exportUsersWithSuccessRate
| Label export users with success rate category record | Export users with success rate of minimum |
| exportUsersWithSuccessRateDescription
| Description for export users with success rate category record. The placeholder 'successRate' is required and will be replaced with 'X%' (e.g. 43%) number that is calculated dynamically in the widget. | Exports the users who got at least successRate of the questions right. |
| exportTop
| Label for export users with success rate category record button | Export top |
| usersExportMessage
| Toast success message when users have been exported successfully | Users have been exported successfully |
| usersExportErrorMessage
| Toast error message when exporting users fails | There was a problem with exporting users. Please try again |
| getFootballEntitiesErrorMessage
| Toast error message when typing the name of the entity in tags and request fails. | There was a problem with fetching football's data. Please try again. |
| createClassicQuizMessage
| Toast successful message when creating Classic Quiz | You have successfully created Classic Quiz |
| createClassicQuizErrorMessage
| Toast error message when creating Classic Quiz | There was a problem creating Classic Quiz. Please try again |
| titleRequiredFieldValidationMessage
| Toast error message when validating title for Classic Quiz | Title is required! |
| questionRequiredFieldValidationMessage
| Toast error message when validating question value for each question for Classic Quiz | The question itself is required for each question! |
| optionRequiredFieldValidationMessage
| Toast error message when validating option value for each question for Classic Quiz | The option itself is required for each option in each question! |
| correctInvalidFieldValidationMessage
| Toast error message when validating correct radio button for each option for Classic Quiz | One correct option is required for each question! |
| tagsInvalidFieldValidationMessage
| Toast error message when validating tags for Classic Quiz | Tag entity is required! |
| updateClassicQuizMessage
| Toast successful message when updating Classic Quiz | You have successfully updated Classic Quiz |
| updateClassicQuizErrorMessage
| Toast error message when updating Classic Quiz | There was a problem updating Classic Quiz. Please try again |
| cloneClassicQuizMessage
| Toast successful message when cloning Classic Quiz | You have successfully cloned Classic Quiz |
| cloneClassicQuizErrorMessage
| Toast error message when cloning Classic Quiz | There was a problem cloning Classic Quiz. Please try again |
| deleteClassicQuizMessage
| Toast successful message when deleting Classic Quiz | Classic Quiz deleted successfully! |
| deleteClassicQuizErrorMessage
| Toast error message when deleting Classic Quiz | There was a problem with deleting Classic Quiz. Please try again |
| uploadingImageMessage
| Toast success message when uploading image to bucket | You have successfully uploaded image |
| generateSignedInUrlErrorMessage
| Toast 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
| Toast error message when uploading image to bucket | There was a problem with uploading image to bucket. Please try again |
| encryptingImageErrorMessage
| Toast 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 |
| searchSportal365ImagesErrorMessage
| Toast error message when searching images from Sportal 365 API | There was a problem with searching images from Sportal 365 API. Please try again |
| getClassicQuizErrorMessage
| Toast error message when fetching classic quiz by ID | There was a problem with fetching classic quiz data. Please try again. |
| urlCopiedToClipboardMessage
| Toast info message when image URL is copied | URL copied to clipboard |
| imageDeletedMessage
| Toast info message when image is deleted | Image deleted |
| imageResetMessage
| Toast info message when image size is restored | The initial size of the image has been restored |
| createScheduledTaskMessage
| Toast successful message when a new scheduled task is created | You have successfully created scheduled task |
| createScheduledTaskErrorMessage
| Toast error message when a new scheduled task is created | An error occurred while creating scheduled task. Please try again later |
| updateScheduledTaskMessage
| Toast successful message when a scheduled task is updated | You have successfully updated scheduled task |
| updateScheduledTaskErrorMessage
| Toast error message when a scheduled task is updated | An error occurred while updating scheduled task. Please try again later |
| deleteScheduledTaskMessage
| Toast successful message when a scheduled task is deleted | You have successfully deleted scheduled task |
| deleteScheduledTaskErrorMessage
| Toast error message when a scheduled task is deleted | An error occurred while deleting scheduled task. Please try again later |
| filledBrowsedQuestionsMessage
| Toast success message when browsing questions are successfully added | You have successfully filled your questions |
| filledBrowsedQuestionsErrorMessage
| Toast error message when importing more than 20 questions from browsed questions | You can import maximum 20 questions! |
| questionsTranslationErrorMessage
| Toast error message when questions are translating | An error occurred while translating questions. |
| browseQuizzes
| Label for browse quizzes modal title | Browse quizzes |
| import
| Label for import button | Import |
| translateAndImport
| Label for translate and import button. The placeholder 'language' is required and will be replaced with the language that is configured by the client. | Translate to language and Import |
| translateAndClone
| Label for translate and clone button. The placeholder 'language' is required and will be replaced with the language that is configured by the client. | Translate to language and Clone |
| translateTo
| Label for button for translation quiz while editing. The placeholder 'language' is required and will be replaced with the language that is configured by the client. | Translate to language |
| noTranslation
| Label for default quiz translation option. | No Translation |
| authRequirement
| Label for auth requirement select in configuration panel. | Auth Requirement |
| authRequirementDescription
| Description for auth requirement select in configuration panel. | Choose the type of authentication to be used. |
| free
| Label for auth requirement option. | Free |
| lead
| Label for auth requirement option. | Lead |
| registered
| Label for auth requirement option. | Registered |