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

enhancement/issue 176 add bluesky link to social tray component #179

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BDFL669
Copy link

@BDFL669 BDFL669 commented Feb 6, 2025

Related Issue

Summary of Changes

Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for super-tapioca-5987ce ready!

Name Link
🔨 Latest commit 38079f9
🔍 Latest deploy log https://app.netlify.com/sites/super-tapioca-5987ce/deploys/67a4a8de3631e50008438d47
😎 Deploy Preview https://deploy-preview-179--super-tapioca-5987ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@thescientist13 thescientist13 added the enhancement New feature or request label Feb 6, 2025
@thescientist13 thescientist13 linked an issue Feb 6, 2025 that may be closed by this pull request
Copy link
Member

@thescientist13 thescientist13 left a comment

Choose a reason for hiding this comment

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

Thanks!

Left some comments and some additional call outs here:

  1. Could we please fill out the PR template with a link to the issue and summary of changes?
  2. Having seen CI run, we'll need to update the test case for this component to account for a fourth icon (see the SOCIAL_ICONS array in the test file, and validate by running npm run test)

Let me know if you have any questions! 👍

@@ -18,6 +19,13 @@ export default class SocialTray extends HTMLElement {
${discordIcon}
</a>
</li>

Copy link
Member

Choose a reason for hiding this comment

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

the formatting here looks off, not sure if you had a chance to run prettier before submitting? You can run npm run format to automatically format, otherwise CI will fail when run here.

edit: hmm, looks like it didn't fail, that's interesting. Well, if npm run format doesn't fix it, could we try and make the changes here match the existing formatting conventions of other social tray icon links? Thanks!


<li class="${styles.socialIcon}">
<a href="https://bsky.app/profile/projectevergreen.bsky.social" title="Bluesky"
style="display: inline-block; transform: scale(1.7) translateY(-2px);">
Copy link
Member

Choose a reason for hiding this comment

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

based on some quick testing, it didn't seem like the display: inline-block was needed at least.
Screenshot 2025-02-06 at 12 39 11 PM

Otherwise, is there anyway we can get the rest of this styling back into the SVG at all? I didn't have to do it for other SVG icons in the social tray, so hoping we don't have to do a one-off styles here ideally.

If it is needed, I would probably suggest we just add a specific CSS class for this in social-tray.module.css

@thescientist13 thescientist13 changed the title add bluesky link to social tray component enhancement/add bluesky link to social tray component Feb 6, 2025
@thescientist13 thescientist13 changed the title enhancement/add bluesky link to social tray component enhancement/issue 176 add bluesky link to social tray component Feb 6, 2025
@BDFL669
Copy link
Author

BDFL669 commented Feb 7, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add bluesky link to social tray component
2 participants