-
Notifications
You must be signed in to change notification settings - Fork 72
Replaced organization github name and project repo fields with Project github url #286
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
base: master
Are you sure you want to change the base?
Conversation
|
@sai92messy this looks like a great simplification - thank you! 🎉 Could you please add a screenshot of how this has changed the Project Submission user interface? Thanks! |
|
@DBNess Great. Here is the screenshot showing the changes |
app/models/organization.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you please remove commented out code? Thanks!
|
@sai92messy - Thanks so much for this contribution! I love how simple and agile it is, even down to your front end changes. And you even remembered to update the tests! 💯 I've left some comments with changes I would love to see before we merge this into the code base. Let me know if you have any questions, because I'm really looking forward to merging! |
|
Related to #243. |
ef1004b to
1559ab6
Compare
app/models/organization.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [104/80]
Redundant self detected.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
1559ab6 to
52b1f19
Compare
app/models/organization.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless assignment to variable - github_org.
app/models/project.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless assignment to variable - github_repo.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
…t github url, Parse github url to get organization github name and project git repo
52b1f19 to
2e62bb8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [82/80]




Replaced organization github name and project repo fields with Project github url.
When user enters the Project github url the system parses the url and finds the respective Organization name and Project repo name.