From db7c2edb8672cb80ffe49280b6b1a01225969950 Mon Sep 17 00:00:00 2001 From: "Wendy(Pengyin) Shan" Date: Thu, 1 Aug 2024 12:27:30 -0500 Subject: [PATCH 1/3] #306: blocl IRA page modal to automatically open --- CHANGELOG.md | 5 +++++ src/pages/IRAPage.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7f2053..429f3aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [unreleased] + +### Fixed +- Block the EQIP IRA information modal from opening automatically when the page loads due to the size of the article's iframe. [#306](https://github.com/policy-design-lab/pdl-frontend/issues/306) + ## [1.0.2] - 2024-07-23 ### Fixed diff --git a/src/pages/IRAPage.tsx b/src/pages/IRAPage.tsx index 2371af0..b467091 100644 --- a/src/pages/IRAPage.tsx +++ b/src/pages/IRAPage.tsx @@ -64,7 +64,7 @@ export default function IRAPage(): JSX.Element { // Modal React.useEffect(() => { - setModalOpen(true); + //setModalOpen(true); // #306: Block the model to be auto-opened due to the size of iframe }, []); const handleOpen = () => { setModalOpen(true); From af640164013fa554b0f8961a0ded2ee197849635 Mon Sep 17 00:00:00 2001 From: "Wendy(Pengyin) Shan" Date: Thu, 1 Aug 2024 12:31:30 -0500 Subject: [PATCH 2/3] fix linting issue --- src/pages/IRAPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/IRAPage.tsx b/src/pages/IRAPage.tsx index b467091..79484f9 100644 --- a/src/pages/IRAPage.tsx +++ b/src/pages/IRAPage.tsx @@ -64,7 +64,7 @@ export default function IRAPage(): JSX.Element { // Modal React.useEffect(() => { - //setModalOpen(true); // #306: Block the model to be auto-opened due to the size of iframe + // setModalOpen(true); // #306: Block the model to be auto-opened due to the size of iframe }, []); const handleOpen = () => { setModalOpen(true); From 7c9198ab3af4084900312900058e10431e424ad0 Mon Sep 17 00:00:00 2001 From: "Wendy(Pengyin) Shan" Date: Thu, 1 Aug 2024 13:01:16 -0500 Subject: [PATCH 3/3] release 1.0.3 --- CHANGELOG.md | 3 ++- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 429f3aa..e2845b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [unreleased] +## [1.0.3] - 2024-08-01 ### Fixed - Block the EQIP IRA information modal from opening automatically when the page loads due to the size of the article's iframe. [#306](https://github.com/policy-design-lab/pdl-frontend/issues/306) @@ -268,6 +268,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Map data json [#12](https://github.com/policy-design-lab/pdl-frontend/issues/12) - Final landing page changes for initial milestone [#15](https://github.com/policy-design-lab/pdl-frontend/issues/15) +[1.0.3]: https://github.com/policy-design-lab/pdl-frontend/compare/1.0.2...1.0.3 [1.0.2]: https://github.com/policy-design-lab/pdl-frontend/compare/1.0.1...1.0.2 [1.0.1]: https://github.com/policy-design-lab/pdl-frontend/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/policy-design-lab/pdl-frontend/compare/0.20.0...1.0.0 diff --git a/package-lock.json b/package-lock.json index 93960c7..af5e5c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "policy-design-lab", - "version": "1.0.2", + "version": "1.0.3", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 4f95dae..8a65fb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "policy-design-lab", - "version": "1.0.2", + "version": "1.0.3", "description": "the front end of policy design lab", "repository": "https://github.com/policy-design-lab/pdl-frontend", "main": "src/app.tsx",