-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated test of smhi data focusing on the right columns being in the datafile (#580) * add all numeric columns to historical emissions (#573) * delete old data output files and remove consumption data to excel (#575) * Feat/make emission calculations tests non-dependent on last year with SMHI data (#586) * update last year w smhi data and cement deduction values for 2022 * update smhi test files * make tests work regardless of last year with smhi data * change from year 2022 to 2021 (to be introduced in later pr) * add 2022 to smhi test * Feature/improved table ux (#567) * 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. * Improve spacing for the RegionalView * WIP: Make the CompanyView use the page scroll * Fix CompanyView table header positioning * Use full page scroll for RegionalView table * Update copy to match new version * Alternative 1 for CompanyView table * Alternative 2 for CompanyView table * Add sticky footer for RegionalView too * Fix map height for RegionalView * Remove unused calc() * Attempt to simplify CSS calculations to hopefully fix iOS positioning problems * Simplify copy to save space * WIP: experiment with IntersectionObserver to work around position sticky not working for `thead` elements in Safari * Override tough-cookie dependency to remove Node.js deprecation warning in Node >= 21 * Mock IntersectionObserver to fix tests for CompanyView and RegionalView * Try if inset-block-start works better for sticky thead * FINALLY! Fixex position sticky in Safari 17. This already worked in older versions of Safari and all other browsers, but for some reason Safari 17 seems to have a buggy implementation. * Cleanup WIP code and comments * Cleanup tests and import * Add webkit prefix for increased backwards compatibility * Fixes #463 (#579) * removed the unneeded Borna font assets(#463) * Keep Borna font files used for the site, and remove other files * Remove unintended changes --------- Co-authored-by: Narges <nasadnajafi@righthub.com> Co-authored-by: Samuel Plumppu <6125097+Greenheart@users.noreply.github.com> * fix words written twice (#595) * fix words written twice * Update source data file too --------- Co-authored-by: Samuel Plumppu <6125097+Greenheart@users.noreply.github.com> * show map view first (#597) * Social links update (#578) * Social links update Added links with corresponding icons to Klimatkollen's profile on Facebook and Instagram. * Discord logo Fixed dimensions * Update FooterSocialLinks.tsx * Added only Instagram icon and link * Update company data (#601) * Add an issue template for better issues. (#598) Add an issue template for better issues. * Fix test after changing the default view for RegionalView (#602) * Fix: #528 Make map legend floating and add background color. (#532) * experiment with map labels * feat: floating titlecontainer with background * fix: hide map pegend when in list view * chore: formatting * Update styles * Allow scrolling even when the MapLabels are on top to improve navigation on mobile This sometimes makes the map labels show beneath, but overall this is an UX improvement for mobile users which makes it worth it. --------- Co-authored-by: Samuel Plumppu <6125097+Greenheart@users.noreply.github.com> * reverse climate data to earlier version (#604) * Increase table footer font size on larger screens (#605) * Render ToggleButton with styled-components-wrapper to fix tests (#606) --------- Co-authored-by: Mathias Bergqvist <mthbqv@gmail.com> Co-authored-by: Elvira <elvbom@users.noreply.github.com> Co-authored-by: N-Asadnajafi <51734450+N-Asadnajafi@users.noreply.github.com> Co-authored-by: Narges <nasadnajafi@righthub.com> Co-authored-by: Larissa Lang <126619240+lalarus@users.noreply.github.com> Co-authored-by: Lasse2500 <70321631+Lasse2500@users.noreply.github.com> Co-authored-by: Ludvig Janiuk <ludvig.janiuk@gmail.com> Co-authored-by: SimonAM <simonarnemattsson@gmail.com>
- Loading branch information
1 parent
6455afe
commit 985046b
Showing
83 changed files
with
532 additions
and
8,206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Bug report | ||
about: Report an bug on klimatkollen.se | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what you think is wrong with the side, the data, or anything related. | ||
|
||
**To Reproduce** | ||
How can someone else observe the problem? Give concrete steps, e.g.: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Enhancement | ||
about: An improvement to be made to Klimatkollen | ||
title: Short summary | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Description** | ||
What would you like to be done? | ||
|
||
**Motivation** | ||
What goals for klimatkollen would this help achieve? | ||
|
||
**Definition of Done** | ||
Clarify how one can tell that the issue is completed. What behavior is in place / how does the code or data look like? | ||
|
||
**When should it be done?** | ||
Is it urgent? Any relevant dates to refer to? Does other work depend on it? | ||
|
||
**Contact person** | ||
Who can answer questions about the implementation? | ||
|
||
In addition to the Definition of Done, the following always apply: | ||
- Tests, building, and linting passes | ||
- No new warnings are introduced | ||
- User experience is not reduced | ||
- Code is well formatted and readable | ||
See doc/contributing.md. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.