Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bugii/ExMan
Browse files Browse the repository at this point in the history
  • Loading branch information
bugii committed Dec 5, 2020
2 parents 9e9d256 + 8dd61d2 commit f5e7c51
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sourceCode/src/react/Pages/DistractingApps.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function DistractingApps() {

useEffect(() => {
ipcRenderer.on("distracting-apps", (e, array) => {
setDisArray(array);
setDisArray(array.sort());
});
ipcRenderer.send("distracting-apps");
}, []);
Expand Down
6 changes: 3 additions & 3 deletions sourceCode/src/react/components/Home/MenuBoxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ function MenuBoxes(props) {

return (
<MenuBoxContainer>
<MenuBoxDiv onClick={props.handleFocusNow}>
<MenuBoxDiv onClick={props.handleFocusNow} style={{ cursor: "pointer" }}>
<MenuIcon>
<FilterCenterFocusIcon style={{ fontSize: 150 }} />
</MenuIcon>
focus now
</MenuBoxDiv>
<MenuBoxDiv>
<MenuIcon>
<TodayIcon style={{ fontSize: 150, marginTop: 32}} />
<TodayIcon style={{ fontSize: 150, marginTop: 32 }} />
</MenuIcon>
{calendarRegistered ? (
<div style={{ textAlign: "center" }}>
Expand All @@ -129,7 +129,7 @@ function MenuBoxes(props) {
</div>
)}
</MenuBoxDiv>
<MenuBoxDiv onClick={openDashboard}>
<MenuBoxDiv onClick={openDashboard} style={{ cursor: "pointer" }}>
<MenuIcon>
<EqualizerIcon style={{ fontSize: 150 }} />
</MenuIcon>
Expand Down
11 changes: 10 additions & 1 deletion sourceCode/src/react/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ function Navbar(props) {
<div style={{ display: "flex", flexDirection: "column" }}>
<HomeIcon
onClick={() => history.push("/")}
style={{ color: Colors.snow, fontSize: 50, margin: "0.5rem 1rem" }}
style={{
color: Colors.snow,
fontSize: 50,
margin: "0.5rem 1rem",
cursor: "pointer",
}}
/>
{props.services.map((service) => {
if (!service.isOther) {
Expand Down Expand Up @@ -92,6 +97,7 @@ function Navbar(props) {
color: Colors.snow,
fontSize: 50,
margin: "0.5rem 1rem",
cursor: "pointer",
}}
/>
<NewFocusSession
Expand All @@ -106,6 +112,7 @@ function Navbar(props) {
color: Colors.snow,
fontSize: 50,
margin: "0.5rem 1rem",
cursor: "pointer",
}}
/>
) : null}
Expand All @@ -116,6 +123,7 @@ function Navbar(props) {
color: Colors.snow,
fontSize: 50,
margin: "0.5rem 1rem",
cursor: "pointer",
}}
/>

Expand All @@ -125,6 +133,7 @@ function Navbar(props) {
color: Colors.snow,
fontSize: 50,
margin: "0.5rem 1rem",
cursor: "pointer",
}}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sourceCode/src/react/components/Summary/DonutChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function DonutChart(props) {
legend: { display: true },
title: {
display: false,
text: "Time spent in focus or in each service",
text: "Time spent in focus or in each service in percentage",
},
maintainAspectRatio: true,
responsive: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function AnalyseChart(props) {
legend: { display: true },
title: {
display: true,
text: "usage of applications during focus time",
text: "usage of applications during focus time in percentage",
},
maintainAspectRatio: false,
responsive: true,
Expand Down

0 comments on commit f5e7c51

Please sign in to comment.