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

grant/detail : rebirth #4366

Merged
merged 10 commits into from
May 8, 2019
Merged

Conversation

thelostone-mc
Copy link
Member

@thelostone-mc thelostone-mc commented May 6, 2019

Description
  • updated page as per new design
  • split detail into detail/info + detail/updates
  • updated button styling to ensure uniformity
  • refactor + remove deadcode

NOTES: donation bars will be built out in a follow-up PR

Refers/Fixes
Testing
  • Grant Creation
  • Update Grant Details
  • Fund Grant
  • Cancel Grant Subscription

DEMO: https://embed.vidyard.com/share/cLrED9vprW2CqFCMa9RaDi?

@thelostone-mc thelostone-mc added the Gitcoin Grants Gitcoin Grants label May 6, 2019
@thelostone-mc thelostone-mc requested a review from a team May 6, 2019 17:35
@thelostone-mc thelostone-mc self-assigned this May 6, 2019
- updated page as per new design
- split detail into detail/info + detail/updates
- updated button styling to ensure uniformity
- refactor + remove deadcode
@thelostone-mc thelostone-mc requested a review from frankchen07 May 6, 2019 17:54
{% else %}

<a href="{% url 'grants:fund' grant.id grant.slug %}">
<button class="btn btn-gc-blue button--full no-shadow font-weight-bold py-3">{% trans "Fund this Grant" %}</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we can just use .btn-lg class will increase the radius , font size, line-height and padding

Copy link
Member Author

@thelostone-mc thelostone-mc May 7, 2019

Choose a reason for hiding this comment

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

Hmm that would involve we updating the .btn-lg css cause out of the box it looks a lil meh

original (matches design)

Screenshot 2019-05-07 at 12 42 12 PM

using btn-lg

.
Screenshot 2019-05-07 at 12 41 48 PM

Copy link
Contributor

Choose a reason for hiding this comment

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

What Im doing is just using what we have unless is a component update, then I update the component.

@codecov
Copy link

codecov bot commented May 7, 2019

Codecov Report

Merging #4366 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4366   +/-   ##
=======================================
  Coverage   30.19%   30.19%           
=======================================
  Files         209      209           
  Lines       16790    16790           
  Branches     2249     2249           
=======================================
  Hits         5070     5070           
  Misses      11527    11527           
  Partials      193      193
Impacted Files Coverage Δ
app/grants/views.py 14.71% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a21815...9f56a53. Read the comment docs.

@codecov
Copy link

codecov bot commented May 7, 2019

Codecov Report

Merging #4366 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4366      +/-   ##
==========================================
- Coverage   30.19%   30.16%   -0.04%     
==========================================
  Files         209      209              
  Lines       16790    16790              
  Branches     2249     2249              
==========================================
- Hits         5070     5064       -6     
- Misses      11527    11533       +6     
  Partials      193      193
Impacted Files Coverage Δ
app/grants/views.py 14.71% <ø> (ø) ⬆️
app/dashboard/embed.py 28.16% <0%> (-3.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9c001c...f150943. Read the comment docs.

danlipert
danlipert previously approved these changes May 8, 2019
position: relative;
}

#CLR_banner .clr-text {
Copy link
Contributor

Choose a reason for hiding this comment

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

d-inline-block

Copy link
Member Author

Choose a reason for hiding this comment

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

Can't do this cause it has diff behavior on a diff screen 😅

}

.summary-container {
background-color: white;
Copy link
Contributor

Choose a reason for hiding this comment

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

bg-white


#grant-profile-tabs {
text-align: center;
border-bottom: none;
Copy link
Contributor

Choose a reason for hiding this comment

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

border-bottom-0
text-center

@danlipert danlipert merged commit 058e17f into gitcoinco:master May 8, 2019
Copy link
Contributor

@frankchen07 frankchen07 left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants