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

Add project submission #7704

Merged
merged 3 commits into from
Oct 19, 2020
Merged

Add project submission #7704

merged 3 commits into from
Oct 19, 2020

Conversation

octavioamu
Copy link
Contributor

@octavioamu octavioamu commented Oct 19, 2020

Description

if start work project post failed the user will not able to submit work
Gives the user the ability to create a project on submission if there is not projects.
working hours not decimals

image

Refers/Fixes

fix #7695

Testing

@octavioamu octavioamu changed the base branch from master to stable October 19, 2020 16:15
@@ -29,8 +29,12 @@ const submitProject = (logo, data, callback) => {
if (callback) {
callback(response);
}
if (document.location.pathname.includes('fulfill')) {
document.location.reload();
Copy link
Member

Choose a reason for hiding this comment

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

why do we reload ? i didn't get this 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

is not the most elegant way I know but the form need the project pk and that hackathon projects is used in many places, so in some point we can just add that to the data form, but that will need a lot of changes on the form approach, and as we are planning to move that form to vue doesn't make sense to invest a lot of time. fair?

Copy link
Contributor

@amustapha amustapha left a comment

Choose a reason for hiding this comment

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

I'm curious

app/assets/v2/js/hackathon-projects.js Show resolved Hide resolved
app/dashboard/templates/bounty/fulfill.html Outdated Show resolved Hide resolved
@octavioamu octavioamu merged commit 5048427 into stable Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subit work error for non integer hours worked. ".5"
4 participants