Skip to content

Conversation

@codeclara42
Copy link

@codeclara42 codeclara42 commented Aug 7, 2025

What this PR do ?

This pull request aims to address the issues reported on #950

Related Issues

issue #950

Screenshots (if applicable)

image specs were also updated

Additional Notes (if any)

Firstly, I'm tackling the camelCase issue. Then I'll check if it's worth it to remove the hardcoded routes

project_users: project_users_path(self),
project_settings: edit_project_path(self),
project_join: join_project_path(self),
project_unjoin: "#{project_users_path(self)}/"
Copy link
Member

Choose a reason for hiding this comment

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

Why is project_unjoin using string interpolation here? I think the interpolation and trailing / could be added in ProjectCard.jsx, where the full path is built.

Copy link
Author

Choose a reason for hiding this comment

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

on this specific route it ended with "/" on the .spec file (the project presenter one)
not sure why

Copy link
Author

Choose a reason for hiding this comment

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

checking the original spec/presenters/project_presenter_spec.rb before changes, you can see this specific route is the only one with a "/" on the end, the other ones don't have that. I mantained the original route, keeping it with "/" on the end in all files (including .rb files)

@codeclara42 codeclara42 added ruby Pull requests that update Ruby code enhancement improve something to work / perform better labels Aug 13, 2025
@codeclara42 codeclara42 requested a review from HeitorMC August 14, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve something to work / perform better ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants