Skip to content

Commit

Permalink
Prepare for 1.3.1 release and little UI fixes (#167)
Browse files Browse the repository at this point in the history
* Bump to 1.3.1

* Little UI fixes
  • Loading branch information
petrvecera authored Feb 20, 2022
1 parent 01ef8c6 commit 18ad0eb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/renderer/windows/main/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const App = (): JSX.Element => {
if (gameData.state === "closed" || gameData.state === "menu") {
content = (
<>
<div style={{ textAlign: "center", paddingTop: 20, paddingBottom: 20 }}>
<div style={{ textAlign: "center", paddingTop: 10, paddingBottom: 15 }}>
<Title>
<Spin indicator={<LoadingOutlined style={{ fontSize: 30 }} spin />} /> Waiting for a
game
Expand Down Expand Up @@ -86,7 +86,7 @@ const App = (): JSX.Element => {
}
right={<PlayerCount />}
/>
<Row justify="center" style={{ paddingTop: "0px", paddingBottom: "20px" }}>
<Row justify="center" style={{ paddingTop: "10px", paddingBottom: "20px" }}>
<Col xs={24} md={22} xxl={14}>
{content}
</Col>
Expand Down
6 changes: 5 additions & 1 deletion packages/app/src/renderer/windows/settings/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const App = (): JSX.Element => {
File check interval{" "}
<Helper
text={"Interval in seconds to check the warnings.log file for a new game."}
style={{ paddingLeft: "5px" }}
/>
</>
}
Expand All @@ -134,6 +135,7 @@ const App = (): JSX.Element => {
Run in tray{" "}
<Helper
text={"Application keeps running in system tray when all windows are closed."}
style={{ paddingLeft: "5px" }}
/>
</>
}
Expand All @@ -148,6 +150,7 @@ const App = (): JSX.Element => {
text={
"Open player cards in your default system browser instead of a new application window."
}
style={{ paddingLeft: "5px" }}
/>
</>
}
Expand All @@ -163,7 +166,7 @@ const App = (): JSX.Element => {
'Windows will suppress notifications when focus assist do not disturb for games is enabled. To change that go to windows settings, search for focus assist and disable "When i\'m playing a game"'
}
>
<ExclamationCircleOutlined style={{ color: "#eb2f96" }} />
<ExclamationCircleOutlined style={{ color: "#eb2f96", paddingLeft: "5px" }} />
</Tooltip>
</>
}
Expand All @@ -189,6 +192,7 @@ const App = (): JSX.Element => {
</Typography.Link>
</>
}
style={{ paddingLeft: "5px" }}
/>
</>
}
Expand Down
5 changes: 3 additions & 2 deletions packages/shared/src/components/helper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import { QuestionCircleOutlined } from "@ant-design/icons";

interface IProps {
text: string | any;
style?: Record<string, any>;
}
export const Helper: React.FC<IProps> = ({ text }) => {
export const Helper: React.FC<IProps> = ({ text, style }) => {
return (
<Tooltip title={text}>
<QuestionCircleOutlined />
<QuestionCircleOutlined style={style} />
</Tooltip>
);
};
6 changes: 3 additions & 3 deletions packages/web/public/electron-app-version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.0",
"link": "https://github.com/petrvecera/coh2ladders/releases/tag/v1.3.0",
"downloadLink": "https://github.com/petrvecera/coh2ladders/releases/download/v1.3.0/Coh2.Game.Stats-1.3.0.Setup.exe"
"version": "1.3.1",
"link": "https://github.com/petrvecera/coh2ladders/releases/tag/v1.3.1",
"downloadLink": "https://github.com/petrvecera/coh2ladders/releases/download/v1.3.1/Coh2.Game.Stats-1.3.1.Setup.exe"
}

0 comments on commit 18ad0eb

Please sign in to comment.