@@ -48,10 +48,20 @@ An enterprise react template application showcasing - Testing strategies, Global
- Install dependencies using `yarn install`
-- Start the dev server using `yarn start`
+- Start the electron dev server using `yarn run electron:start`
+
+- Package the app for production using `yarn run electron:package`
- Go through the other scripts in `package.json`
+## Electron Configuration
+
+- Electron configuration using [main.js](https://www.electronjs.org/docs/latest/tutorial/examples)
+
+ Take a look at the following files
+
+ - [main/main.js](main/main.js)
+
## TypeScript Configuration
- Typescript Configuration using [tsconfig.json](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)
@@ -189,6 +199,20 @@ An enterprise react template application showcasing - Testing strategies, Global
- [.github/workflows/ci.yml](.github/workflows/ci.yml)
- [.github/workflows/cd.yml](.github/workflows/cd.yml)
+## Auto release
+
+- Each push into `dev` branch will produce a alpha release
+- Each push into `staging` branch will produce a beta release
+- Each push into `master` branch will produce a prod release
+
+These releases will also have the respective packaged electron app in it assets.
+
+Take a look at the following files
+
+- [.github/workflows/cd-alpha-release.yml](.github/workflows/cd-alpha-release.yml)
+- [.github/workflows/cd-beta-release.yml](.github/workflows/cd-beta-release.yml)
+- [.github/workflows/cd-latest-release.yml](.github/workflows/cd-latest-release.yml)
+
## Testing using @testing-library/react
- Testing is done using the @testing-library/react.
@@ -265,13 +289,3 @@ Where `type` is one of the following:
Where `flags` is an optional comma-separated list of one or more of the following (must be surrounded in square brackets):
- `breaking`: alters `type` to be a breaking change
And `category` can be anything of your choice. If you use a type not found in the list (but it still follows the same format of the message), it'll be grouped under `other`.
-
-## Auto release
-
-- Each push into `qa` branch will produce a beta release
-- Each push into `master` branch will produce a prod release
-
- Take a look at the following files
-
-- [.github/workflows/beta-release.yml](.github/workflows/beta-release.yml)
-- [.github/workflows/prod-release.yml](.github/workflows/prod-release.yml)
diff --git a/app/components/Siderbar/index.tsx b/app/components/Siderbar/index.tsx
index 95cb880..4dd1ee0 100644
--- a/app/components/Siderbar/index.tsx
+++ b/app/components/Siderbar/index.tsx
@@ -17,13 +17,15 @@ const SidebarWrapper = styled.div`
const SidebarDrawer = styled(Drawer)`
&& {
.ant-drawer-body {
- padding: ${(props) => props.theme.headerHeight} 0 0 0;
background-color: ${colors.primary};
- width: ${(props) => props.theme.sidebarWidth};
text-align: center;
}
+ .ant-drawer-header {
+ border-bottom: 1px solid ${colors.primary};
+ background-color: ${colors.primary};
+ }
.ant-drawer-close {
- top: 1rem;
+ padding-top: 1rem;
}
}
`;
diff --git a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap
index 279b9a3..efb056c 100644
--- a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap
+++ b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap
@@ -48,7 +48,7 @@ exports[` tests should render and match the snapshot 1`] = `
class="HomeContainer__ButtonBox-sc-1ly6omb-3 gSuRgZ"
>