Skip to content

Commit 99f60e2

Browse files
authored
Merge pull request #4423 from appirio-tech/feature/new-milestone-concept
[DEV] Milestones Management
2 parents 24c8456 + 93f12b9 commit 99f60e2

Some content is hidden

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

56 files changed

+2356
-88
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ workflows:
188188
- build-dev
189189
filters: &filters-dev
190190
branches:
191-
only: ['dev', 'feature/copilot-feedback']
191+
only: ['dev', 'feature/new-milestone-concept']
192192

193193
- deployTest01:
194194
context : org-global
Lines changed: 3 additions & 0 deletions
Loading

src/assets/icons/icon-dots.svg

Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

src/assets/icons/x-mark-thin.svg

Lines changed: 6 additions & 0 deletions
Loading

src/components/Layout/Layout.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const Layout = (props) => {
2929
</div>
3030
<Footer />
3131
<GatewayDest name="fullscreen-page" className="mobile-page-gateway" />
32+
<GatewayDest name="right-sidebar" className="right-sidebar-container" />
3233
</div>
3334
)
3435
}

src/components/Layout/Layout.scss

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,35 @@
2323
background-color: $tc-gray-neutral-light;
2424
}
2525
}
26+
27+
.right-sidebar-container {
28+
position: fixed;
29+
top: 0;
30+
bottom: 0;
31+
right: 0;
32+
width: 310px;
33+
z-index: 9999;
34+
transform: translateX(310px);
35+
transition: transform 225ms ease;
36+
37+
&:not(:empty) {
38+
transform: translateX(0);
39+
40+
&::before {
41+
content: '';
42+
position: absolute;
43+
top: -100vh;
44+
left: -100vw;
45+
width: 200vw;
46+
height: 200vh;
47+
z-index: -1;
48+
}
49+
50+
@media screen and (max-width: $screen-md - 1px) {
51+
width: 100%;
52+
transition: none;
53+
}
54+
}
55+
}
2656
}
57+

src/components/ProjectProgress/ProjectProgress.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Themes = {
1818

1919
const ProjectProgress = ({type, percent, children, viewType=ViewTypes.HBAR }) => (
2020
<div className="project-progress">
21-
{ viewType === ViewTypes.HBAR &&
21+
{ viewType === ViewTypes.HBAR &&
2222
<div className="progress-bar">
2323
<div className={cn('progress', type)} style={{width: percent + '%'}} />
2424
</div>
@@ -35,14 +35,13 @@ ProjectProgress.ViewTypes = ViewTypes
3535
ProjectProgress.Themes = Themes
3636

3737
ProjectProgress.defaultProps = {
38-
type: Themes.BLUE
38+
type: Themes.BLUE
3939
}
4040

4141
ProjectProgress.propTypes = {
42-
title: PropTypes.string.isRequired,
4342
type: PropTypes.oneOf(_.values(Themes)),
4443
percent: PropTypes.number.isRequired,
45-
children: PropTypes.any.isRequired
44+
children: PropTypes.any
4645
}
4746

4847
export default ProjectProgress

src/components/TwoColsLayout/TwoColsLayout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TwoColsLayout.Sidebar = ({ children, wrapperClass }) => (
2727

2828
TwoColsLayout.Content = ({ children }) => (
2929
<div styleName="content">
30-
<div styleName="content-inner">
30+
<div styleName="content-inner" className="twoColsLayout-contentInner">
3131
{children}
3232
</div>
3333
</div>

0 commit comments

Comments
 (0)