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

Social icon #354

Merged
merged 8 commits into from
Feb 5, 2022
Merged

Social icon #354

merged 8 commits into from
Feb 5, 2022

Conversation

nikkuAg
Copy link
Contributor

@nikkuAg nikkuAg commented Jan 20, 2022

This PR is related to improving the design of social media icons on the website.
Issue: #345
I have mainly changed the design for the icons present in the footer as they were not looking very pleasant. I have also removed the border around the floating icons.

Here are the screenshot for the same:

Screenshot from 2022-01-20 22-56-12

Screenshot from 2022-01-20 22-56-19

@quozl
Copy link
Contributor

quozl commented Jan 20, 2022

Thanks.

Looking at your commit message and the files changed tab, I can't figure out if what you did was your own changes diverging from the upstream ionicon library or if you have adopted any of their changes. Which is it?

See also #353 for the problem we have with the library; we have an old version.

See Making commits in our guide to contributing; this section shows how to communicate clearly via commit messages. You have shown a tendency to use the pull request message instead of the commit messages. Remember that the pull request is eventually destroyed, and only the commit messages remain in git.

@quozl quozl mentioned this pull request Jan 20, 2022
@shubhayu09
Copy link

Looking at the commits, I can see changes have been made diverging from the upstream iconic library and made his changes but it looks good, both the footer icons and floating icons. But I'm not sure about the size of the footer icons, have you changed or is it's same as before?
And also I agree with the point that commit messages are not so clear which should be clear for other users to avoid confusion and for a better understanding of the changes.

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 21, 2022

Hey @quozl @shubhayu09 ,
Yes I have made my changes but only padding, margin and color.
The size of icons are same as before. I have just added padding and background color to have the look present now.

@quozl
Copy link
Contributor

quozl commented Jan 21, 2022

Thanks. Does updating to latest upstream make your changes any different? It would be good to be up to date.

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 21, 2022

My branch is already up to date with upstream.

@quozl
Copy link
Contributor

quozl commented Jan 21, 2022

The upstream ion icon library?

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 21, 2022

The upstream ion icon library?

When I am trying for fetching upstream on my fork repository there it is showing branch already up to date with upstream

@quozl
Copy link
Contributor

quozl commented Jan 21, 2022

https://github.com/ionic-team/ionicons is the ion icons repository, is that the one you are talking about?

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 21, 2022

No, I was just using those which were available in the code. Since in the code of webiste there has been no changes for using new icons of ions-icons

@quozl
Copy link
Contributor

quozl commented Jan 21, 2022

Do your changes work with the later version of ionicons, or do they make it worse?

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 22, 2022

See the changes I have made are basically adding border, background color, padding and margin, which I have added in the classes defined as ion-icons-facebook and others. So even if you update to latest version of ion-icons I just have to add those in the classes so that background padding border are incorporated as the icons are still the same in the new version of ion-icons.

@chimosky
Copy link
Member

chimosky commented Jan 24, 2022

See the changes I have made are basically adding border, background color, padding and margin, which I have added in the classes defined as ion-icons-facebook and others. So even if you update to latest version of ion-icons I just have to add those in the classes so that background padding border are incorporated as the icons are still the same in the new version of ion-icons.

If your changes involve changing ion icons then you'll have to make that change upstream first if it isn't part of that already as we don't maintain ion icons and just update it when we need to so we don't want it to diverge from its upstream.

@quozl
Copy link
Contributor

quozl commented Jan 26, 2022

I don't know enough to merge this, and @nikkuAg hasn't answered my question on it, so I looked again at the Files changed tab and the commit messages for ffeb328 and 1016309.

  • the commit messages don't say much, see our Guide to contributing - commits for how to write commit messages that communicate with others, both now and in future reading of them in git,
  • there are changes to indentation of JavaScript source, which makes it hard to make sure that nothing was changed in that source, and I don't know why those changes were done,
  • there are lines commented out instead of removed, but I don't know why,
  • there are changes to css/ion_icon_customization.scss but I don't know if this is an upstream file from the ion icons project, or if it is a file that is local to our web site.

I remember doing this before. In my earlier replies I asked questions to resolve that ambiguity. I'll now try another method; I'll clone the ionicons repository, checkout the v2.0.0 tag (because that's the version in css/ionicons.min.css in our web site), and go looking for things that look the same. Result: I can't tell, and I don't know how to be sure. I know who I'll ask; the developer making the pull request, maybe they'll know. 🤦

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Jan 26, 2022

Hey @quozl @chimosky,
I got your point, so if I work on this issue then I think there would be no problem in merging

@chimosky
Copy link
Member

Hey @quozl @chimosky, I got your point, so if I work on this issue then I think there would be no problem in merging

Yes if you work on the issue there would be no problem merging.

@nikkuAg
Copy link
Contributor Author

nikkuAg commented Feb 4, 2022

Hey @quozl @chimosky,

Issue: #353

I have updated the ions icons to the newest version. Since the repository of ion icons have their latest version of 6.0.1, the fonts and CSS they have used in the newest version is v4.5.10.

After updating the icons version I have also corrected the CSS required for the consistency of all the icons.

@quozl
Copy link
Contributor

quozl commented Feb 4, 2022

Thanks, good progress, but a few review comments not yet resolved. Please read through the Files changed and undo any of the changes you did not intend.

Copy link
Contributor Author

@nikkuAg nikkuAg left a comment

Choose a reason for hiding this comment

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

Hey @quozl,
I have viewed all the files and updated the changes so that there are no such changes which are not required.

@quozl
Copy link
Contributor

quozl commented Feb 5, 2022

Thanks.

@quozl quozl merged commit 932dbab into sugarlabs:master Feb 5, 2022
@quozl
Copy link
Contributor

quozl commented Feb 5, 2022

Reviewed after automatic deployment; there's something odd about the instagram icon being larger than the others, but I'm no expert in social media. Several of the new files weren't fetched by Firefox, but I guess they may be browser-specific.

@nikkuAg nikkuAg deleted the social_icon branch February 5, 2022 12:16
@nikkuAg nikkuAg restored the social_icon branch February 5, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants