ULOG #19: Adding the 'Grow' Page

in #ulog5 years ago

image.png

This is a contribution to this task request by @surpassinggoogle. This adds the grow page.

Repository

https://github.com/surpassinggoogle/UlogsV2

Task Request/Issue

https://steemit.com/utopian-io/@surpassinggoogle/task-request-kindly-help-us-create-a-page-portal-called-grow-on-ulogs-org-etc-additional-bounty-of-70-steem
https://github.com/surpassinggoogle/UlogsV2/issues/195

Pull Requests

https://github.com/surpassinggoogle/UlogsV2/pull/226
https://github.com/surpassinggoogle/UlogsV2/pull/227

Testing

Although there are no unit tests included in the code, all tests were manually done via Chrome covering the following:

  1. Go to 'Grow' page from user top nav menu
  2. Access the grow page by directly accessing the /grow URL
  3. Click and play the video component in each of the Grow section
  4. Show a 'coming soon' message when user clicks on any of the 'Click Here' buttons
Implementation

Development for this TR took more than two months in order to address other higher priorities work items - specifically closing issue #183. My first commit was on Jan. 28, 2019.

Here were the changes done:

  1. src/client/Wrapper.js - added link transition to top nav for grow page
    image.png
  2. src/client/components/Navigation/Topnav.js - added the 'Grow' top nav link
    image.png
  3. src/client/grow/Grow.js - the main 'Grow' component for the page
  4. src/client/grow/GrowVideoEmbed.js - component for the embedded video on each grow section
  5. src/client/grow/GrowVideoEmbed.less - embedded video's styles
  6. src/client/helpers/growSections.js - constants for the text content of each of the grow section; rendered via 'react-markdown'
  7. src/common/routes.js - display the 'Grow' component when accessing the '/grow' route

Feature in Action

grow.gif

Lesson Learned

In software development, the only constant is change.

That's what I read in one of Head First's books. Keeping this in mind can help developers cope up with frequent requirement changes (we also call them 'spec changes' short for 'specification changes') that comes with software development.

GitHub Account

https://github.com/eastmaels

This post was made from https://ulogs.org

Sort:  
  • Short article with code samples and an image.
  • Commit comments could be more detailed.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for the feedback. These are noted.

Thank you for your review, @helo! Keep up the good work!

Hi @eastmael!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @eastmael!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.14
TRX 0.12
JST 0.024
BTC 51418.20
ETH 2293.14
USDT 1.00
SBD 1.99