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/cursor #307

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
subscorp wants to merge 38 commits into PythonFreeCourse:develop
base: develop
Choose a base branch
Loading
from subscorp:feature/cursor
Open

Conversation

@subscorp
Copy link

@subscorp subscorp commented Feb 16, 2021

No description provided.

Copy link

codecov-io commented Feb 17, 2021
edited
Loading

Codecov Report

Merging #307 (b01c459) into develop (8d83f8b) will increase coverage by 0.25%.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@
## develop #307 +/- ##
===========================================
+ Coverage 94.39% 94.65% +0.25% 
===========================================
 Files 89 87 -2 
 Lines 4156 4038 -118 
===========================================
- Hits 3923 3822 -101 
+ Misses 233 216 -17 
Impacted Files Coverage Δ
app/main.py 95.23% <ø> (-0.60%) ⬇️
app/dependencies.py 87.87% <100.00%> (+0.37%) ⬆️
app/internal/cursor.py 100.00% <100.00%> (ø)
app/routers/cursor.py 100.00% <100.00%> (ø)
app/internal/event.py 95.71% <0.00%> (-0.92%) ⬇️
app/database/models.py 97.18% <0.00%> (-0.19%) ⬇️
app/routers/google_connect.py 100.00% <0.00%> (ø)
app/internal/features_index.py
app/resources/countries.py
... and 6 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 8d83f8b...0fdce31. Read the comment docs.

Comment on lines +13 to +15
router = APIRouter(
prefix="/cursor",
tags=["cursor"],
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we need a route for every setting option. This should probably be routers.setting.py and the calls should be:

  • @router.get("/settings/cursor")
  • @router.post("/settings/cursor")
  • @router.get("/{user_id}/cursor")

Copy link
Author

Choose a reason for hiding this comment

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

Did you mean that there shouldn't be a [setting_type].py file for each setting type?
So if I have Audio Settings and Cursor Settings, both of them should be in routers.setting.py, but the @router functions should stay the same, only in this new file instead of the old one?
Thanks for your feedback!

Copy link
Member

@yammesicka yammesicka left a comment
edited
Loading

Choose a reason for hiding this comment

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

Great job! Please have a look at my insights :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yammesicka yammesicka yammesicka requested changes

+3 more reviewers

@ivarshav ivarshav ivarshav left review comments

@Gonzom Gonzom Gonzom left review comments

@PureDreamer PureDreamer PureDreamer 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 によって変換されたページ (->オリジナル) /