#20 Average temperature for year, and a cache #227
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
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