Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/gamesreleasedtoday #334

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

Open
Liad-n wants to merge 21 commits into PythonFreeCourse:develop
base: develop
Choose a base branch
Loading
from Liad-n:feature/gamesreleasedtoday

Conversation

Copy link
Contributor

@Liad-n Liad-n commented Feb 24, 2021

Added games released today functionality, currently enabled always, will be added to settings once done

Copy link
Member

@yammesicka yammesicka left a comment

Choose a reason for hiding this comment

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

Great job! I've added insights :)

Liad-n reacted with rocket emoji
Comment on lines 134 to 137
current_user_settings.update(games_setting_true)
session.commit()
else:
create_model(session, UserSettings, **games_setting_true_for_model)
Copy link
Member

@yammesicka yammesicka Feb 25, 2021

Choose a reason for hiding this comment

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

Maybe use merge?

Copy link
Contributor Author

@Liad-n Liad-n Feb 26, 2021
edited
Loading

Choose a reason for hiding this comment

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

So i did now but I can't really figure it out, it keeps creating new rows(I think it goes by primary key which is just an incremental id.
Didn't find a way to only update it without duplication other than update.
for now changed it back to update.

return response.text();
})
.then(function (body) {
document.querySelector("#content-div").innerHTML = body;
Copy link
Member

@yammesicka yammesicka Feb 26, 2021

Choose a reason for hiding this comment

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

innerText maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image
I'm not sure it would work here, wouldn't I be lacking formatting?

Copy link

codecov-io commented Feb 26, 2021
edited
Loading

Codecov Report

Merging #334 (7a0af20) into develop (2199bf9) will decrease coverage by 1.25%.
The diff coverage is 88.47%.

Impacted file tree graph

@@ Coverage Diff @@
## develop #334 +/- ##
===========================================
- Coverage 95.27% 94.02% -1.26% 
===========================================
 Files 80 93 +13 
 Lines 3664 4416 +752 
===========================================
+ Hits 3491 4152 +661 
- Misses 173 264 +91 
Impacted Files Coverage Δ
app/internal/on_this_day_events.py 90.62% <0.00%> (ø)
app/internal/user.py 0.00% <0.00%> (ø)
app/routers/audio.py 43.90% <ø> (ø)
app/routers/export.py 82.35% <ø> (ø)
app/dependencies.py 87.50% <60.00%> (-12.50%) ⬇️
app/internal/game_releases_utils.py 80.85% <80.85%> (ø)
app/internal/corona_stats.py 83.33% <83.33%> (ø)
app/routers/settings.py 83.33% <83.33%> (ø)
app/internal/features.py 84.37% <84.37%> (ø)
app/routers/game_release_dates_service.py 85.93% <85.93%> (ø)
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd99fc1...7a0af20. Read the comment docs.

@Liad-n Liad-n requested a review from yammesicka March 30, 2021 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@yammesicka yammesicka Awaiting requested review from yammesicka

1 more reviewer

@Gonzom Gonzom Gonzom left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /