Skip to content

Commit

Permalink
Merge pull request #342 from policy-design-lab/release-1.4.0
Browse files Browse the repository at this point in the history
Release 1.4.0
  • Loading branch information
pengyin-shan authored Nov 26, 2024
2 parents 32203e4 + 7aca004 commit 93d23b8
Show file tree
Hide file tree
Showing 21 changed files with 1,807 additions and 1,146 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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).

## [1.4.0] - 2024-11-26

### Added
- Add selector to the EQIP and CSO total page for users to select the program and get the total amount of the selected programs in both the map and the table [#329](https://github.com/policy-design-lab/pdl-frontend/issues/329)
- Add table column pagination to the EQIP and CSO total page to allow users to navigate through the table columns [#331](https://github.com/policy-design-lab/pdl-frontend/issues/331)

## [1.3.0] - 2024-11-04

### Changed
Expand Down Expand Up @@ -304,6 +310,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.4.0]: https://github.com/policy-design-lab/pdl-frontend/compare/1.3.0...1.4.0
[1.3.0]: https://github.com/policy-design-lab/pdl-frontend/compare/1.2.0...1.3.0
[1.2.0]: https://github.com/policy-design-lab/pdl-frontend/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/policy-design-lab/pdl-frontend/compare/1.0.5...1.1.0
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "policy-design-lab",
"version": "1.3.0",
"version": "1.4.0",
"description": "the front end of policy design lab",
"repository": "https://github.com/policy-design-lab/pdl-frontend",
"main": "src/app.tsx",
Expand Down
1 change: 1 addition & 0 deletions src/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default function NavBar({
<AppBar
variant="outlined"
component="nav"
elevation={0}
sx={{ position: "relative", border: "1px solid transparent" }}
>
<Toolbar>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SemiDonutChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function SemiDonutChart({ data, label1, label2 }: any): JSX.Eleme
/>
<Label value={label2} position="center" dy={-15} />
{data.map((entry) => (
<Cell key={entry.id} fill={entry.color} />
<Cell key={entry.color} fill={entry.color} />
))}
</Pie>
<Pie
Expand All @@ -90,7 +90,7 @@ export default function SemiDonutChart({ data, label1, label2 }: any): JSX.Eleme
label={renderCustomizedLabel2}
>
{data.map((entry) => (
<Cell key={entry.id} fillOpacity={0} />
<Cell key={entry.color} fillOpacity={0} />
))}
</Pie>
<Tooltip
Expand Down
235 changes: 0 additions & 235 deletions src/components/csp/CSPTotalMap.tsx

This file was deleted.

Loading

0 comments on commit 93d23b8

Please sign in to comment.