#20 Average temperature for year, and a cache #227
Closed
b24hugst
wants to merge 14 commits from
#20-aggregated-data-for-tempservice into team_1_week_1
pull from: #20-aggregated-data-for-tempservice
merge into: Andras:team_1_week_1
Andras:main
Andras:909-Save-PDFs
Andras:#1073-remove-bottom-border
Andras:team_2_week_7
Andras:1052-UnixRebuild.sh-run-in-paralell
Andras:#1021-Missing-icons-in-add-new-cards-menu
Andras:team_1_week_7
Andras:#964-Implement-Meue-Service
Andras:1044-&-987-Create-script-expansion
Andras:write-in-wiki-about-the-playwrite-#1043
Andras:#1069-search-for-swedish-cards
Andras:1032-Better-and-X-for-the-cards
Andras:991-frontend-sign-up
Andras:#1033-fix-button-translate-view
Andras:#1030-landscape-view-bug
Andras:#1055-Add-Todolists/Translation-Tooltip-in-correct-file
Andras:1061-Rebuild-script-improvements
Andras:#1045-fix-shmi-temp-view
Andras:1064-todo-checkbox-enable-all-time
Andras:#1001-cleanup-middleware
Andras:1012-update-the-boundlessflowCampus2k-readme
Andras:765-fix-visible-rows-edit-mode
Andras:#1047-fonts-uniform-in-views
Andras:vasttrafik-clean
Andras:#934-solar-panel-mockup-v2
Andras:#900-logger-middleware-new
Andras:#1046-Fix-broken-localization-in-settings
Andras:#1039-dependencies-with-mid-vulnerabilities
Andras:#900-logger-for-middleware
Andras:#989
Andras:1008-localization-on-views-part-1
Andras:715_Create_tests_roomBooking
Andras:temp_branch_week_7
Andras:#1027-move-footer-down
Andras:1037-missing-login-functionality
Andras:1023-The-clock-pulsates-after-each-second
Andras:#1015-button-visibility
Andras:1029-fix-preview
Andras:#1027-fix-footer-bug
Andras:#961-new-card-design
Andras:fix-manage-toolbar-button
Andras:team_2_week_6
Andras:team_1_week_6
Andras:541-implement-vasttrafik-card
Andras:1006-update-css-in-frontend-pages
Andras:748_change_creation_endpoint_roomBooking
Andras:#977-Translator-API
Andras:#845-new-energy-endpoints
Andras:#937-Personal-to-do-list
Andras:#935-clock-view-expansion
Andras:991-login-and-signup
Andras:635-Sub-compose-files-re-branch
Andras:988-different-passwords-for-databases
Andras:#920-change-password
Andras:#934-solar-panel-mockup
Andras:946-Implement-the-new-settings-page-design
Andras:#967-implement-new-main-design
Andras:945-change-position-empty-card
Andras:#996-dependencies-with-high-vulnerabilities
Andras:1000_Fix-pg_cron-sql-setup-for-postgres-image
Andras:955-fix-mapview-responsiveness
Andras:982-enhance-toggle-toolbar
Andras:#861-localization-change-all-printed-text-Part-2
Andras:938-fix-view-button-mobile
Andras:#924-implement-new-add-card-menu
Andras:Add---remove-orphans-to-the-rebuild-script-#983
Andras:UnixRebuildDebug.sh
Andras:835-loginService-JWT-v2
Andras:962-new-button-temperatureView-sensors
Andras:#893-Create-test-in-frontend-for-responsiveness
Andras:933-water-sensor-mockup
Andras:#305-fileService
Andras:#949-fix-cards-in-alphabetical-order
Andras:#954-mobile-card-stack-bug
Andras:894-tempservice-class-diagram
Andras:934-solar-panel-mockup
Andras:Temp-Main-Week-5
Andras:915-Windows-deployment-script
Andras:835-loginService-JWT
Andras:#908-new-logo
Andras:#952-Center-Temperature-graph
Andras:team_2_week_5
Andras:#658-Options-dependenacy
Andras:team_1_week_5
Andras:873-implement-logger-for-tempservice
Andras:#921-login-logout-in-settings
Andras:#786-parkingApiMockup-unit-tests-are-broken
Andras:919-dark-mode-settings
Andras:#442-temp-month-and-year-styling
Andras:issue-836-add-card-placeholders
Andras:905-enhance-color-themes-settings
Andras:#922-Implement-a-fucntion-to-delete-a-account-
Andras:707-update-css-files-frontend-features
Andras:Remove-sudo-from-MD-installation-#877
Andras:#920-possibility-to-change-password
Andras:#47-Testing-SMHI
Andras:#885-new-login-page
Andras:#861-Localization-change-all-printed-text
Andras:#899-Implement-logger-for-energyService
Andras:#859-Create-Smooth-Transition-For-Dashboard
Andras:889-turn-off-season-themes
Andras:879-season-themes-functinality
Andras:737-Parking-restructure-re-branch
Andras:#876-logger-loginService
Andras:Enhance-logging-deploy-#838
Andras:#724-restructuring-of-roombooking-service-code
Andras:853-change-hamburger-menu-to-buttons
Andras:#752-implement-automatically-cards-update
Andras:866-views-get-scrollbars-eaven-when-they-fit
Andras:727-calculate-average-temperature-and-store-the-result
Andras:847-enhance-settings
Andras:803-update-css-files-frontend-components
Andras:798-add-card-horizontal-fix
Andras:731-Service-creation-script
Andras:837-temperature-error-messages-team1
Andras:662-solution-file-is-not-up-to-date
Andras:603-sort-cards-alphabetically
Andras:741-improve-text-view-card
Andras:#797-Restructuring-energy-service
Andras:840-move-logo-navbar
Andras:807-fix-button-layout
Andras:833-change-temperature-error-messages
Andras:#429-select-year-temperature
Andras:772-fix-localization-context
Andras:#799-Fix-mobile-preview-header
Andras:color-tech-test
Andras:#659-grid-cell-dimensions
Andras:#789-Socials-Page
Andras:Change-title-Description-#815
Andras:779-fix-scaling-map-view
Andras:Old-Navbar-On-Refresh-#770
Andras:#804-fix-preview-size
Andras:#778-default-card-sizes
Andras:800-enhance-toolbar-phone
Andras:#768-404-error-in-temp-sensor
Andras:#787-tempSesnorMockupTests-outdated-unit-tests
Andras:766-fix-preview-for-clock-view
Andras:788-footer-links-fix
Andras:776-hide-toolbar-button
Andras:643-Create-titles-for-all-cards
Andras:749-create-job-api
Andras:#762-refactor-the-function-GetLayoutNameAndID(int-userID)
Andras:#607-auto-view-registry
Andras:780-add-card-descriptions
Andras:767-error-add-no-card-selected
Andras:741-textview-card-improvements
Andras:fixes/solution-room-booking
Andras:#769-add-energy-view
Andras:temp_branch_week_5
Andras:team_2_week_4
Andras:#654-flashes-on-refresh
Andras:team_1_week_4
Andras:#691-move-ITempService-to-a-separate-file
Andras:#733-smhi-forecast-design
Andras:#709-unit-tests-for-layoutService
Andras:#730-energy-view
Andras:745-text-footer-fix
Andras:Deployment-script-#701
Andras:743-fix-position-logo-phone
Andras:722-fix-year-month-api-connection
Andras:#723-clcok-view
Andras:708-hamburger-position
Andras:#690-Implement-password-hashing
Andras:#703-missing-required-packages-in-install-scripts
Andras:#732-footer-centered
Andras:729-textview-cant-make-new-rows
Andras:#541-Västtrafik-card
Andras:#697-remove-mqtt-from-roombooking
Andras:#702-auto-update-temperature
Andras:693-fix-temperature-graph-preview-centering
Andras:649-Footer-not-moving-with-grid
Andras:673-fix-respond-remove-phone
Andras:feature/501-implement-loginservice-api
Andras:#620-update-prettier-config
Andras:#664-Logo-change-depending-on-device
Andras:663-responsive-add-card-modal
Andras:#672-centering-spans
Andras:#661-remove-header-zoomed-in-phone
Andras:week_4_temp_branch
Andras:667-fix-resize-textview
Andras:657-Code-cleanup-after-merge
Andras:#659-Grid-cells-should-have-the-same-dimensions-when-zooming-in/out
Andras:#628-Fix-team-2-tmp-service-V4
Andras:API-Calls-gets-resent-alot
Andras:#652-fix-scrollbars-on-cards
Andras:602-new-file-structure
Andras:#640-hamburger-bug
Andras:temp-branch-week-3
Andras:#628-Fix-team-2-tmp-service-V2
Andras:#477-Update-Electricity-Data
Andras:team_2_week_3
Andras:team_1_week_3
Andras:#459-TempratureGraph-Fix-and-APIhook
Andras:625-increase-size-URL-schedule
Andras:#628-Fix-team-2-tmp-service
Andras:#369-implement-hamburger-menu
Andras:#585-Implement-Mobile-toolbar
Andras:feature/expand-parking-#254
Andras:570-Add-weather-symbols
Andras:#630-add-max-sizes-view-config
Andras:#608-fix-tempreture-graph
Andras:544-fix-tooltip-styling
Andras:#610-reset-modal-background-not-displaying
Andras:539-add-card-modal
Andras:#578-Implement-navbar-to-be-responsive
Andras:616-fix-tooltip
Andras:#617-values-for-month-week-year
Andras:613-fix-logo-chrome-edge
Andras:#573-add-enough-grid-rows
Andras:#605-new-custom-button
Andras:#377-Implement-Sudoku-View
Andras:567-installation-script-missing-dotnet-dependency
Andras:#351-roombooking-functionality-and-restructuring
Andras:#552-Settings-Skeleton-page
Andras:551-add-new-logo
Andras:#484-weekly-aggregated-temperature
Andras:#507-breakout-danger-modal
Andras:AddNewView-Faulty-Parameter-564
Andras:#547-fix-schedule-card-resize
Andras:531-break-out-new-card-functionality
Andras:533-config-tooltip
Andras:525-fix-booking-card
Andras:#538-Footer-scale-bug
Andras:516-grid-background-update
Andras:527-stay-edit-mode-refresh
Andras:506-mode-and-style-bug
Andras:513-cards-button-panel
Andras:521-footer-is-too-far-up
Andras:483-temperature-latest-return-error
Andras:#377-sudoko-view
Andras:#500-fix-card-enlargement
Andras:fixes/parking-service-#478
Andras:forecastview-weather-fix
Andras:#499-Missing-unit-tests-for-tempService
Andras:#508-break-out-toggle-from-dashboard-with-css
Andras:#380-new-cards-with-doNotCompact-grid-setting
Andras:Remove-dropshadow-arrows-#510
Andras:#497-reset-layout-btn-in-edit-mode
Andras:Fix-empsensorMockup-WorkWhithMiddleware
Andras:#494-fix-map-view-scaling
Andras:#493-Optimize-build-script
Andras:492-standards-card-errors
Andras:team_2_week_2
Andras:team_1_week_2
Andras:#376-SMHI-forecast-view-design
Andras:#19-dynamic-table-database
Andras:469-bigger-resize-closing-buttons
Andras:#126-ElectricityDataMockup
Andras:#406-tempSensorMockup-fix
Andras:#452-Grid-background-does-not-expand-with-grid
Andras:#458-Cleanup-exports
Andras:#464-Saving-card-content
Andras:#335-empty-card
Andras:428-text-card-to-notes
Andras:#311-fix-outlines-when-moving-cards
Andras:263-show-grid-when-in-grid-mode
Andras:424-create-seperate-css-files-for-components
Andras:Change-tab-icon-to-new-logo-#446
Andras:feature/room-booking-#43
Andras:modalCard
Andras:#339-Big-card-for-all-temperature-sensors
Andras:#386-Xunit-tests-for-for-parkingApiMockup-roomBookingMockup
Andras:hotfix/parking-api-dependecy-issue-build-#378
Andras:#279-Grid-layout-breakout
Andras:392-edit-language-standards-all-files
Andras:#369-Implement-hamburger-menu-in-the-navbar-
Andras:#289-fix-interactivity-with-cards
Andras:#399-tempSensorMockupTest-stopped-working-after-weekly-merge
Andras:#341-add-cards-to-error-views
Andras:374-card-scales-when-moved-bug
Andras:#375-Change-background
Andras:#345-update-logo-homepage
Andras:#319-Add-test-directories-to-all-C#-dirs
Andras:Fix-tempSensor-fel-HTTP500
Andras:TEMP-Testing-script
Andras:#315-build-script-fix-team-2
Andras:#312-fix-btn-css-team-2-fix
Andras:#313-404-routing-fix-team-2
Andras:temp-week-2-merge-branch
Andras:team_2_week_1
Andras:feature/#127-parking-api-databas-connection
Andras:team_1_week_1
Andras:#295-fixed-bugs-on-cards
Andras:#266-make-a-footer
Andras:#219-&-#208-Build-script-optimization
Andras:#20-aggregated-temp-for-month-year
Andras:#228-parking-frontend
Andras:199-research-grid-opening-closing-cards
Andras:#221-User-tables-for-future-database
Andras:#161-Integrate-Jest-testing-framework-to-project
Andras:fixes-issues-132
Andras:#107-Create-front-end-component-for-dynamically-changing-graph
Andras:#173-Save-User-Settings
Andras:#202-local-server-solution
No reviewers
Labels
Clear labels
Only use this label for critical tasks that are project-scope,and must be addressed ASAP.
Something is not working
Issues to cleanup the codebase (restructure folders, remove deprecated or smelly code)
Issue to close
This issue or pull request already exists
New feature
Need some help
Something is wrong
Issue needs input from product owner or customer
issue is in need of review
More information is needed
This Issue has been reviewed
use this for security-related issues
Team 1 is responsible for this issue
Team 2 is responsible for this issue
Reserved for top-level, project-wide issues.
This won't be fixed
_CRITICAL_
Only use this label for critical tasks that are project-scope,and must be addressed ASAP.
API
app
backEnd
Blocked-waiting-for-further-changes
bug
Something is not working
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
Issues to cleanup the codebase (restructure folders, remove deprecated or smelly code)
close
Issue to close
design
duplicate
This issue or pull request already exists
enhancement
New feature
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
Need some help
invalid
Something is wrong
last-week-issue-to-fix
library
low-priority
needs input
Issue needs input from product owner or customer
needs review
issue is in need of review
not-implemented.
project documentation
question
More information is needed
research
reviewed
This Issue has been reviewed
Script
security
use this for security-related issues
SQL
style
Team 1
Team 1 is responsible for this issue
Team 2
Team 2 is responsible for this issue
team leaders
test-creation
testing
topLevel
Reserved for top-level, project-wide issues.
unassigned
Under-review
wontfix
This won't be fixed
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#20-aggregated-data-for-tempservice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new card showing the average temperature from that specific year.
Works together with a cache that updates every 10 minutes to increase performance.
Cache seems to work as I checked the logs during execution and it first prints that it looks for database
, and then on the second request, it prints that it requested from cache instead.
This was a part of the #20 issue.
New sub-issues for adding /year/month and /year/week are needed.
Maybe also an issue for fixing the frontend output, because right now I have just statically set it to always show 2026, and it also shows on any URL and not only on /temperature/2026
Code looks good and is well commented and structure. There is a minor merge conflict with the App.js mostly due to it being used to test displaying information meaning it no longer matches the changes currently made in the group branch.
You can fix this merge conflict by merging the group branch into your working branch then selecting to use the group branches version of the app.js file when fixing conflicts. If your unsure about or nervous about this process tell me and i can fix it tomorrow. When this is fixed its ready to be merged into the group branch
@a24hirsa Ah ok yeah I'll do that. Thanks for the guide.
Is this derived from an issue? we're a little confused where this came from. Usually the issue number is added to the title of the branch.
Average temperature for year, and a cacheto #20 Average temperature for year, and a cache@b24johka wrote in #227 (comment):
I updated the title now. I did however write that it's from the #20 issue but it was a little hidden.
This was only a sub-part of the #20 issue, I'm working on the rest of it right now but thought this could get pulled in the meantime. Although I'll update this as well to meet the new home.js requirements.
Actually. Could you close this pull request all together so I can create a new one? Because I have a new branch with the new structure of home.js and that, which I don't want to have to change again on this branch. And I also have implemented so /year/month works as well.
Pull request closed