Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
ff58d62
feat: update BodyTitle component styling in ExpressWizard
d-beezee Jan 15, 2025
a488d97
feat: Add basic structure for campaign templates
d-beezee Jan 15, 2025
d0ac729
chore(strapi): update documentation and types
cannarocks Jan 15, 2025
d9e8e64
wip
d-beezee Jan 16, 2025
e7413fd
feat: implement ServiceTiles component and update useCampaignTemplate…
d-beezee Jan 16, 2025
8f8007c
feat: update ServiceTiles component to enhance rendering and add pric…
d-beezee Jan 16, 2025
908d2a5
chore(strapi): update openapi json
cannarocks Jan 16, 2025
c252014
feat: enhance ServiceTiles component layout and add translation support
d-beezee Jan 16, 2025
75c289c
feat: update ServiceTiles component to include ExpressDrawer and enha…
d-beezee Jan 16, 2025
2875ee3
chore: update @appquality/unguess-design-system to version 4.0.20
d-beezee Jan 16, 2025
fccc303
feat: refactor ServiceTiles component and introduce LaunchCampaignCar…
d-beezee Jan 16, 2025
d2811ab
chore: update @appquality/unguess-design-system to version 4.0.21
d-beezee Jan 16, 2025
16245ca
refactor: remove unused translation hook and clean up code comments
d-beezee Jan 16, 2025
1c416f4
chore: Format doc json
d-beezee Jan 17, 2025
2cac3f7
WIP: add archive description translation and enhance ProjectItems com…
iDome89 Jan 16, 2025
bd2e869
feat: integrate ExpressWizardContainer into ServiceTiles and remove E…
d-beezee Jan 17, 2025
aacbe0e
fix: update thank you subtitle to reflect team name change
iDome89 Jan 17, 2025
0c9b428
feat: WIP add empty state components for archive and project in Dashb…
iDome89 Jan 17, 2025
9b607e5
fix: update import paths for empty state components
iDome89 Jan 17, 2025
7949605
feat: add titles and subtitles for empty archive state in Dashboard
iDome89 Jan 20, 2025
30d5c64
feat: enhance empty state components for projects and archives in Das…
iDome89 Jan 20, 2025
5b34be5
fix: update thank you subtitle to reflect team name change
iDome89 Jan 17, 2025
990276b
Merge branch 'UN-683-thankyou-step-fix' of github.com:AppQuality/ungu…
iDome89 Jan 20, 2025
b292f53
feat: add feature flag check for Express in ServiceTiles and LaunchCa…
d-beezee Jan 20, 2025
f383224
feat: add refetch functionality to pagination for campaign bugs
iacopolea Jan 22, 2025
7c98867
test(bugpage): Add bug-related fixtures and refactor campaign mocks f…
iacopolea Jan 23, 2025
1c2ec84
Add 2 new language options (es and fr) for who step in express wizard
marcbon Jan 23, 2025
a2b2fa9
feat(transcript-translations): Remove translation feature flag and re…
Kariamos Jan 23, 2025
2c36cda
Merge pull request #1095 from AppQuality/UN-695-project-empty-states
iDome89 Jan 23, 2025
5dbfa8a
feat: add empty state illustration and feature flag handling in Proje…
iDome89 Jan 23, 2025
12fe520
feat: invert background color logic in ProjectEmptyState component
iDome89 Jan 23, 2025
81344b7
fix(useTranslationTools): replace AI translation feature flag with ta…
Kariamos Jan 24, 2025
75902dd
feat: refactor Project component to improve loading and empty state h…
cannarocks Jan 24, 2025
3d8202b
Merge branch 'develop' into UN-681-update-drawer
cannarocks Jan 24, 2025
df93dbf
Merge pull request #1090 from AppQuality/UN-681-update-drawer
cannarocks Jan 24, 2025
451dea9
test(bugpage): Add tests, example JSON fixtures and update mock data …
iacopolea Jan 24, 2025
49c2a52
refactor(functional-dash-widget): replace Accordion with AccordionNew…
Kariamos Jan 17, 2025
073a526
refactor(bugs-table): replace Accordion with AccordionNew for enhance…
Kariamos Jan 20, 2025
15073b3
refactor(bug-detail): replace Accordion with AccordionNew for improve…
Kariamos Jan 20, 2025
d947485
refactor(goal-card): replace Accordion with AccordionNew for improved…
Kariamos Jan 20, 2025
7d89d76
refactor(videos-playlist): replace Accordion with AccordionNew for im…
Kariamos Jan 20, 2025
42a31fe
refactor(insights-drawer): wip replace Accordion with AccordionNew fo…
Kariamos Jan 20, 2025
445e516
refactor(insight-accordion): replace Accordion with AccordionNew for …
Kariamos Jan 21, 2025
9433d4a
refactor(insights-drawer): replace Accordion with AccordionNew in Acc…
Kariamos Jan 21, 2025
39d5378
refactor(bugs-table): replace InfoRow with AccordionNew for improved …
Kariamos Jan 21, 2025
c42f631
refactor(insight-drawer): removed unnecessary comment
Kariamos Jan 21, 2025
6ed1c9f
fix(translations): correct typo in custom statuses title across multi…
Kariamos Jan 22, 2025
0520777
refactor(bugs-filter-drawer): replace Accordion with AccordionNew for…
Kariamos Jan 22, 2025
052c67f
feat(bugs-filters-drawer): add isCompact prop to accordions
Kariamos Jan 22, 2025
c4f6bbb
feat(bugs-table): wrap accordion content in a new section and panel f…
iacopolea Jan 23, 2025
95a6bf0
feat(insights): add hasBorder prop to AccordionNew for enhanced styling
iacopolea Jan 23, 2025
0bed33f
feat(accordion): simplify icon usage and remove unnecessary styles fo…
iacopolea Jan 23, 2025
738894a
feat(videos-list): update accordion structure and add video count as …
Kariamos Jan 24, 2025
a6dd23d
feat(bugs-table): updated InfoRow to InfoRowMeta for new bug count di…
Kariamos Jan 27, 2025
980e94e
fix(translations): remove duplicate entry for search filter in transl…
Kariamos Jan 27, 2025
b338d35
fix: handle close for thank you page
marcbon Jan 27, 2025
2769e05
refactor: remove unused imports from various field components for cle…
Kariamos Jan 27, 2025
e7d3a94
test(bugpage): introduce new e2e tests for bug filters
iacopolea Jan 27, 2025
77a717c
feat: Add useLocalizeRoute and useNavigate hooks to ExpressWizard page
marcbon Jan 27, 2025
0a065d9
fix(GoalCard): remove inline style for AccordionNew.Panel
Kariamos Jan 27, 2025
c5a422c
fix(videos-content): remove inline styles from AccordionNew.Section a…
Kariamos Jan 27, 2025
eb9ec81
fix(BugDuplicates): remove inline styles from AccordionNew components
Kariamos Jan 27, 2025
8015220
fix(BugDetail): remove inline styles from AccordionNew in Details com…
Kariamos Jan 27, 2025
26aae26
refactor(SingleGroupAccordion): add comment to clarify style usage in…
Kariamos Jan 27, 2025
9e26d84
refactor: separate components for modal usecase in express to prevent…
marcbon Jan 27, 2025
e10f063
feat: Update modal use case tab layout in ExpressWizard steps
marcbon Jan 27, 2025
8bd2f8f
feat: separate components to prevent re-redning
marcbon Jan 27, 2025
e92d79b
added padding
iDome89 Jan 28, 2025
0359da6
feat: Update ExpressDrawer component event tracking
marcbon Feb 3, 2025
35ebf42
feat: enhance analytics event handling for project title and descript…
Kariamos Feb 3, 2025
55637bc
refactor: updated old gtm event management
Kariamos Feb 3, 2025
11d1e58
refactor: remove hardcoded category from GTM event tracking in worksp…
Kariamos Feb 3, 2025
b9a2c87
feat: enhance widget display logic by adding goal and user checks
iDome89 Feb 3, 2025
d8233ec
feat: simplify widget display condition by removing unnecessary goal …
iDome89 Feb 3, 2025
1316912
test(bugpage): add new e2e tests for bug page functionality and updat…
iacopolea Feb 3, 2025
cc43c74
test(bugpage): add additional API route mocks for bug data in fixtures
iacopolea Feb 3, 2025
5c2c50c
Merge branch 'develop' into UN-707-add-new-xps-languages
marcbon Feb 4, 2025
86c1442
refactor: update analytic event type for improved type safety in proj…
Kariamos Feb 4, 2025
be6ef45
refactor: Update ExpressDrawer component event tracking
marcbon Feb 4, 2025
df3bd41
Merge pull request #1112 from AppQuality/UN-604-update-express-tracking
marcbon Feb 4, 2025
fbaa812
Merge pull request #1106 from AppQuality/UN-712-remove-alert-thankyou…
marcbon Feb 4, 2025
786eda9
Merge pull request #1103 from AppQuality/UN-707-add-new-xps-languages
marcbon Feb 4, 2025
f1011c7
fix Generic Object Injection Sink warning
iacopolea Feb 4, 2025
f3ad2aa
refactor: remove unused user data from workspaces dropdown component
Kariamos Feb 4, 2025
99c672f
refactor: Update ServiceTiles layout to use Grid and Col components
iDome89 Feb 5, 2025
9862f0b
refactor: Simplify ServiceTiles layout by removing Grid and Col compo…
iDome89 Feb 5, 2025
05ed7dc
Merge pull request #1104 from AppQuality/UN-723-remove-translation-fe…
Kariamos Feb 5, 2025
e5b35af
Merge pull request #1099 from AppQuality/UN-539-update-accordion-new
Kariamos Feb 5, 2025
81121be
feat(dropdown-project): Enhance ProjectDropdown to highlight selected…
Kariamos Feb 5, 2025
5b65949
Merge pull request #1113 from AppQuality/UN-708-fix-workspace-managem…
Kariamos Feb 5, 2025
6968209
Merge pull request #1115 from AppQuality/UN-752-autoselect-project-in…
iDome89 Feb 5, 2025
1e37729
Merge pull request #1114 from AppQuality/UN-751-add-tiles-in-project
marcbon Feb 5, 2025
d0d5abc
Merge pull request #1109 from AppQuality/UN-713-UN-714-UN-715-UN-716-…
marcbon Feb 5, 2025
d21ff3d
Merge pull request #1111 from AppQuality/UN-727-hide-missing-ux-data
marcbon Feb 5, 2025
b411ced
Merge branch 'develop' into UN-683-thankyou-step-fix
marcbon Feb 5, 2025
ddc762a
Update index.tsx
iDome89 Feb 5, 2025
e7c681f
Refactor imports in UniqueField and UseCaseField components for clean…
iDome89 Feb 5, 2025
575e72a
Merge pull request #1092 from AppQuality/UN-683-thankyou-step-fix
marcbon Feb 5, 2025
32f6841
Refactor ExpressWizardContainer component
marcbon Feb 5, 2025
75470a5
Refactor e2e tests for bug page filters and default querystring
marcbon Feb 5, 2025
54efa70
Merge pull request #1105 from AppQuality/UN-643
marcbon Feb 5, 2025
692c2c3
Merge pull request #1110 from AppQuality/UN-717
marcbon Feb 5, 2025
48f8920
Refactor ServiceTiles layout from flex to grid for improved responsiv…
iacopolea Feb 5, 2025
6304eb2
Add disclaimer text to ServiceTiles component and remove unnecessary …
iacopolea Feb 6, 2025
5828cb4
Merge pull request #1118 from AppQuality/fix-empty-state-padding
marcbon Feb 6, 2025
350a843
deps: Update @appquality/unguess-design-system to version 4.0.24
Kariamos Feb 6, 2025
762d23f
refactor: Update AccordionHeader and AccordionSection components for …
Kariamos Feb 6, 2025
148fb9b
Add service tiles disclaimer to English and Italian translations
iacopolea Feb 6, 2025
ae2c6b1
Merge pull request #1117 from AppQuality/UN-745-service-tiles
iacopolea Feb 6, 2025
3a36d71
Merge pull request #1119 from AppQuality/UN-539-update-accordion-new-…
Kariamos Feb 6, 2025
dd0bfde
deps: Update @appquality/unguess-design-system to version 4.0.25
Kariamos Feb 6, 2025
857ca32
fix(quesiton-accordion): hide divider and question accordion when the…
sinatragianpaolo Feb 6, 2025
d8c58a9
chore: update @appquality/unguess-design-system to version 4.0.25
sinatragianpaolo Feb 6, 2025
04eda05
feat: Enhance project dropdown to set express project on project change
iDome89 Feb 6, 2025
38c558e
fix(goal-card): remove unnecessary whitespace in GoalCard component
sinatragianpaolo Feb 6, 2025
bb4ed52
feat: Add loading and error handling for express types query in Expre…
iDome89 Feb 6, 2025
756b8a2
Merge pull request #1122 from AppQuality/fix-question-accordion
sinatragianpaolo Feb 6, 2025
7df77bb
Merge pull request #1123 from AppQuality/fix-cta-express
iDome89 Feb 6, 2025
a346288
fix(ServiceTiles): update grid layout to use auto-fit and set full width
iDome89 Feb 6, 2025
385321b
Merge pull request #1124 from AppQuality/fix-tiles-grid
marcbon Feb 6, 2025
b8ce6bd
Merge pull request #1120 from AppQuality/update-des-sys
marcbon Feb 6, 2025
81047cd
feat: add custom hook for active workspace projects and integrate it …
d-beezee Feb 7, 2025
af15692
feat(ExpressWizard): handle back navigation to close wizard and drawer
iDome89 Feb 7, 2025
3f5ae84
feat(ExpressWizard): add device label to device selection steps
iDome89 Feb 7, 2025
30076c5
fix: colori sottotitoli SectionTitle
iacopolea Feb 7, 2025
121f7ba
fix: section spaces
iacopolea Feb 7, 2025
eb23f87
fix: infoicon position
iacopolea Feb 7, 2025
4490910
Merge pull request #1127 from AppQuality/UN-789-update-tile
cannarocks Feb 7, 2025
9b230a1
feat(ExpressWizard): update labels to include asterisk for required f…
iDome89 Feb 10, 2025
f356c0f
Merge pull request #1125 from AppQuality/UN-729-close-drawer-on-navig…
marcbon Feb 10, 2025
555ca1d
Update translation.json
iDome89 Feb 10, 2025
5c162fb
Merge pull request #1128 from AppQuality/UN-776-express-ui-fixes
marcbon Feb 10, 2025
9d37311
Merge pull request #1130 from AppQuality/fix-fe-express
iacopolea Feb 11, 2025
81d16de
Update use case modal in ExpressWizard express 2 step how
marcbon Feb 7, 2025
c3c1fed
Refactor useCaseDetailsLink and useCaseDetailsTitle components in Exp…
marcbon Feb 10, 2025
c36f754
Refactor useCaseDetailsLink and useCaseDetailsTitle components in Exp…
marcbon Feb 10, 2025
6a056dc
Refactor useCaseDetailsTitle component in ExpressWizard
marcbon Feb 10, 2025
12fe445
Refactor useCaseDetailsDropdown component in ExpressWizard
marcbon Feb 11, 2025
bb0ddf9
feat: implement ScrollingGridWrapper for improved layout in ServiceTi…
iacopolea Feb 10, 2025
12b6622
feat: replace ScrollingGridWrapper with ScrollingGrid for improved la…
iacopolea Feb 10, 2025
fdf19f9
feat: wrap ServiceTiles in Grid component for improved layout in Proj…
iacopolea Feb 11, 2025
cdb0ab4
feat: adjust padding and container breakpoints in ScrollingGrid and S…
iacopolea Feb 11, 2025
7a83245
feat: enhance ScrollingGrid layout with responsive margins and gradie…
iacopolea Feb 11, 2025
606c4c4
Refactor useCaseDetailsEditor component in ExpressWizard
marcbon Feb 11, 2025
16af665
Refactor useCaseDetails components in ExpressWizard using useFormikCo…
marcbon Feb 11, 2025
f48535a
Refactor formikProps in ExpressWizard components
marcbon Feb 11, 2025
79fc464
feat: add navigation arrows to ScrollingGrid for improved user intera…
iacopolea Feb 11, 2025
6d81556
feat: replace div elements with button elements for navigation in Scr…
iacopolea Feb 11, 2025
fb31986
Merge pull request #1126 from AppQuality/fix-express-2-modal-usecase
marcbon Feb 12, 2025
3c7d0fc
Merge pull request #1129 from AppQuality/UN-753-wrapper-servicetile
marcbon Feb 12, 2025
de743f7
feat(ExpressWizard): add device label to device selection steps
iDome89 Feb 7, 2025
08c9d0c
chore:update strapi api definition
iDome89 Feb 10, 2025
1cae42a
WIP - feat(ExpressWizard): add "More info" button in the footer and u…
iDome89 Feb 10, 2025
7b67652
Update translation.json
iDome89 Feb 10, 2025
3de042d
feat(ExpressWizard): refactor to use templateId and enhance data fetc…
iDome89 Feb 11, 2025
d278788
feat(backoffice): enhance template fetching with detailed population …
cannarocks Feb 11, 2025
b3bfebc
feat(hooks): enhance campaign template data structure with price icon…
iDome89 Feb 11, 2025
329336c
refactor(ExpressWizard): remove device label from multiple steps for …
iDome89 Feb 11, 2025
b54407a
fix(ExpressWizard): remove redundant onCtaClick call before navigation
iDome89 Feb 12, 2025
cfef124
feat(Dashboard): update service tiles header and subtitle for improve…
iDome89 Feb 12, 2025
fc4eb72
chore:update strapi api definition
iDome89 Feb 10, 2025
31c62f5
feat(ExpressWizard): add device label to device selection steps
iDome89 Feb 7, 2025
16b0515
Update translation.json
iDome89 Feb 10, 2025
8500ad5
feat(ExpressWizard): refactor to use templateId and enhance data fetc…
iDome89 Feb 11, 2025
3de732f
feat(backoffice): enhance template fetching with detailed population …
cannarocks Feb 11, 2025
0d1bcc8
feat(hooks): enhance campaign template data structure with price icon…
iDome89 Feb 11, 2025
13def07
refactor(ExpressWizard): remove device label from multiple steps for …
iDome89 Feb 11, 2025
f0182d8
refactor(ServiceTiles): update rendering of ServiceTile components in…
marcbon Feb 12, 2025
5d6c80e
feat(ExpressWizard): conditionally render price icon and requirements…
iDome89 Feb 12, 2025
7ea9a07
fix(ExpressDrawer): ensure requirements are only rendered when descri…
iDome89 Feb 12, 2025
b7765be
feat: Improve ScrollingGrid navigation for better user experience
marcbon Feb 12, 2025
a1da840
fix(ExpressDrawer): render requirements description only when present
iDome89 Feb 12, 2025
fab5008
fix(ExpressDrawer): ensure requirements list is only rendered when no…
iDome89 Feb 12, 2025
1d05398
fix: add relative positioning to the project empty state component fo…
iacopolea Feb 12, 2025
53cb335
fix(ExpressDrawer): improve rendering of requirements list for better…
iDome89 Feb 12, 2025
75db557
Merge pull request #1132 from AppQuality/test-804
iDome89 Feb 12, 2025
926d192
Merge pull request #1133 from AppQuality/fix-scrolling-container
marcbon Feb 12, 2025
66e642d
Merge pull request #1134 from AppQuality/fix-empty-project-zindex
marcbon Feb 12, 2025
c4e087c
fix(ExpressDrawer): add accent style to start button for improved vis…
iDome89 Feb 12, 2025
b44f7aa
Merge pull request #1136 from AppQuality/fix-drawe-button
marcbon Feb 12, 2025
0452058
feat(ExpressWizard): add device label to device selection steps
iDome89 Feb 7, 2025
1b30c47
feat(ExpressWizard): refactor to use templateId and enhance data fetc…
iDome89 Feb 11, 2025
c11f72d
chore: update @appquality/unguess-design-system to version 4.0.26
iacopolea Feb 11, 2025
7d3ec6d
feat: add Template page with contact and express CTAs
iacopolea Feb 11, 2025
bbc91a0
fix: update query to fetch full templates instead of services
iacopolea Feb 11, 2025
850a4a0
feat: enhance SingleTemplatePageHeader to fetch and display full temp…
iacopolea Feb 12, 2025
7ffe37e
feat(SingleTemplatePageHeader): refactor to remove unused imports and…
iacopolea Feb 12, 2025
e776610
revert changes possibly from rebase
iacopolea Feb 12, 2025
fb39136
revert changes possibly from rebase 2
iacopolea Feb 12, 2025
7a711a9
refactor: remove unused strapiParams configuration file
iacopolea Feb 12, 2025
c48a5e2
fix(template): remove TemplateContactUsCta and fix breadcrumb link
iacopolea Feb 12, 2025
9bf21ef
feat(Template): introduce strapiQueryArgs for streamlined data fetchi…
iacopolea Feb 12, 2025
393f4ec
feat(Template): add template button label to translations and update …
iacopolea Feb 12, 2025
160225c
feat(Template): refactor data fetching to use useCampaignTemplateById…
iacopolea Feb 12, 2025
3ce889a
fix(Template): update output image handling in useCampaignTemplateByI…
iacopolea Feb 12, 2025
a922e35
fix(hook): correct output image handling in useCampaignTemplateById hook
iacopolea Feb 12, 2025
8417bc7
feat(Navigation): add case for 'template' to handle sidebar state
cannarocks Feb 13, 2025
7ca427a
feat(hook): enhance useCampaignTemplateById to include sort order and…
iacopolea Feb 13, 2025
8f0e1d2
fix(TemplateTimeline): update goal text rendering to check for existe…
iacopolea Feb 13, 2025
b118bbb
feat(express): add templateId to express state and update related dis…
iDome89 Feb 13, 2025
41be050
Merge pull request #1137 from AppQuality/fix-drawer-express
marcbon Feb 13, 2025
3f1ff26
Merge pull request #1135 from AppQuality/UN-802-templates-route
marcbon Feb 13, 2025
0bcb442
feat: Use newlines for template description
d-beezee Feb 14, 2025
ac6f1b1
feat: Add preventEmpty to InputToggle in EditableTitle component
marcbon Feb 14, 2025
6960aea
fix: Use express type id instead of template id
d-beezee Feb 14, 2025
9656b4f
Refactor EditableTitle and EditableDescription components
marcbon Feb 14, 2025
21b4d92
Merge pull request #1138 from AppQuality/new-input-toggles
d-beezee Feb 14, 2025
a02c4fd
fix: Update age range to include '55+' in WhoStep component
cannarocks Feb 17, 2025
d5ef2ad
Merge pull request #1142 from AppQuality/UN-819-update-age-label
cannarocks Feb 17, 2025
6f8fec1
build(deps-dev): bump vite from 5.4.11 to 5.4.12
dependabot[bot] Feb 17, 2025
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@appquality/languages": "1.4.3",
"@appquality/unguess-design-system": "4.0.23",
"@appquality/unguess-design-system": "4.0.26",
"@headwayapp/react-widget": "^0.0.4",
"@reduxjs/toolkit": "^1.8.0",
"@sentry/react": "^8.32.0",
Expand Down Expand Up @@ -104,7 +104,7 @@
"playwright-i18next-fixture": "^1.0.0",
"prettier": "^2.6.2",
"ts-node": "^10.9.2",
"vite": "^5.2.13",
"vite": "^5.4.12",
"vite-tsconfig-paths": "^4.3.2"
},
"config": {
Expand Down
42 changes: 42 additions & 0 deletions src/assets/empty-archive.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 @@ -19,6 +19,7 @@ import LoginPage from 'src/pages/LoginPage';
import NotFound from 'src/pages/NotFound/NotFound';
import MediaNotFound from 'src/pages/NotFound/MediaNotFound';
import Service from 'src/pages/Service';
import Template from 'src/pages/Template';
import Catalog from 'src/pages/Services';
import Manual from 'src/pages/Manual';
import Videos from 'src/pages/Videos';
Expand Down Expand Up @@ -85,6 +86,10 @@ const Pages = () => {
path={`/${langPrefix}/services/:templateId`}
element={<Service />}
/>
<Route
path={`/${langPrefix}/templates/:templateId`}
element={<Template />}
/>
<Route
path={`/${langPrefix}/campaigns/:campaignId/videos`}
element={<Videos />}
Expand Down
34 changes: 12 additions & 22 deletions src/common/components/BugDetail/BugDuplicates/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Accordion, LG, Button } from '@appquality/unguess-design-system';
import { Button, AccordionNew } from '@appquality/unguess-design-system';
import { useState } from 'react';
import { Trans, useTranslation } from 'react-i18next';
import { appTheme } from 'src/app/theme';
import { useBugPreviewContext } from 'src/pages/Bugs/Content/context/BugPreviewContext';
import { useSiblings } from './useSiblings';
import { BugDuplicatesList } from './BugDuplicatesList';
Expand Down Expand Up @@ -31,29 +30,20 @@ export const BugDuplicates = ({
};

return (
<Accordion
<AccordionNew
level={3}
style={{ padding: 0 }}
key={`duplicates_accordion_${isAccordionOpen}`}
defaultExpandedSections={isAccordionOpen ? [0, 1] : []}
id="bug-preview-duplicates"
onChange={handleAccordionChange}
>
<Accordion.Section>
<Accordion.Header>
<Accordion.Label style={{ padding: 0 }}>
<LG isBold>
<LinkIcon
style={{
color: appTheme.palette.grey[600],
marginRight: appTheme.space.xs,
}}
/>
{t('__BUGS_PAGE_BUG_DETAIL_DUPLICATES_ACCORDION_TITLE')}
</LG>
</Accordion.Label>
</Accordion.Header>
<Accordion.Panel style={{ padding: 0, paddingTop: appTheme.space.sm }}>
<AccordionNew.Section>
<AccordionNew.Header icon={<LinkIcon />}>
<AccordionNew.Label
label={t('__BUGS_PAGE_BUG_DETAIL_DUPLICATES_ACCORDION_TITLE')}
/>
</AccordionNew.Header>
<AccordionNew.Panel>
<BugFather cid={cid} bugId={bugId} />
<BugDuplicatesList
maxSiblingSize={MAX_SIBLING_SIZE}
Expand All @@ -71,8 +61,8 @@ export const BugDuplicates = ({
</Trans>
</Button>
) : null}
</Accordion.Panel>
</Accordion.Section>
</Accordion>
</AccordionNew.Panel>
</AccordionNew.Section>
</AccordionNew>
);
};
43 changes: 12 additions & 31 deletions src/common/components/BugDetail/Details.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Accordion, LG } from '@appquality/unguess-design-system';
import { AccordionNew } from '@appquality/unguess-design-system';
import { useTranslation } from 'react-i18next';
import { Bug, BugAdditionalField } from 'src/features/api';
import styled from 'styled-components';
import { appTheme } from 'src/app/theme';
import { ReactComponent as DetailsIcon } from 'src/assets/icons/details-icon.svg';
import { useBugPreviewContext } from 'src/pages/Bugs/Content/context/BugPreviewContext';
import DetailsItems from './DetailsItems';
Expand All @@ -12,15 +11,6 @@ const Container = styled.div`
width: 100%;
margin-bottom: ${({ theme }) => theme.space.lg};
`;
const Title = styled.div`
display: flex;
justify-content: flex-start;
align-items: center;

> svg {
fill: ${({ theme }) => theme.palette.grey[600]};
}
`;

export default ({
bug,
Expand All @@ -47,32 +37,23 @@ export default ({

return (
<Container id="bug-preview-details">
<Accordion
<AccordionNew
level={3}
style={{ padding: 0 }}
key={`details_accordion_${isOpen}`}
defaultExpandedSections={isOpen ? [0, 1] : []}
onChange={handleAccordionChange}
>
<Accordion.Section>
<Accordion.Header>
<Accordion.Label style={{ padding: 0 }}>
<Title>
<DetailsIcon
style={{
marginRight: appTheme.space.base * 3,
color: appTheme.palette.grey[600],
}}
/>
<LG isBold>{t('__BUGS_PAGE_BUG_DETAIL_DETAILS_LABEL')}</LG>
</Title>
</Accordion.Label>
</Accordion.Header>
<Accordion.Panel style={{ padding: 0 }}>
<AccordionNew.Section>
<AccordionNew.Header icon={<DetailsIcon />}>
<AccordionNew.Label
label={t('__BUGS_PAGE_BUG_DETAIL_DETAILS_LABEL')}
/>
</AccordionNew.Header>
<AccordionNew.Panel>
<DetailsItems bug={bug} />
</Accordion.Panel>
</Accordion.Section>
</Accordion>
</AccordionNew.Panel>
</AccordionNew.Section>
</AccordionNew>
</Container>
);
};
7 changes: 4 additions & 3 deletions src/common/components/LayoutWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import React from 'react';
import styled from 'styled-components';

const Container = styled.div<{
isNotBoxed?: boolean;
}>`
width: 100%;
box-sizing: border-box;
padding: 0 ${({ theme }) => theme.space.xxl};
padding: 0 ${({ theme }) => theme.space.md};
margin: 0 auto;
max-width: ${({ theme, isNotBoxed }) =>
isNotBoxed ? '100%' : theme.breakpoints.xxl};

@media (max-width: ${({ theme }) => theme.breakpoints.sm}) {
padding: 0 ${({ theme }) => theme.space.md};
@media (min-width: ${({ theme }) => theme.breakpoints.sm}) {
padding: 0 ${({ theme }) => theme.space.xxl};
}
`;

Expand Down
Loading
Loading