Skip to content

Commit

Permalink
chore: bump version to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lopukhin committed Jan 5, 2018
2 parents d898272 + 5756b29 commit 65a4b38
Show file tree
Hide file tree
Showing 12 changed files with 296 additions and 282 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![license](https://img.shields.io/github/license/desktop/desktop.svg?style=flat-square)](https://github.com/web-pal/chronos-timetracker/blob/master/LICENSE)

# Chronos timetracker

Expand Down
1 change: 0 additions & 1 deletion app/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
}
})();
</script>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
</head>
<body>
<div id="root"></div>
Expand Down
5 changes: 3 additions & 2 deletions app/components/Calendar/Calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class Calendar extends PureComponent {
constructor(props) {
super(props);
const today = moment().date();
const thisMonth = moment().month();
const thisMonth = moment().month() + 1;
const thisYear = moment().year();
this.state = {
day: today,
Expand All @@ -47,8 +47,9 @@ export default class Calendar extends PureComponent {
});
}

handleSelect = ({ iso, day }) => {
handleSelect = ({ iso, day, month, year }) => {
const { selected } = this.state;
this.handleChange({ day, month, year });
if (selected.indexOf(iso) === -1) {
this.setState({ selected: [iso], focused: day });
console.log('CALENDAR onUpdate', iso, moment(iso).format('MM/DD/YYYY'));
Expand Down
2 changes: 1 addition & 1 deletion app/containers/IssueView/IssueReport/IssueReport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const IssueReport: StatelessFunctionalComponent<Props> = ({
View reports and calculate salaries in Chronos Timesheets
</Heading>
<CTAButton
onClick={openURLInBrowser(`https://${host.origin}/plugins/servlet/ac/jira-chronos/api-page-jira`)}
onClick={openURLInBrowser(`${host.origin}/plugins/servlet/ac/jira-chronos/api-page-jira`)}
>
Open plugin
</CTAButton>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable no-confusing-arrow */
import styled from 'styled-components2';
// import '../../../../../../assets/fonts/lineto-circular-bold-c.woff';
// import '../../../../../../assets/fonts/lineto-circular-book-c.woff';

export const ProgressBarContainer = styled.div`
width: 94%;
Expand All @@ -28,19 +26,16 @@ export const ProgressBarFill = styled.div`
`;

export const Time = styled.span`
font-family: Circular-Book !important;
color: rgba(225, 225, 225, .9);
font-size: 12px;
line-height: 23px;
${props => props.isHighlighted && `
color: white;
font-size: 14px;
font-family: Circular-Bold !important;
`}
`;

export const TimeLabel = styled.span`
font-family: Circular-Book !important;
color: rgba(225, 225, 225, .7);
font-size: 10px;
`;
8 changes: 0 additions & 8 deletions app/containers/IssueView/IssueReport/styled/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ export const MetaColumn = styled.div`
export const MetaItemName = styled.span.attrs({
className: 'MetaItemName',
})`
font-family: Circular-Book !important;
color: rgba(225, 225, 225, .9);
font-size: 14px;
`;

export const MetaItemValue = styled.span.attrs({
className: 'MetaItemValue',
})`
font-family: Circular-Bold !important;
color: white;
font-size: 28px;
`;
Expand All @@ -58,7 +56,6 @@ export const CTAButton = styled.div`
padding: 8px 16px;
margin-top: 8px;
cursor: pointer;
font-family: Circular-Book !important;
:hover {
background: #FF991F;
border-color: #FF991F;
Expand All @@ -76,14 +73,12 @@ export const CTAArea = styled.div`
export const Heading = styled.div`
font-size: 24px;
text-align: center;
font-family: Circular-Bold !important;
color: #FFFFFF;
`;

export const HelpText = styled.a`
color: rgba(255,255,255,0.85);
font-size: 12px;
font-family: Circular-Book !important;
cursor: pointer;
:hover {
color: white;
Expand All @@ -100,11 +95,9 @@ export const ChronosDescriptionMetaItem = styled.div`
display: flex;
flex-direction: row;
justify-content: space-between;
font-family: Circular-Book !important;
margin-bottom: 4px;
b {
color: white;
font-family: Circular-Bold !important;
}
`;

Expand Down Expand Up @@ -191,7 +184,6 @@ export const LearnMoreLink = styled.a`
text-decoration: none;
font-size: 10px;
color: white;
font-family: Circular-Bold !important;
cursor: pointer;
:hover {
color: white;
Expand Down
6 changes: 5 additions & 1 deletion app/containers/Modals/WorklogModal/WorklogModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ class WorklogModal extends Component<Props, State> {
disabled={fetching}
onClick={() => {
this.props.addManualWorklogRequest({
startTime,
startTime: startTime.set({
year: date.split('/')[2],
month: parseInt(date.split('/')[0], 10) - 1,
date: date.split('/')[1],
}),
totalSpent,
comment,
date,
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Chronos",
"productName": "Chronos",
"version": "2.4.0",
"version": "2.4.1",
"description": "Native app for time-tracking fully integrated with JIRA",
"main": "./main.prod.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion app/reducers/issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function itemsById(state: IssuesMap = {}, action): IssuesMap {
worklog: {
...state[action.meta].fields.worklog,
worklogs: [
action.payload,
...state[action.meta].fields.worklog.worklogs,
action.payload,
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions app/sagas/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ export function* checkJWT(): Generator<*, void, *> {
accessToken: userData.token,
tokenSecret: userData.token_secret,
}));
} else {
yield put(profileActions.setLoginFetching(false));
}
} catch (err) {
yield put(profileActions.setLoginFetching(false));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Chronos",
"version": "2.4.0",
"version": "2.4.1",
"description": "Full functionality time tracking software with direct JIRA integration",
"scripts": {
"build": "concurrently \"yarn build-main\" \"yarn build-renderer\"",
Expand Down
Loading

0 comments on commit 65a4b38

Please sign in to comment.