Skip to content

Commit 821be14

Browse files
authored
Merge pull request #630 from AppQuality/develop
Add UX widgets to mother dashboard
2 parents c6f0d19 + 5946f08 commit 821be14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1955
-197
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.4.0",
44
"private": true,
55
"dependencies": {
6-
"@appquality/unguess-design-system": "3.1.3",
6+
"@appquality/unguess-design-system": "3.1.46",
77
"@headwayapp/react-widget": "^0.0.4",
88
"@reduxjs/toolkit": "^1.8.0",
99
"@rtk-query/codegen-openapi": "^1.0.0-alpha.1",
Lines changed: 23 additions & 0 deletions
Loading
Lines changed: 23 additions & 0 deletions
Loading
Lines changed: 23 additions & 0 deletions
Loading
Lines changed: 25 additions & 0 deletions
Loading

src/assets/icons/pill-icon-tv.svg

Lines changed: 8 additions & 0 deletions
Loading

src/common/Pages.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Bug from 'src/pages/Bug';
1111
import BugForm from 'src/pages/Bugform';
1212
import Bugs from 'src/pages/Bugs';
1313
import Campaign from 'src/pages/Campaign';
14+
import CampaignPreview from 'src/pages/Campaign/preview';
1415
import Dashboard from 'src/pages/Dashboard';
1516
import Project from 'src/pages/Dashboard/Project';
1617
import LoginPage from 'src/pages/LoginPage';
@@ -40,6 +41,10 @@ const Pages = () => {
4041
path={`/${langPrefix}/campaigns/:campaignId`}
4142
element={<Campaign />}
4243
/>
44+
<Route
45+
path={`/${langPrefix}/campaigns/:campaignId/preview`}
46+
element={<CampaignPreview />}
47+
/>
4348
<Route
4449
path={`/${langPrefix}/campaigns/:campaignId/bugform`}
4550
element={<BugForm />}
@@ -48,7 +53,6 @@ const Pages = () => {
4853
path={`/${langPrefix}/campaigns/:campaignId/manual`}
4954
element={<Manual />}
5055
/>
51-
5256
<Route path={`/${langPrefix}/login`} element={<LoginPage />} />
5357
<Route
5458
path={`/${langPrefix}/projects/:projectId`}
@@ -67,7 +71,6 @@ const Pages = () => {
6771
path={`/${langPrefix}/services/:templateId`}
6872
element={<Service />}
6973
/>
70-
7174
{/* No route found */}
7275
<Route path={`/${langPrefix}/oops`} element={<NotFound />} />
7376
<Route index element={<Dashboard />} />

src/common/components/BugCard/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ type BugCardArgs = React.HTMLAttributes<HTMLDivElement> & {
6868
*/
6969

7070
const StyledAnchor = styled(Anchor)<{ disabled?: boolean }>`
71+
width: 100%;
72+
7173
${({ disabled }) =>
7274
disabled &&
7375
`

src/common/components/BugDetail/lightbox.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,8 @@ export const LightboxContainer = ({
9595
ref={(ref) => {
9696
videoRefs.current.push(ref);
9797
}}
98-
>
99-
<source src={item.url} type="video/mp4" />
100-
<track kind="captions" />
101-
</Player>
98+
url={item.url}
99+
/>
102100
)}
103101
</Slider.Slide>
104102
))}

src/common/components/StickyContainer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export const StickyContainer = styled(ContainerCard)`
55
position: sticky;
66
top: ${({ theme }) => theme.space.md};
77
z-index: 1;
8-
padding: ${({ theme }) => theme.space.base * 6}px;
8+
padding: ${({ theme }) => theme.space.sm}
9+
${({ theme }) => theme.space.base * 4}px;
910
background-color: ${({ theme }) => theme.palette.white};
1011
`;

0 commit comments

Comments
 (0)