Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release to production #569

Merged
merged 77 commits into from
May 14, 2024
Merged

Release to production #569

merged 77 commits into from
May 14, 2024

Conversation

elvbom and others added 30 commits March 20, 2024 14:47
Types need to be fixed.
* updated company data

* rm leading and trailing spaces

* Fix formatting for emission scopes that are not reported

---------

Co-authored-by: Samuel Plumppu <[email protected]>
* Fix React warning and document upcoming tasks

* WIP: expandable rows

* Make every row expandable by default

* Fix syntax error

* Clarify styling for expanded rows

* Show company name in collapsed view

* Improve styling for expanded rows

* Adapt for tablet

* Remove old code

* Prevent column widths from changing when expanding rows

* Remove trim

* Use translated string
Greenheart and others added 18 commits May 13, 2024 15:02
…to reduce client side JS and rely on server state + link prefetching instead.
… datasets. Remove response caching since that duplicates data and uses more RAM.
* Add missing key prop

* Remove copy from CompanyView to match latest suggestion

* Update table headers and add some strings to translations

* Improve table header font size for small screen sizes

* Improve size and spacing for table

* Use full-width table for all mobile sizes.

* Fix offset for sticky table header. Also hide background content above it.

* Improve compact layout for tables on smaller screens

* Improve table layout for small screens.

* More compact table header to save screen height on mobile

* Cover full width with table for all mobile devices

* Fix margin positioning for ToggleButton

* Update table footer copy

* Reference arrow svg as img instead of inlined SVG. This improves rendering performance.

* Update newsletter info

* Update about us text

* Move text about previous project

* Update sources and method

* Use plural key to prepare for i18n

* Fix tests for StartPage by splitting into two modules: CompanyView and RegionalView

* Cleanup tests

* Add privacy policy as separate page

* Add description of the method for company data
This reverts commit 3b83e9d, reversing
changes made to 274943e.
* Allow closing the main menu by pressing the Escape key

* Replace devices.mobile (which used max-width) with other breakpoints.

This makes sure all breakpoints are consistent and all media queries should be written with a mobile-first approach.

* Ensure hamburger menu has consistent size and positioning for all screen sizes

* Change breakpoint size to standard value, since it was only used in one place

* Ensure consistent height for the Header. Also improve vertical alignment for logo. Also make desktop navigation appear already for smaller laptop screens, to make give a better UX.
… of forcing ASCII (#564)

* Reduce size of company-data.json by 9% by encoding as UTF-8 instead of forcing ASCII. This aligns with how we output climate-data.json.

* Update to latest company data
…566)

* Improve styles for the newsletter form

* Allow overriding color of arrow icon

* Update copy for CompanyView table footer info

* Add smaller text for PrivacyInfo paragraph
@Greenheart Greenheart requested a review from elvbom May 14, 2024 08:34
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
klimatkollen ✅ Ready (Inspect) Visit Preview May 14, 2024 9:06am

@Greenheart Greenheart marked this pull request as draft May 14, 2024 08:57
@Greenheart Greenheart marked this pull request as ready for review May 14, 2024 09:07
Copy link
Collaborator

@elvbom elvbom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done everyone!

@elvbom elvbom merged commit 1d48d0e into main May 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants