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

Modify the way "Friends" are added #5261

Conversation

nertc
Copy link
Contributor

@nertc nertc commented Oct 15, 2024

This PR addresses "Modify the way 'Friends' are added" issue mentioned in #3310

This PR replaces all occurrences of "friends" to "followers", including texts, tests and URLs.

This PR was not broken down to smaller pieces to maintain consistency and avoid different names of the same functionality.

config/locales/en.yml Outdated Show resolved Hide resolved
config/routes.rb Outdated Show resolved Hide resolved
app/views/dashboards/show.html.erb Outdated Show resolved Hide resolved
config/locales/en.yml Outdated Show resolved Hide resolved
config/locales/en.yml Outdated Show resolved Hide resolved
config/locales/en.yml Outdated Show resolved Hide resolved
config/locales/en.yml Outdated Show resolved Hide resolved
config/locales/en.yml Outdated Show resolved Hide resolved
@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch from e1a1b87 to 8393857 Compare October 22, 2024 07:09
@nertc
Copy link
Contributor Author

nertc commented Oct 22, 2024

Thank you for the review. This PR was updated according to recommendations.

@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch from 8393857 to 02bede7 Compare November 14, 2024 07:37
Copy link

1 Warning
⚠️ Number of updated lines of code is too large to be in one PR. Perhaps it should be separated into two or more?

Generated by 🚫 Danger

@nertc
Copy link
Contributor Author

nertc commented Nov 14, 2024

PR was updated. Now friendship controller and model are refactored to be named as "follow" and also implement standard CRUD architecture using create and destroy. Old controllers, models, views and tests were removed, and new ones were added with the new names and architecture.

config/routes.rb Outdated Show resolved Hide resolved
@nertc nertc mentioned this pull request Dec 23, 2024
5 tasks
@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch from 02bede7 to 36fba94 Compare December 24, 2024 09:19
config/routes.rb Outdated Show resolved Hide resolved
app/models/follow.rb Outdated Show resolved Hide resolved
@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch 2 times, most recently from 5c9c7b8 to a153faf Compare January 10, 2025 13:07
config/locales/en.yml Outdated Show resolved Hide resolved
@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch from a153faf to 9fcfc1a Compare January 14, 2025 07:06
@nertc nertc force-pushed the issues_3310_modify_the_way_friends_are_added branch from 9fcfc1a to be11f20 Compare January 14, 2025 07:34
@AntonKhorev AntonKhorev merged commit 3eccf65 into openstreetmap:master Jan 17, 2025
22 checks passed
@AntonKhorev
Copy link
Collaborator

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants