Skip to content
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

File cleanup/organization in controllers/concerns #27846

Merged
merged 8 commits into from
Nov 30, 2023

Conversation

mjankowski
Copy link
Contributor

I noticed a few of the controller concerns were only used in the API area, and was going to move them into an Api:: namespace. Once I started that I noticed a similar dynamic with some Settings:: and Auth:: and Admin:: concerns as well.

This is just a file/module move to stop concerns from becoming junk drawer; should not be behavior change.

There may be room for similar org/cleanup in the models concerns, since many of those are only used in one spot. Will do that next if we like this.

@renchap renchap added refactoring Improving code quality ruby Pull requests that update Ruby code labels Nov 14, 2023
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Contributor

This pull request has resolved merge conflicts and is ready for review.

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (67fd318) 82.67% compared to head (a59526c) 82.67%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #27846   +/-   ##
=======================================
  Coverage   82.67%   82.67%           
=======================================
  Files        1030     1030           
  Lines       28145    28145           
  Branches     4549     4549           
=======================================
  Hits        23270    23270           
  Misses       3788     3788           
  Partials     1087     1087           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ClearlyClaire ClearlyClaire added this pull request to the merge queue Nov 30, 2023
Merged via the queue into mastodon:main with commit 1f1c75b Nov 30, 2023
27 checks passed
@mjankowski mjankowski deleted the api-concerns branch November 30, 2023 15:02
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Dec 14, 2023
vmstan pushed a commit to vmstan/mastodon that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improving code quality ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants