File tree Expand file tree Collapse file tree 7 files changed +25
-13
lines changed
src/shared/containers/timeline-wall Expand file tree Collapse file tree 7 files changed +25
-13
lines changed Original file line number Diff line number Diff line change @@ -349,8 +349,7 @@ workflows:
349349 filters :
350350 branches :
351351 only :
352- - develop
353- - latex_support
352+ - free
354353 # This is alternate dev env for parallel testing
355354 - " build-test " :
356355 context : org-global
@@ -379,8 +378,6 @@ workflows:
379378 branches :
380379 only :
381380 - develop
382- - old-mm-fix
383- - reskin-profile-settings
384381 # Production builds are exectuted
385382 # when PR is merged to the master
386383 # Don't change anything in this configuration
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ import './styles.scss';
2424const FETCHING_PENDING_APPROVAL_EVENTS_INTERVAL = _ . get ( config , 'TIMELINE.FETCHING_PENDING_APPROVAL_EVENTS_INTERVAL' , 0 ) ;
2525const FORUM_LINK = _ . get ( config , 'TIMELINE.FORUM_LINK' , '' ) ;
2626function TimelineWallContainer ( props ) {
27+ const currentTime = new Date ( ) ;
28+ const thisYear = currentTime . getFullYear ( ) ;
2729 const [ tab , setTab ] = useState ( 0 ) ;
2830 const fetchingApprovalsInterval = useRef ( null ) ;
2931 const [ showRightFilterMobile , setShowRightFilterMobile ] = useState ( false ) ;
@@ -223,7 +225,7 @@ function TimelineWallContainer(props) {
223225 type = "button"
224226 styleName = "filter-dropdown hide-desktop show-mobile"
225227 >
226- < span > { selectedFilterValue . year ? selectedFilterValue . year : '' } </ span >
228+ < span > { selectedFilterValue . year ? selectedFilterValue . year : thisYear } </ span >
227229 < IconCheveronDownBlue />
228230 </ button >
229231 </ div >
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import PT from 'prop-types';
33import { Modal } from 'topcoder-react-ui-kit' ;
44import IconCloseGreen from 'assets/images/icon-close-green.svg' ;
55import LoadingIndicator from 'components/LoadingIndicator' ;
6+ import cn from 'classnames' ;
67
78import style from './styles.scss' ;
89
@@ -17,14 +18,17 @@ function ModalEventAdd({
1718 onCancel = { onClose }
1819 >
1920 < div styleName = "header" >
20- < span styleName = "text-title" > Confirmation</ span >
21+ < span styleName = "text-title" > { uploadResult ? 'Error' : ' Confirmation' } </ span >
2122 < button styleName = "btn-close" onClick = { onClose } type = "button" > < IconCloseGreen /> </ button >
2223 </ div >
2324 {
2425 uploading ? (
2526 < LoadingIndicator />
2627 ) : (
27- < span styleName = "text-description" >
28+ < span styleName = { cn ( 'text-description' , {
29+ error : ! ! uploadResult ,
30+ } ) }
31+ >
2832 {
2933 uploadResult || successMessage
3034 }
Original file line number Diff line number Diff line change 4444 strong {
4545 @include roboto-bold ;
4646 }
47+
48+ & .error {
49+ color : #ef476f ;
50+ }
4751}
4852
4953.separator {
Original file line number Diff line number Diff line change 8686 border : none ;
8787 color : white ;
8888
89+ & :visited ,
8990 & :hover {
9091 color : white ;
9192 }
Original file line number Diff line number Diff line change 33.container {
44 display : flex ;
55 flex-direction : column ;
6+ z-index : 1 ;
67
78 @media (max-width : 768px ) {
89 position : fixed ;
5354 border-top-left-radius : 8px ;
5455 border-bottom-left-radius : 8px ;
5556 padding : 10px 0 ;
56- position : fixed ;
57- right : 0 ;
58- left : 1374 px ;
57+ position : sticky ;
58+ margin-bottom : 80 px ;
59+ top : 0 ;
5960 max-height : 70% ;
6061 overflow : scroll ;
61- -ms-overflow-style : none ; /* Internet Explorer 10+ */
62- scrollbar-width : none ; /* Firefox */
62+ -ms-overflow-style : none ; /* Internet Explorer 10+ */
63+ scrollbar-width : none ; /* Firefox */
6364
6465 & ::-webkit-scrollbar {
65- display : none ; /* Safari and Chrome */
66+ display : none ; /* Safari and Chrome */
6667 }
6768
6869 @media (max-width : 1500px ) {
7273 @media (max-width : 768px ) {
7374 border-radius : 0 ;
7475 width : calc (100% - 10px );
76+ position : relative ;
77+ margin-bottom : unset ;
7578 }
7679
7780 span {
Original file line number Diff line number Diff line change 44 display : flex ;
55 flex-direction : row ;
66 justify-content : space-between ;
7+ max-width : 1492px ;
78}
89
910.left-content {
You can’t perform that action at this time.
0 commit comments