From d3813d95e0cbf622032dffaa9e933317245cc9ae Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sat, 30 Sep 2023 21:37:44 +0100 Subject: [PATCH] chore: wait-on 127.0.0.1 rather than localhost --- CHANGELOG.md | 19 ++++++++----------- app/main/package.json | 2 +- app/main/src/store.ts | 2 +- app/renderer/src/styles/routes/tasks/card.ts | 4 +++- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d03d2093..09ef2ab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,27 +2,24 @@ ## [1.3.0](https://github.com/zidoro/pomatez/compare/v1.2.3...v1.3.0) (2023-09-26) - ### Features ✨ -* add support for open at login in the settings tab ([f57e133](https://github.com/zidoro/pomatez/commit/f57e1335d59938d95c6de4455b96aafcc8a878a2)) -* increase maximum focus time to 2 hours ([#383](https://github.com/zidoro/pomatez/issues/383)) ([3fc1493](https://github.com/zidoro/pomatez/commit/3fc14937ee4b08e74390fbd36eb115278f55f179)) - +- add support for open at login in the settings tab ([f57e133](https://github.com/zidoro/pomatez/commit/f57e1335d59938d95c6de4455b96aafcc8a878a2)) +- increase maximum focus time to 2 hours ([#383](https://github.com/zidoro/pomatez/issues/383)) ([3fc1493](https://github.com/zidoro/pomatez/commit/3fc14937ee4b08e74390fbd36eb115278f55f179)) ### Bug Fixes 🐛 -* compact mode layout broke with 120 minutes max timer config ([#393](https://github.com/zidoro/pomatez/issues/393)) ([c8c3c66](https://github.com/zidoro/pomatez/commit/c8c3c66460116aefe8a172b4237fa08b52583ffc)) -* disable dragging for navigation links ([#387](https://github.com/zidoro/pomatez/issues/387)) ([a5b147f](https://github.com/zidoro/pomatez/commit/a5b147fbac812b2be6e92ce218841bfebe29d790)) -* fix security issues ([bcbd65f](https://github.com/zidoro/pomatez/commit/bcbd65fa18d5f5531b20ab2ee0462b03ec766b5c)), closes [#407](https://github.com/zidoro/pomatez/issues/407) -* notification type selection issue in settings ([04ddca1](https://github.com/zidoro/pomatez/commit/04ddca16023bfea1b6496d41769ee7715700354d)) +- compact mode layout broke with 120 minutes max timer config ([#393](https://github.com/zidoro/pomatez/issues/393)) ([c8c3c66](https://github.com/zidoro/pomatez/commit/c8c3c66460116aefe8a172b4237fa08b52583ffc)) +- disable dragging for navigation links ([#387](https://github.com/zidoro/pomatez/issues/387)) ([a5b147f](https://github.com/zidoro/pomatez/commit/a5b147fbac812b2be6e92ce218841bfebe29d790)) +- fix security issues ([bcbd65f](https://github.com/zidoro/pomatez/commit/bcbd65fa18d5f5531b20ab2ee0462b03ec766b5c)), closes [#407](https://github.com/zidoro/pomatez/issues/407) +- notification type selection issue in settings ([04ddca1](https://github.com/zidoro/pomatez/commit/04ddca16023bfea1b6496d41769ee7715700354d)) ## [1.2.3](https://github.com/zidoro/pomatez/compare/v1.2.2...v1.2.3) (2023-05-03) - ### Bug Fixes 🐛 -* **app/renderer:** fix linter warnings that causes CI test build failing ([26edd59](https://github.com/zidoro/pomatez/commit/26edd59b26155954208fafc0dc3d933501c11bc9)) -* Set Application Menu to Fix Mac Shortcuts ([0e6d47f](https://github.com/zidoro/pomatez/commit/0e6d47f0eb166256f914494518b4ea9e63160c06)) +- **app/renderer:** fix linter warnings that causes CI test build failing ([26edd59](https://github.com/zidoro/pomatez/commit/26edd59b26155954208fafc0dc3d933501c11bc9)) +- Set Application Menu to Fix Mac Shortcuts ([0e6d47f](https://github.com/zidoro/pomatez/commit/0e6d47f0eb166256f914494518b4ea9e63160c06)) ## [1.2.2](https://github.com/zidoro/pomatez/compare/v1.2.1...v1.2.2) (2022-12-21) diff --git a/app/main/package.json b/app/main/package.json index 14416543..36dfbc0b 100644 --- a/app/main/package.json +++ b/app/main/package.json @@ -14,7 +14,7 @@ "scripts": { "prepare": "yarn build", "clean": "rimraf dist/ build/", - "predev:main": "wait-on http://localhost:3000", + "predev:main": "wait-on http://127.0.0.1:3000", "dev:main": "nodemon --exec \"yarn build && electron .\"", "start": "yarn dev:main", "build": "tsc && copyfiles -u 2 \"src/assets/*\" build/assets", diff --git a/app/main/src/store.ts b/app/main/src/store.ts index c344349f..e5558246 100644 --- a/app/main/src/store.ts +++ b/app/main/src/store.ts @@ -17,7 +17,7 @@ type StoreProps = { * This also ensures that we can force calling the store safely. Though I have switched the names to safeGet and safeSet to make it more clear. */ class SafeStore< - T extends Record = Record + T extends Record = Record, > { private store: ElectronStore; constructor(props: Options) { diff --git a/app/renderer/src/styles/routes/tasks/card.ts b/app/renderer/src/styles/routes/tasks/card.ts index a4097f1d..5d48579b 100644 --- a/app/renderer/src/styles/routes/tasks/card.ts +++ b/app/renderer/src/styles/routes/tasks/card.ts @@ -98,7 +98,9 @@ export const StyledCard = styled.div` border-bottom-color: var(--color-border-input-secondary); background-color: var(--color-bg-task-card); - transition: box-shadow 320ms ease-out, background-color 320ms ease-out, +:w transition: + box-shadow 320ms ease-out, + background-color 320ms ease-out, border-color 320ms ease-out; ${(p) =>