From 2a96f75f3cd5a836da82788fa00e4511feecfa86 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 17 Sep 2024 16:33:30 +0000 Subject: [PATCH 1/4] chore(release): set `package.json` to 1.0.0-dev.115 [skip ci] # [1.0.0-dev.115](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.114...v1.0.0-dev.115) (2024-09-17) ### Features * fixed revisions history scroll ([cfa4e47](https://github.com/powerhouse-inc/document-model-electron/commit/cfa4e473d10333ac876d4c45650fc09eaf1e9127)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6faf2336..dd3d94e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.0.0-dev.115](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.114...v1.0.0-dev.115) (2024-09-17) + + +### Features + +* fixed revisions history scroll ([cfa4e47](https://github.com/powerhouse-inc/document-model-electron/commit/cfa4e473d10333ac876d4c45650fc09eaf1e9127)) + # [1.0.0-dev.114](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.113...v1.0.0-dev.114) (2024-09-17) diff --git a/package.json b/package.json index d8fdcd13..01a39768 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@powerhousedao/connect", "productName": "Powerhouse-Connect", - "version": "1.0.0-dev.114", + "version": "1.0.0-dev.115", "description": "Powerhouse Connect", "main": ".vite/build/main.js", "license": "AGPL-3.0-only", From f643c42fd3e3fcd85124350bcc748a98e375ff40 Mon Sep 17 00:00:00 2001 From: ryanwolhuter Date: Wed, 18 Sep 2024 09:33:08 +0200 Subject: [PATCH 2/4] feat: update cookie policy link Signed-off-by: ryanwolhuter --- src/components/footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 821b44d5..2e835b3d 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -14,7 +14,7 @@ export const Footer = () => { - openUrl('https://expenses.makerdao.network/cookies-policy') + openUrl('https://fusion.sky.money/cookies-policy') } > From 08811699c774e8059b801cb13c87070d5e73ce85 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 18 Sep 2024 07:39:15 +0000 Subject: [PATCH 3/4] chore(release): set `package.json` to 1.0.0-dev.116 [skip ci] # [1.0.0-dev.116](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.115...v1.0.0-dev.116) (2024-09-18) ### Features * update cookie policy link ([f643c42](https://github.com/powerhouse-inc/document-model-electron/commit/f643c42fd3e3fcd85124350bcc748a98e375ff40)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd3d94e8..b54fa20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.0.0-dev.116](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.115...v1.0.0-dev.116) (2024-09-18) + + +### Features + +* update cookie policy link ([f643c42](https://github.com/powerhouse-inc/document-model-electron/commit/f643c42fd3e3fcd85124350bcc748a98e375ff40)) + # [1.0.0-dev.115](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.114...v1.0.0-dev.115) (2024-09-17) diff --git a/package.json b/package.json index 01a39768..0359203a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@powerhousedao/connect", "productName": "Powerhouse-Connect", - "version": "1.0.0-dev.115", + "version": "1.0.0-dev.116", "description": "Powerhouse Connect", "main": ".vite/build/main.js", "license": "AGPL-3.0-only", From 21a7b268be2554460ccd56a55aed77304a580d9d Mon Sep 17 00:00:00 2001 From: acaldas Date: Wed, 18 Sep 2024 10:41:48 +0100 Subject: [PATCH 4/4] feat: show cookie banner on cookie --- src/components/cookie-banner.tsx | 1 - src/components/footer.tsx | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/cookie-banner.tsx b/src/components/cookie-banner.tsx index a00fd41a..2deabce2 100644 --- a/src/components/cookie-banner.tsx +++ b/src/components/cookie-banner.tsx @@ -28,7 +28,6 @@ export const CookieBanner = () => { ]; const handleAccept = (cookies: CookieInput[]) => { - console.log(cookies); setShowBanner(false); if (isCookieAccepted(cookies, 'analytics-cookie')) { diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 2e835b3d..4dacf6b6 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -4,18 +4,20 @@ import { Icon, } from '@powerhousedao/design-system'; import { Trans } from 'react-i18next'; +import { useCookieBanner } from 'src/hooks/useCookieBanner'; import { openUrl } from 'src/utils/openUrl'; import { useModal } from './modal'; export const Footer = () => { const { showModal } = useModal(); + const [, setShowCookieBanner] = useCookieBanner(); return ( - openUrl('https://fusion.sky.money/cookies-policy') - } + onClick={() => { + setShowCookieBanner(true); + }} >