-
Notifications
You must be signed in to change notification settings - Fork 219
Improved the upcoming events and notification section of dashboard screen #298
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
Conversation
Prettified README.md with Badges
Looks good to me. Leaving on devesh to add his POV.
…On Sun, 9 Feb 2020, 11:35 pm Harsh Jaiswal, ***@***.***> wrote:
*Problem*
To improve the frontend of the dashboard screen
*Issue this PR referred to*
Fixes issue number 295. Refer to this
#295
<http://url> for more details.
*Solution of problem*
I have added images , icons and other content in the upcoming event and
notification section. Have also modified the height of these sections to
better align with the given designs.
I have made changes to notification.js, notification.scss, portfolio.scss,
upcoming-event.js and upcoming-event.scss. Also added some images in the
image folder.
*Before changes were made*
[image: Screenshot from 2020-02-09 18-31-52]
<https://user-images.githubusercontent.com/32335320/74107312-76499c00-4b94-11ea-8906-ff2ed6d0ab9d.png>
*After changes were made*
[image: Screenshot from 2020-02-09 23-31-51]
<https://user-images.githubusercontent.com/32335320/74107320-86fa1200-4b94-11ea-920a-478e1d8e690e.png>
------------------------------
You can view, comment on, or merge this pull request online at:
#298
Commit Summary
- added logo to the existing badges
- fixed the list issue in community section
- added link to the sponsor logos
- removed all the open links
- added github badges
- added open source + twitter follow badges
- added node/mongodb badges
- added npm required badge
- fixed open links for youtube video
- Merge pull request #268 from vinitshahdeo/master
- Resolved initial merge conflict due to readme
- Improved the upcoming events and notifications section of dashboard
screen
File Changes
- *A* .gitignore
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-0>
(1)
- *M* README.md
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-1>
(136)
- *M* package-lock.json
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-2>
(6170)
- *A* src/images/donut-icon.svg
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-3>
(3)
- *A* src/images/not-icon-2.svg
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-4>
(3)
- *A* src/images/not-icon-3.svg
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-5>
(3)
- *A* src/images/profile-icon.svg
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-6>
(9)
- *M* src/user/dashboard/notifications/notifications.js
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-7>
(41)
- *M* src/user/dashboard/notifications/notifications.scss
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-8>
(70)
- *M* src/user/dashboard/portfolio/portfolio.scss
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-9>
(16)
- *M* src/user/dashboard/upcoming-events/upcoming-events.js
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-10>
(52)
- *M* src/user/dashboard/upcoming-events/upcoming-events.scss
<https://github.com/codeuino/social-platform-donut-frontend/pull/298/files#diff-11>
(71)
Patch Links:
-
https://github.com/codeuino/social-platform-donut-frontend/pull/298.patch
-
https://github.com/codeuino/social-platform-donut-frontend/pull/298.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#298?email_source=notifications&email_token=ACOBHK3AC4ERLEYA4WS3CYDRCBAXJA5CNFSM4KSDJ4BKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMCXESQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOBHK2MBNQBILNXZZW45OLRCBAXJANCNFSM4KSDJ4BA>
.
|
why does your pull requests contain of older commits that too by other people. |
I think those are the changes in the readme.md file which were giving merge conflicts initially. |
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.
@harsh253 I think instead of writting the hard coded code again and again , you can use store the data in an array and simply use map method in react for iterating over it. which will reduce the repeation of same code again and again, and also this make sense coz we are going to use the data from the API which will be in the form of an array of objects,
something like this :
const events = [
{
_id: 1,
eventName: 'Testing event',
createdBy: 'Test'
.......
},
{
_id: 2,
eventName: 'Testing event2',
createdBy: 'Test2'
.......
}
];
Iterate over it
let events = this.events.map(event => (
<ul key={event._id}>
<li>{event.eventName}</li>
</ul>
));
In jsx part
{events}
@vaibhavdaren @devesh-verma please look the code once.
Hi @Rupeshiya . Thank you for your feedback. |
Cool @harsh253 , @vaibhavdaren @devesh-verma plz review. |
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.
@harsh253 what @Rupeshiya mentioned is true, it will be better if you can do it the way he mentioned. Also, I can see your style for notification area and upcoming events are getting applied to the rightmost column. Please take care of these.
Hi @devesh-verma. Thank you for the feedback. I will make the changes and send a new PR for it. |
Deploy preview for donut-frontend-r ready! Built with commit 175e4fd |
@harsh253 The PR is having the conflict, please resolve it. |
Hi @Rupeshiya. Can I close this PR and open a new PR because I think there are some unwanted changes that I am unable to resolve . |
@harsh253 Hey I am closing the PR. Please send in a new PR. Make sure to user development branch. |
Problem
To improve the frontend of the dashboard screen
Issue this PR referred to
Fixes issue number 295. Refer to this https://github.com/codeuino/social-platform-donut-frontend/issues/295 for more details.
Solution of problem
I have added images , icons and other content in the upcoming event and notification section. Have also modified the height of these sections to better align with the given designs.
I have made changes to notification.js, notification.scss, portfolio.scss, upcoming-event.js and upcoming-event.scss. Also added some images in the image folder.
Before changes were made

After changes were made
