Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
57b09b2
feat(add: route insights)
sinatragianpaolo Jul 4, 2024
769966b
feat(add page header button go to insights)
sinatragianpaolo Jul 4, 2024
e1de010
feat: add base page insights
sinatragianpaolo Jul 4, 2024
78c0f26
🔀 chore(translation): update translation for "Go to insights" button
marcbon Jul 12, 2024
42967e1
🔧 fix(PageHeader.tsx): remove unused variables and conditions, update…
marcbon Jul 12, 2024
a10b9ed
🔨 refactor(PageHeader.tsx): remove unused imports and styled components
marcbon Jul 12, 2024
19c0e71
🚀 feat(Insights): add InsightsDrawer component and related components
marcbon Jul 12, 2024
0313165
🚀 feat(Collection.tsx): add Collection component for insights page
marcbon Jul 12, 2024
a825f93
🔄 refactor(Content.tsx): rename ObservationsList component to Collection
marcbon Jul 12, 2024
cc86afe
🚀 feat(Insights): add ActionBar component for creating new insights
marcbon Jul 12, 2024
ba50997
🔧 chore(translation): update translation keys for Insights page in En…
marcbon Jul 15, 2024
8b61384
🔀 chore(translation): add delete and undo buttons to insight form in …
marcbon Jul 15, 2024
923ad6b
🔧 refactor(ActionBar.tsx): update setValues in ActionBar component
marcbon Jul 15, 2024
6db245b
wip: test card interaction
iacopolea Jul 15, 2024
7e7f1d9
wip: test card and cluster interaction
iacopolea Jul 15, 2024
95e0c85
fix: try to fix eccessive rerendering
iacopolea Jul 16, 2024
45e722e
refactor: refactor form and drawer logic
iacopolea Jul 16, 2024
7551008
refactor: optimize rendering of ClusterCard and ObservationCard compo…
iacopolea Jul 16, 2024
62e4b1f
wip: fake data
iacopolea Jul 16, 2024
b96cc82
Merge pull request #890 from AppQuality/insights-page-collection
marcbon Jul 17, 2024
3e8a5d0
🔨 refactor(schema.ts): update all paths to use double quotes for cons…
marcbon Jul 18, 2024
dc98b88
🔧 fix(ObservationCard.tsx): replace double quotes with HTML entity &q…
marcbon Jul 18, 2024
3e77ca4
🌐 feat(translation): add label for observation selection button
marcbon Jul 18, 2024
c71ae7f
🔧 fix(ClusterCard.tsx): update ClusterCardProps interface to include
marcbon Jul 18, 2024
175e3ef
feat(lightbox): update content
marcbon Jul 19, 2024
469d8fb
Merge pull request #894 from AppQuality/observation-card
iacopolea Jul 19, 2024
3b69289
chore: add uuid package
iacopolea Jul 17, 2024
e8d1505
wip: accordion visualization for grapes
iacopolea Jul 17, 2024
2978921
refactor: optimize rendering of ClusterCard and ObservationCard compo…
iacopolea Jul 18, 2024
3c2b619
feat(schema): add detailed information to observations in components
iacopolea Jul 19, 2024
cf65708
feat: add ObservationCard from parent branch
iacopolea Jul 19, 2024
6258dc8
Merge pull request #895 from AppQuality/insights-page-collection
marcbon Jul 19, 2024
f7daacd
fix(log): remove console log
marcbon Jul 19, 2024
24c675b
fix(ObsCard): fixed click on lightbox cta
marcbon Jul 19, 2024
99b7554
🎨 style(ObservationCard.tsx): add Ellipsis component and style Tag an…
marcbon Jul 22, 2024
a31ccf3
🔧 fix(ObservationCard.tsx): filter out 'title' tag from tags array and
marcbon Jul 22, 2024
5e8035a
chore: update api
iacopolea Jul 22, 2024
df7a828
fix: grid rows height
iacopolea Jul 22, 2024
86266ca
Merge pull request #896 from AppQuality/observation-lightbox
marcbon Jul 22, 2024
d440346
wip: collection section title and toggle logic
iacopolea Jul 22, 2024
cd688d8
🔨 refactor(translation.json): add missing translation keys for lightb…
marcbon Jul 22, 2024
35e39f8
wip: usecase section
iacopolea Jul 23, 2024
421396a
Merge pull request #897 from AppQuality/observation-card-lightbox
iacopolea Jul 23, 2024
5dede44
Merge pull request #898 from AppQuality/insights-page-collection
iacopolea Jul 23, 2024
0e30e00
feat: Add Grape observations to InsightFormValues
iacopolea Jul 23, 2024
3f2d7aa
🔨 refactor(Lightbox.tsx): remove duplicate video fetching logic
marcbon Jul 23, 2024
7a49a34
🚀 feat(InsightsDrawer.tsx): add NewInsight component for creating new…
marcbon Jul 23, 2024
a133a7e
🔨 refactor(InsightsDrawer.tsx): rename NewInsight component to NewIns…
marcbon Jul 23, 2024
11ab0b6
refactor: Rename collection title and add use case grouping
sinatragianpaolo Jul 23, 2024
20fce36
🔧 chore(InsightForm.tsx): add resetForm function to undo button onCli…
marcbon Jul 23, 2024
1fd0802
🔨 refactor(translation.json): add missing translation keys for lightb…
marcbon Jul 22, 2024
70dc6cd
feat: Add Grape observations to InsightFormValues
iacopolea Jul 23, 2024
f2188a8
🔨 refactor(Lightbox.tsx): remove duplicate video fetching logic
marcbon Jul 23, 2024
051808b
🚀 feat(InsightsDrawer.tsx): add NewInsight component for creating new…
marcbon Jul 23, 2024
a78aa64
🔨 refactor(InsightsDrawer.tsx): rename NewInsight component to NewIns…
marcbon Jul 23, 2024
b9969c4
refactor: Rename collection title and add use case grouping
sinatragianpaolo Jul 23, 2024
38f9baf
🎨 style(Content.tsx): add styled-components for Col component styling…
marcbon Jul 23, 2024
81d7c1f
🔨 refactor(InsightsDrawer.tsx): update InsightsDrawer component to fe…
marcbon Jul 23, 2024
b97e72c
🔨 refactor(FormProvider.tsx): update InsightFormValues type to match …
marcbon Jul 23, 2024
3d44d3c
refactor: Improve AccordionSection component in Insights Collection
iacopolea Jul 23, 2024
a03930e
🔨 refactor(schema.ts): update all paths to use double quotes for cons…
marcbon Jul 23, 2024
111cb81
🔇 chore(InsightsDrawer.tsx): remove console.log statement for 'values'
marcbon Jul 23, 2024
6fbbf33
🔧 fix(InsightForm.tsx): add resetForm function to handle form reset o…
marcbon Jul 23, 2024
2ec3d52
🔧 fix(translation.json): add missing translation for observation dese…
marcbon Jul 23, 2024
0f365fe
🔨 refactor(Insight.tsx): remove unused SM component and observation r…
marcbon Jul 23, 2024
4eca1ca
feat: added handle delete insight @iDome89
Kariamos Jul 23, 2024
4cb509c
added severities id mapping
iDome89 Jul 23, 2024
917ebac
refactor: Improve AccordionSection component in Insights Collection
iacopolea Jul 23, 2024
d93d9d6
added invalidate tags
iDome89 Jul 24, 2024
058e81e
added reemaining api tags and mapped severities
iDome89 Jul 24, 2024
fc25eef
Merge pull request #901 from AppQuality/insight-edit-delete-dominucci
marcbon Jul 24, 2024
0ab091b
🔨 refactor(InsightForm.tsx): optimize imports for useGetCampaignsByCi…
marcbon Jul 24, 2024
48c486a
Merge pull request #900 from AppQuality/insights-edit-delete
marcbon Jul 24, 2024
422a2a2
Merge branch 'insights-page' into insights-page-collection
marcbon Jul 24, 2024
01587dd
🔥 refactor(InsightsDrawer.tsx): remove unused import of NewInsightForm
marcbon Jul 24, 2024
2bd1b0e
fix: Filter out already selected observations in AccordionSection com…
iacopolea Jul 24, 2024
aa4743d
refactor: Optimize GrapeCheckbox component in Insights Collection
iacopolea Jul 24, 2024
9cd7deb
chore: remove unused vars
iacopolea Jul 24, 2024
449221a
🔄 refactor(translation): update missing translation keys in English a…
marcbon Jul 24, 2024
8139a98
Merge pull request #899 from AppQuality/insights-page-collection
marcbon Jul 24, 2024
4fcdffc
🔥 chore(NewInsight.tsx): remove NewInsightForm component as it is no …
marcbon Jul 24, 2024
e15e2f6
🔧 chore(InsightForm.tsx): remove unnecessary blank line before return…
marcbon Jul 24, 2024
0afdf30
refactor: move and extract drawer components
iacopolea Jul 24, 2024
ebe7463
chore: update @zendeskgarden/svg-icons to version 7.2.0
iacopolea Jul 24, 2024
5e00642
feat: add tooltip and notification for publishing/unpublishing insights
iacopolea Jul 24, 2024
9b26616
GroupByToggle with buttons
iacopolea Jul 24, 2024
76589db
refactor: Update GroupByToggle component to use context for state man…
iacopolea Jul 24, 2024
724783d
feat: add GroupByToggle to SectionTitle component
iacopolea Jul 24, 2024
91c59b8
Merge pull request #902 from AppQuality/insights-page-publish
marcbon Jul 25, 2024
1d37f44
🔥 refactor(Collection/index.tsx): remove unused imports and components
marcbon Jul 25, 2024
3bf628b
Merge pull request #903 from AppQuality/groupby-toggle
marcbon Jul 25, 2024
b1eb1ac
📝 chore(translation.json): add missing translation for "Show all" in …
marcbon Jul 25, 2024
1b53480
🔨 refactor(InsightForm.tsx): remove unnecessary severity mapping logic
marcbon Jul 25, 2024
209486b
🐛 fix(InsightForm.tsx): display error message for observations field …
marcbon Jul 25, 2024
6604ede
🎨 update(Lightbox.tsx): change 'desktop' to 'PC' and add 'other' case…
marcbon Jul 25, 2024
379018a
refactor: move insightform
iacopolea Jul 25, 2024
a42cdd9
change some translations
iacopolea Jul 25, 2024
d40a131
feat: drawer/page style
iacopolea Jul 25, 2024
935a623
refactor: update detailcontainer title and remove unused code
iacopolea Jul 25, 2024
63b6f07
feat: drawer data, behaviour and style.
iacopolea Jul 25, 2024
1a6b3a1
Merge pull request #905 from AppQuality/insight-creation
marcbon Jul 25, 2024
c6dfb59
WIP widgets
iDome89 Jul 18, 2024
0233af0
wip widgets ux
Kariamos Jul 18, 2024
34972d5
WIP
iDome89 Jul 18, 2024
2a1c8d4
wip widget ux campaigns
Kariamos Jul 19, 2024
8a2faa1
WIP hooks definition
iDome89 Jul 19, 2024
0f8e29e
WIP need to fix severity distribution
iDome89 Jul 19, 2024
45c9168
wip need to fix last widget
iDome89 Jul 23, 2024
0ca38c7
added graph + fixed labels for widgets
iDome89 Jul 24, 2024
f80c158
added utils to define max severity
iDome89 Jul 24, 2024
edcd133
fixed widgets hooks
iDome89 Jul 26, 2024
561221e
fix: added missing widget labels
Kariamos Jul 26, 2024
c1fde17
Merge pull request #904 from AppQuality/insights-page-widgets
marcbon Jul 26, 2024
1b2746e
🔀 merge(translation.json): update translation for edit insight button…
marcbon Jul 26, 2024
ee41952
🔄 refactor(Lightbox.tsx): update variable names for clarity and consi…
marcbon Jul 26, 2024
545b975
🔨 refactor(Lightbox.tsx): update rendering of observation quotes in L…
marcbon Jul 26, 2024
dcb9b10
🔨 refactor(translation.json): update insights count label in English …
marcbon Jul 26, 2024
1fd3fd4
🔧 chore(ActionBar.tsx): update comment to remove TODO and capitalize …
marcbon Jul 26, 2024
99ca9a0
🔥 refactor(Lightbox.tsx): remove unused Textarea import
marcbon Jul 26, 2024
64fe5ad
🚀 feat(AccordionSection.tsx): add state for accordion open/close func…
marcbon Jul 26, 2024
cb36276
🔨 refactor(AccordionSection.tsx): pass isOpen prop to Grape component
marcbon Jul 26, 2024
df26573
🔨 refactor(AccordionSection.tsx): remove unused useState import from …
marcbon Jul 26, 2024
d024dbb
🎨 add(lightbulb-icon): include lightbulb icon SVG file
marcbon Jul 26, 2024
ba09830
🚀 feat(navigation): add 'insights' case to close sidebar when selected
marcbon Jul 26, 2024
fc0457d
🔥 refactor(InsightAccordion.tsx): remove unused Separator import
marcbon Jul 26, 2024
ffe0b0b
🔧 refactor(TitleDropdown.tsx): introduce titleMaxLength constant for …
marcbon Jul 26, 2024
afc2318
🖼️ add(copy-icon.svg): add copy icon SVG file
marcbon Jul 26, 2024
7efbd66
revert to fixed changes
iDome89 Jul 5, 2024
310f177
feat: Add publish and unpublish buttons to insight form
iacopolea Jul 26, 2024
061dcc5
fix: Update arrow icon in Insights page to use the correct SVG file
iacopolea Jul 26, 2024
a7293b2
feat: Add delete confirmation modal for insights in InsightsDrawer
iacopolea Jul 26, 2024
1d58cca
feat: Add title to delete confirmation modal in InsightsDrawer
iacopolea Jul 26, 2024
c7f2de5
fix: double import
iacopolea Jul 29, 2024
1558010
Merge pull request #909 from AppQuality/drawer2
iacopolea Jul 29, 2024
fb5e103
wip navigazione
Kariamos Jul 26, 2024
e1510cd
fixed widgets with container query + spacing, added tooltip to naviga…
iDome89 Jul 26, 2024
f7c9a3e
fixed navigation + widgets spacing
iDome89 Jul 29, 2024
09e9378
fixed error in function
iDome89 Jul 29, 2024
4f5fbd1
Merge pull request #911 from AppQuality/insisghts-navigation
sinatragianpaolo Jul 29, 2024
11cfae9
Merge branch 'squashed-insights-page' into good-insights-fixes
sinatragianpaolo Jul 29, 2024
38857d3
feat: Add missing semicolon in AccordionLabel component
sinatragianpaolo Jul 29, 2024
9d89163
chore: Refactor Insights page components and fix imports
sinatragianpaolo Jul 29, 2024
e76c377
feat: Refactor Insights page components, fix imports, and improve nav…
sinatragianpaolo Jul 29, 2024
8daac0c
chore: Refactor Insights page components and fix imports, improve nav…
sinatragianpaolo Jul 29, 2024
582823e
fix: import the `getDeviceIcon` function from the `BugDetail/Meta` mo…
iacopolea Jul 29, 2024
1565a61
Refactor Insights page components, fix imports, and improve navigation
sinatragianpaolo Jul 29, 2024
bae3aeb
Merge pull request #906 from AppQuality/good-insights-fixes
sinatragianpaolo Jul 29, 2024
5b86bbf
Merge pull request #912 from AppQuality/fix-get-device-icon
sinatragianpaolo Jul 29, 2024
daed4cc
feat: Add uploaderId property to Insight type
sinatragianpaolo Jul 29, 2024
8aab480
feat: Add notification for publishing/unpublishing insights
sinatragianpaolo Jul 29, 2024
ec7ba6d
feat: Add toast notifications for publishing/unpublishing insights
sinatragianpaolo Jul 29, 2024
8f5064c
chore: Update notification messages for publishing/unpublishing insights
sinatragianpaolo Jul 29, 2024
7a0e867
chore: Update notification messages for publishing/unpublishing insights
sinatragianpaolo Jul 29, 2024
30a59cc
refactor: Update ProgressMonitoringWidget to use getSeverityColor fro…
sinatragianpaolo Jul 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@zendeskgarden/react-forms": "^8.49.0",
"@zendeskgarden/react-tables": "^8.62.0",
"@zendeskgarden/react-theming": "^8.48.2",
"@zendeskgarden/svg-icons": "^6.31.1",
"@zendeskgarden/svg-icons": "^7.2.0",
"date-fns": "^2.28.0",
"formik": "^2.2.9",
"i18n-iso-countries": "^7.3.0",
Expand All @@ -37,11 +37,13 @@
"react-scroll": "^1.8.7",
"styled-components": "^6.1.1",
"typescript": "^4.6.2",
"uuid": "^10.0.0",
"web-vitals": "^2.1.4",
"yup": "^0.32.11"
},
"scripts": {
"start": "craco start",
"start:ssl": "craco --openssl-legacy-provider start",
"build": "craco build",
"test": "react-scripts test",
"recover": "yarn install --check-files",
Expand Down Expand Up @@ -87,6 +89,7 @@
"@types/react-scroll": "^1.8.3",
"@types/react-transition-group": "^4.4.5",
"@types/styled-components": "^5.1.24",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"cz-conventional-changelog": "3.3.0",
Expand Down
10 changes: 5 additions & 5 deletions src/app/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ import {
// todo: check green 600
export const SEVERITY_COLORS: Record<Severities, string> = {
critical: baseTheme.palette.red[900],
high: baseTheme.palette.yellow[600],
high: baseTheme.palette.yellow[700],
medium: baseTheme.palette.blue[600],
low: baseTheme.palette.green[600],
};

export const SEVERITY_HUES: Record<Severities, string> = {
critical: baseTheme.palette.red[900],
high: baseTheme.palette.yellow[600],
medium: baseTheme.palette.blue[600],
low: baseTheme.palette.green[600],
critical: `${baseTheme.palette.red[900]}14`,
high: `${baseTheme.palette.yellow[600]}14`,
medium: `${baseTheme.palette.blue[600]}14`,
low: `${baseTheme.palette.green[600]}14`,
};
// temporary fix for the bug state colors
export const BUG_STATE_COLORS: Record<
Expand Down
8 changes: 8 additions & 0 deletions src/assets/icons/copy-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/dashboard-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/lightbulb-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/common/Pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import Catalog from 'src/pages/Services';
import Manual from 'src/pages/Manual';
import Videos from 'src/pages/Videos';
import Video from 'src/pages/Video';
import InsightsPage from 'src/pages/Insights';
import SentryWrapper from 'src/features/SentryWrapper';
import { Redirect } from './Redirect';

Expand Down Expand Up @@ -88,6 +89,10 @@ const Pages = () => {
path={`/${langPrefix}/campaigns/:campaignId/videos`}
element={<Videos />}
/>
<Route
path={`/${langPrefix}/campaigns/:campaignId/insights`}
element={<InsightsPage />}
/>
<Route
path={`/${langPrefix}/campaigns/:campaignId/videos/:videoId`}
element={<Video />}
Expand Down
2 changes: 1 addition & 1 deletion src/common/components/BugDetail/Meta/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const BugInfo = styled.div`
`;

export function getDeviceIcon(device: string) {
switch (device) {
switch (device.toLocaleLowerCase()) {
case 'smartphone':
return <SmartphoneIcon />;
case 'tablet':
Expand Down
202 changes: 189 additions & 13 deletions src/common/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,18 @@ export interface paths {
};
};
};
'/campaigns/{cid}/observations': {
/**
* Return all observations for a specificCampaigns.
* You can group by observations for usecase and grapes (observations with same title) or get an ungrouped list.
*/
get: operations['get-campaigns-cid-observations'];
parameters: {
path: {
cid: string;
};
};
};
'/campaigns/{cid}/os': {
get: operations['get-campaigns-cid-os'];
parameters: {
Expand Down Expand Up @@ -733,21 +745,37 @@ export interface components {
os_version?: string;
type?: string;
};
/** Grape */
Grapes: {
title: string;
severity: string;
usersNumber: number;
observations: (components['schemas']['Observation'] & {
uploaderId: number;
mediaId: number;
deviceType: string;
usecaseTitle: string;
})[];
};
/** Insight */
Insight: {
id: number;
title: string;
description: string;
severity: components['schemas']['BugSeverity'];
severity: {
id: number;
name: string;
style: string;
};
visible?: number;
comment?: string;
observations: (components['schemas']['Observation'] & {
video: {
id: number;
poster: string;
url: string;
streamUrl: string;
deviceType: string;
};
uploaderId: number;
})[];
comment?: string;
};
/** Observation */
Observation: {
Expand All @@ -758,8 +786,9 @@ export interface components {
start: number;
/** Format: float */
end: number;
tags: components['schemas']['VideoTag'][];
quotes: string;
uxNote?: string;
tags: components['schemas']['VideoTag'][];
};
/**
* Output
Expand Down Expand Up @@ -1074,6 +1103,41 @@ export interface components {
*/
kind: 'campaignUniqueBugs';
};
/**
* WidgetCampaignUxProgress
* @description Used to show an overview of Ux progress
*/
WidgetCampaignUxProgress: {
data: {
countMediaWithObservation?: number;
countMedia?: number;
countTitleTag?: number;
countObservation?: number;
countObservationNoTitle?: number;
countRecurrentTitles?: number;
severitiesDistribution?: {
countPositiveFindings: number;
countMinorIssue: number;
countMajorIssue: number;
countObservations: number;
};
mostUsedTitles?: {
title: string;
usage: number;
mainSeverityAssignment: string;
}[];
};
/**
* @default uxTaggingVideoCompletion
* @example uxTaggingVideoCompletion
* @enum {string}
*/
kind:
| 'uxTaggingVideoCompletion'
| 'uxTotalTitlesVsRecurrentTitles'
| 'uxSeveritiesDistribution'
| 'uxMostUsedTitles';
};
Word: {
start: number;
end: number;
Expand Down Expand Up @@ -1106,6 +1170,51 @@ export interface components {
/** @description Number of shared items */
sharedItems?: number;
};
/** WidgetCampaignUxTaggingVideoCompletionData */
WidgetCampaignUxTaggingVideoCompletionData: {
data: {
countMediaWithObservation: number;
countMedia: number;
};
/** @enum {undefined} */
kind: 'uxTaggingVideoCompletion';
};
/** WidgetCampaignUxTotalTitlesVsRecurrentTitles */
WidgetCampaignUxTotalTitlesVsRecurrentTitles: {
data: {
countTitleTag: number;
countObservationNoTitle: number;
countRecurrentTitles: number;
};
/** @enum {undefined} */
kind: 'uxTotalTitlesVsRecurrentTitles';
};
/** WidgetCampaignUxSeveritiesDistribution */
WidgetCampaignUxSeveritiesDistribution: {
data: {
countObservations: number;
severitiesDistribution: {
countPositiveFindings: number;
countMinorIssue: number;
countMajorIssue: number;
countObservationSeverity: number;
};
};
/** @enum {undefined} */
kind: 'uxSeveritiesDistribution';
};
/** WidgetCampaignUxMostUsedTitles */
WidgetCampaignUxMostUsedTitles: {
data: {
mostUsedTitles: {
title: string;
usage: number;
mainSeverityAssignment: string;
}[];
};
/** @enum {undefined} */
kind: 'uxMostUsedTitles';
};
};
responses: {
/** Shared error response */
Expand Down Expand Up @@ -1140,7 +1249,11 @@ export interface components {
| 'bugs-by-device'
| 'cp-progress'
| 'unique-bugs'
| 'bugs-by-duplicates';
| 'bugs-by-duplicates'
| 'ux-tagging-video-completion'
| 'ux-total-titles-vs-recurrent-titles'
| 'ux-severities-distribution'
| 'ux-most-used-titles';
/** @description keywords to search */
search: string;
/** @description Custom Status id */
Expand Down Expand Up @@ -1748,10 +1861,7 @@ export interface operations {
requestBody: {
content: {
'application/json': {
/**
* @description se esiste già questo parametro viene passato nel request body
* se invece non esiste ed il custom status deve essere creato, non viene passato
*/
/** @description se esiste già questo parametro viene passato nel request body\r\nse invece non esiste ed il custom status deve essere creato, non viene passato */
custom_status_id?: number;
name: string;
color: string;
Expand Down Expand Up @@ -1812,7 +1922,12 @@ export interface operations {
/** OK */
200: {
content: {
'application/json': components['schemas']['Insight'][];
'application/json': (components['schemas']['Insight'] & {
usecases: {
id: number;
name: string;
}[];
})[];
};
};
400: components['responses']['Error'];
Expand Down Expand Up @@ -1846,6 +1961,7 @@ export interface operations {
severity_id: number;
observations_ids: number[];
comment?: string;
visible?: number;
};
};
};
Expand Down Expand Up @@ -1875,6 +1991,61 @@ export interface operations {
500: components['responses']['Error'];
};
};
/**
* Return all observations for a specificCampaigns.
* You can group by observations for usecase and grapes (observations with same title) or get an ungrouped list.
*/
'get-campaigns-cid-observations': {
parameters: {
path: {
cid: string;
};
query: {
groupBy?: 'usecase-grapes';
};
};
responses: {
/** OK */
200: {
content: {
'application/json':
| {
results: {
usecaseId: number;
usecaseTitle: string;
grapes: components['schemas']['Grapes'][];
ungrouped: (components['schemas']['Observation'] & {
uploaderId: number;
mediaId: number;
deviceType: string;
usecaseTitle: string;
})[];
}[];
/**
* @default usecase-grapes
* @example usecase-grapes
* @enum {string}
*/
kind: 'usecase-grapes';
}
| {
results: (components['schemas']['Observation'] & {
uploaderId: number;
mediaId: number;
deviceType: string;
usecaseTitle: string;
})[];
/**
* @default ungrouped
* @example ungrouped
* @enum {string}
*/
kind: 'ungrouped';
};
};
};
};
};
'get-campaigns-cid-os': {
parameters: {
path: {
Expand Down Expand Up @@ -2301,7 +2472,11 @@ export interface operations {
| components['schemas']['WidgetBugsByDevice']
| components['schemas']['WidgetCampaignProgress']
| components['schemas']['WidgetCampaignUniqueBugs']
| components['schemas']['WidgetBugsByDuplicates'];
| components['schemas']['WidgetBugsByDuplicates']
| components['schemas']['WidgetCampaignUxTaggingVideoCompletionData']
| components['schemas']['WidgetCampaignUxTotalTitlesVsRecurrentTitles']
| components['schemas']['WidgetCampaignUxSeveritiesDistribution']
| components['schemas']['WidgetCampaignUxMostUsedTitles'];
};
};
400: components['responses']['Error'];
Expand Down Expand Up @@ -2370,6 +2545,7 @@ export interface operations {
severity_id?: number;
observations_ids?: number[];
comment?: string;
visible?: number;
};
};
};
Expand Down
Loading