* Adds filter for agents, labels and inboxes * Added Inboxes Reports Feature * Fixed populating of filter dropdown issue * If applied, fixes code climate style-lint warnings * Fixes codeclimate warnings * if applied, Refactors sidebar file to fix codclimate warnings * if applied, fixes the download reports button for filtered report-data * If applied, replaces native img tag with thumbnail component * If applied, replaces hardcoded color string with variable * If applied, adds a11y labels to multiselect dropdowns * If applied, Renames reports methods to generic names * If applied, Adds test cases for Labels and Inboxes * If applied, write a test spec for fileDownload helper * if applied, Moves fileDownload method to a utils folder * If applied, Fixes the report file name type * Test Spec for Reports Store module * Fix specs - add restoreAllMocks Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
279 lines
6.4 KiB
JSON
279 lines
6.4 KiB
JSON
{
|
|
"REPORT": {
|
|
"HEADER": "Overview",
|
|
"LOADING_CHART": "Loading chart data...",
|
|
"NO_ENOUGH_DATA": "We've not received enough data points to generate report, Please try again later.",
|
|
"DOWNLOAD_AGENT_REPORTS": "Download agent reports",
|
|
"METRICS": {
|
|
"CONVERSATIONS": {
|
|
"NAME": "Conversations",
|
|
"DESC": "( Total )"
|
|
},
|
|
"INCOMING_MESSAGES": {
|
|
"NAME": "Incoming Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"OUTGOING_MESSAGES": {
|
|
"NAME": "Outgoing Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"FIRST_RESPONSE_TIME": {
|
|
"NAME": "First response time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_TIME": {
|
|
"NAME": "Resolution Time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_COUNT": {
|
|
"NAME": "Resolution Count",
|
|
"DESC": "( Total )"
|
|
}
|
|
},
|
|
"DATE_RANGE": [
|
|
{
|
|
"id": 0,
|
|
"name": "Last 7 days"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "Last 30 days"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Last 3 months"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Last 6 months"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Last year"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Custom date range"
|
|
}
|
|
],
|
|
"CUSTOM_DATE_RANGE": {
|
|
"CONFIRM": "Apply",
|
|
"PLACEHOLDER": "Select date range"
|
|
}
|
|
},
|
|
"AGENT_REPORTS": {
|
|
"HEADER": "Agents Overview",
|
|
"LOADING_CHART": "Loading chart data...",
|
|
"NO_ENOUGH_DATA": "We've not received enough data points to generate report, Please try again later.",
|
|
"DOWNLOAD_AGENT_REPORTS": "Download agent reports",
|
|
"FILTER_DROPDOWN_LABEL": "Select Agent",
|
|
"METRICS": {
|
|
"CONVERSATIONS": {
|
|
"NAME": "Conversations",
|
|
"DESC": "( Total )"
|
|
},
|
|
"INCOMING_MESSAGES": {
|
|
"NAME": "Incoming Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"OUTGOING_MESSAGES": {
|
|
"NAME": "Outgoing Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"FIRST_RESPONSE_TIME": {
|
|
"NAME": "First response time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_TIME": {
|
|
"NAME": "Resolution Time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_COUNT": {
|
|
"NAME": "Resolution Count",
|
|
"DESC": "( Total )"
|
|
}
|
|
},
|
|
"DATE_RANGE": [
|
|
{
|
|
"id": 0,
|
|
"name": "Last 7 days"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "Last 30 days"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Last 3 months"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Last 6 months"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Last year"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Custom date range"
|
|
}
|
|
],
|
|
"CUSTOM_DATE_RANGE": {
|
|
"CONFIRM": "Apply",
|
|
"PLACEHOLDER": "Select date range"
|
|
}
|
|
},
|
|
"LABEL_REPORTS": {
|
|
"HEADER": "Labels Overview",
|
|
"LOADING_CHART": "Loading chart data...",
|
|
"NO_ENOUGH_DATA": "We've not received enough data points to generate report, Please try again later.",
|
|
"DOWNLOAD_LABEL_REPORTS": "Download label reports",
|
|
"FILTER_DROPDOWN_LABEL": "Select Label",
|
|
"METRICS": {
|
|
"CONVERSATIONS": {
|
|
"NAME": "Conversations",
|
|
"DESC": "( Total )"
|
|
},
|
|
"INCOMING_MESSAGES": {
|
|
"NAME": "Incoming Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"OUTGOING_MESSAGES": {
|
|
"NAME": "Outgoing Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"FIRST_RESPONSE_TIME": {
|
|
"NAME": "First response time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_TIME": {
|
|
"NAME": "Resolution Time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_COUNT": {
|
|
"NAME": "Resolution Count",
|
|
"DESC": "( Total )"
|
|
}
|
|
},
|
|
"DATE_RANGE": [
|
|
{
|
|
"id": 0,
|
|
"name": "Last 7 days"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "Last 30 days"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Last 3 months"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Last 6 months"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Last year"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Custom date range"
|
|
}
|
|
],
|
|
"CUSTOM_DATE_RANGE": {
|
|
"CONFIRM": "Apply",
|
|
"PLACEHOLDER": "Select date range"
|
|
}
|
|
},
|
|
"INBOX_REPORTS": {
|
|
"HEADER": "Inbox Overview",
|
|
"LOADING_CHART": "Loading chart data...",
|
|
"NO_ENOUGH_DATA": "We've not received enough data points to generate report, Please try again later.",
|
|
"DOWNLOAD_INBOX_REPORTS": "Download inbox reports",
|
|
"FILTER_DROPDOWN_LABEL": "Select Inbox",
|
|
"METRICS": {
|
|
"CONVERSATIONS": {
|
|
"NAME": "Conversations",
|
|
"DESC": "( Total )"
|
|
},
|
|
"INCOMING_MESSAGES": {
|
|
"NAME": "Incoming Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"OUTGOING_MESSAGES": {
|
|
"NAME": "Outgoing Messages",
|
|
"DESC": "( Total )"
|
|
},
|
|
"FIRST_RESPONSE_TIME": {
|
|
"NAME": "First response time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_TIME": {
|
|
"NAME": "Resolution Time",
|
|
"DESC": "( Avg )"
|
|
},
|
|
"RESOLUTION_COUNT": {
|
|
"NAME": "Resolution Count",
|
|
"DESC": "( Total )"
|
|
}
|
|
},
|
|
"DATE_RANGE": [
|
|
{
|
|
"id": 0,
|
|
"name": "Last 7 days"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "Last 30 days"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Last 3 months"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Last 6 months"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Last year"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Custom date range"
|
|
}
|
|
],
|
|
"CUSTOM_DATE_RANGE": {
|
|
"CONFIRM": "Apply",
|
|
"PLACEHOLDER": "Select date range"
|
|
}
|
|
},
|
|
"CSAT_REPORTS": {
|
|
"HEADER": "CSAT Reports",
|
|
"NO_RECORDS": "There are no CSAT survey responses available.",
|
|
"TABLE": {
|
|
"HEADER": {
|
|
"CONTACT_NAME": "Contact",
|
|
"AGENT_NAME": "Assigned agent",
|
|
"RATING": "Rating",
|
|
"FEEDBACK_TEXT": "Feedback comment"
|
|
}
|
|
},
|
|
"METRIC": {
|
|
"TOTAL_RESPONSES": {
|
|
"LABEL": "Total responses",
|
|
"TOOLTIP": "Total number of responses collected"
|
|
},
|
|
"SATISFACTION_SCORE": {
|
|
"LABEL": "Satisfaction score",
|
|
"TOOLTIP": "Total number of positive responses / Total number of responses * 100"
|
|
},
|
|
"RESPONSE_RATE": {
|
|
"LABEL": "Response rate",
|
|
"TOOLTIP": "Total number of responses / Total number of CSAT survey messages sent * 100"
|
|
}
|
|
}
|
|
}
|
|
} |