-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Fix edit info on grant page #4793
Fix edit info on grant page #4793
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4793 +/- ##
=========================================
- Coverage 30.63% 30.6% -0.04%
=========================================
Files 216 216
Lines 17488 17489 +1
Branches 2385 2386 +1
=========================================
- Hits 5358 5352 -6
- Misses 11915 11922 +7
Partials 215 215
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #4793 +/- ##
==========================================
- Coverage 30.41% 30.41% -0.01%
==========================================
Files 216 216
Lines 17247 17248 +1
Branches 2340 2341 +1
==========================================
Hits 5246 5246
- Misses 11793 11794 +1
Partials 208 208
Continue to review full report at Codecov.
|
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.
Could you add a recording of the fix + update the GitHub description so other folks know exactly what is done before they check out the code ?
Code looks alright ! Will pull it in and check it out locally ^_^
I've added a better description of the issue and a gif recording of the fix. |
Thanks for accepting my PR @thelostone-mc ! |
@PierrickGT Ah i guess that's alright for now! we are yet to wire in a testing library for frontend |
@thelostone-mc ok thanks! Waiting for my work to be approved on Gitcoin before sending this PR and then merging it. |
@PierrickGT you should be able to apply for work on it ^_^ |
@PierrickGT looks like we have CI failures :| could you resolve that ? |
I've fixed it, there was a formatting error introduced by merging master. |
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.
Hey @PierrickGT - looks like there were a lot of unrelated style changes in your PR here, can you revert those so its easier to review? Generally we keep the changes limited to the scope of the issue. Thanks!
8fa9e6b
to
162ee56
Compare
I've fixed it, except for some indentations that were not right: 162ee56 |
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.
@PierrickGT we've got precommit hooks which run eslint + stylelint.
It's documented in our Contributing.md file
Did you check that out ?
Oh I didn't know about it. I've set it up so we'll see how it works out for the future commits. |
app/assets/v2/js/grants/detail.js
Outdated
error: function() { | ||
_alert({ message: gettext('Changing the contract owner address failed to save. Please try again.') }, 'error'); | ||
} | ||
}); |
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.
@PierrickGT could you undo the linting you've done here ?
It makes it confusing for reviewers to see what exactly your changes are
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.
I've fixed it: 3a57279
This reverts commit 90bb0ff.
Hey @PierrickGT - I just tested this before our production deploy and its broken - the quill library is not loading correctly when I view a grant somebody else created - see screenshot: please fix and resubmit |
My bad, I'm gonna take a look at it and fix it. |
I've reopened a PR where I've fixed the condition to initialize Quill in the file |
@PierrickGT is that PR with this PR changes also? because we had reverted this merge since was failing in our deploy tests. |
Yes, it's the same PR but with the fix. |
Description
As a grant owner, I wish to be able to edit infos of my grant.
This PR fix a bug who made it impossible to edit infos of a grant if you where not doing it from the first tab, it was due to the Quill editor not being conditioned to be loaded only on the first tab.
Screencast
Here is a recording of the fix
Refers/Fixes
Bounty: https://gitcoin.co/issue/gitcoinco/web/4786/3227
Issue: #4786