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

learn v2 #114

Merged
merged 29 commits into from Dec 12, 2017
Merged

learn v2 #114

merged 29 commits into from Dec 12, 2017

Conversation

@M-ZubairAhmed
Copy link
Collaborator

M-ZubairAhmed commented Nov 29, 2017

  1. modified learn cards as per design
  2. changed time icon to calendar in events
  3. fluid prop to button added
  • Under code review
  • Under design review
z
2. changed time icon to calendar in events
3. fluid prop to button added
@M-ZubairAhmed
Copy link
Collaborator Author

M-ZubairAhmed commented Nov 29, 2017

@saiabhijitht please let me know on the designs of the learn cards while i work on others

@coderplex-bot
Copy link
Collaborator

coderplex-bot commented Nov 29, 2017

Deploy preview ready!

Built with commit a328223

https://deploy-preview-114--coderplex.netlify.com

z added 6 commits Nov 29, 2017
2. marked js file
3. minor changes in tree comp
z
z
...this.state.nodeStateTracker.slice(0, i),
!this.state.nodeStateTracker[i],
...this.state.nodeStateTracker.slice(i + 1),
],

This comment has been minimized.

@abiduzz420

abiduzz420 Dec 3, 2017

Contributor

I am curious to know if the implementation I mentioned below is right according to React practices

handleClick = i => {
const { nodeStateTracker } = this.state;
nodeStateTracker[i] = false;
this.forceUpdate()
}

This comment has been minimized.

@M-ZubairAhmed

M-ZubairAhmed Dec 3, 2017

Author Collaborator

Using forceUpdate is often discouraged which can be done with setState instead.
Also state is suppose to be updated with setState . But i havent tried the above code, let me know if its work

This comment has been minimized.

@abiduzz420

abiduzz420 Dec 3, 2017

Contributor

Yeah I took the assumption that nodeStateTracker[i] is a child of the state array hence it may not re-render. Hence I did forceUpdate. I kept in my mind that we cannot mutate the state directly though assignment. See if this works and let me know.

let arrowClassName = 'tree-view_arrow';
let containerClassName = 'tree-view_children';
if (collapsed) {
arrowClassName += ' tree-view_arrow-collapsed';

This comment has been minimized.

@abiduzz420

abiduzz420 Dec 3, 2017

Contributor

Following ES6 Syntax of concatenating strings

arrowClassName = `${arrowClassName} tree-view_arrow-collapsed`
);
return (
<TreeView
key={i}

This comment has been minimized.

@abiduzz420

abiduzz420 Dec 3, 2017

Contributor

Can we assign key={node.unit.name} as in line no 54

This comment has been minimized.

@M-ZubairAhmed

M-ZubairAhmed Dec 3, 2017

Author Collaborator

@abiduzz420 i am pushing the latest changes. I will go through your review in some time Thank you for reviewing.

This comment has been minimized.

@M-ZubairAhmed

M-ZubairAhmed Dec 3, 2017

Author Collaborator

Also do you have sometime to work on this pr?

This comment has been minimized.

@abiduzz420

abiduzz420 Dec 3, 2017

Contributor

@M-ZubairAhmed No, I may not be able to give time due to exams.

Zubair Ahmed added 3 commits Dec 3, 2017
Zubair Ahmed
z
z
@M-ZubairAhmed M-ZubairAhmed changed the title WIP - learn learn Dec 3, 2017
@M-ZubairAhmed M-ZubairAhmed changed the title learn learn v2 Dec 3, 2017
@M-ZubairAhmed
Copy link
Collaborator Author

M-ZubairAhmed commented Dec 3, 2017

@vinaypuppal can you help me with the rest of the css implementation of this pr?

z
2. code base of tree view simplified
3. UI design of tree view complete
4. other minor fixes
@M-ZubairAhmed
Copy link
Collaborator Author

M-ZubairAhmed commented Dec 4, 2017

@saiabhijitht can you review this and let me know the changes

@duttakapil
Copy link
Member

duttakapil commented Dec 5, 2017

  • "We are constantly updating our platform. Do subscribe to stay informed." should be in 2 lines, split right before Do.
@saiabhijitht
Copy link
Collaborator

saiabhijitht commented Dec 5, 2017

@M-ZubairAhmed
A couple more changes before merging.

  • Remove the divider line after the Heading "Available Guides".
    (It doesn't make sense if we are not having filters.)

  • Change the text color of Sub-Units in the Table of Contents to #888.

@duttakapil
Copy link
Member

duttakapil commented Dec 5, 2017

On /learn page :

  • Sub-heading should be "To master your favorite technology"
@saiabhijitht
Copy link
Collaborator

saiabhijitht commented Dec 5, 2017

@aravindballa @buoyantair Thanks for the suggestions. We are not going with the shadows as it does not go with the remaining design as you said.
And the duration being right aligned is good. But courses might be represented in "X days Y hours" or something else in future. Keeping it right aligned would move the icon to a great extent, which would not be preferable. We can think of it later when we have all use cases. I will keep it noted when we redesign the cards for further versions.

Zubair Ahmed
@saiabhijitht
Copy link
Collaborator

saiabhijitht commented Dec 5, 2017

@M-ZubairAhmed
For Mobile version of Subject page,

  • The Sub-unit title shall be having font-size: 2rem and font-weight: 650
@duttakapil
Copy link
Member

duttakapil commented Dec 11, 2017

  • Next upcoming meetup is not showing in the Landing page - Events section
  • Default image used in the Events section of Landing page should be of higher quality and more relevant
  • /events page doesn't have the same loading bars as our current live website
  • Images from meetup.com are not showing on the new /events page anymore
z
@saiabhijitht
Copy link
Collaborator

saiabhijitht commented Dec 11, 2017

@M-ZubairAhmed
For the mobile version,

  • place the table of content button in the left-middle of the screen instead of left-top position.

  • The Sub-unit title shall be having font-size: 2rem and font-weight: 650

  • see if issue #117 can be solved.

z added 2 commits Dec 11, 2017
z
z
@saiabhijitht saiabhijitht merged commit ee16a86 into develop Dec 12, 2017
3 checks passed
3 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details
@saiabhijitht saiabhijitht deleted the v2-learn branch Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants
You can’t perform that action at this time.