GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Mayank (mayank@front-end.social), page 2

  1. Embed this notice
    Mayank (mayank@front-end.social)'s status on Saturday, 14-Dec-2024 04:39:37 JST Mayank Mayank
    in reply to

    a good default speed for the spinner is 1 rotation per javascript.

    consider slowing the spinner to 1 rotation per 3 javascripts when the user prefers reduced motion.

    if you have too many javascripts, consider not spinning, lest you violate SC 2.2.2 https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html

    In conversation Saturday, 14-Dec-2024 04:39:37 JST from gnusocial.jp permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Understanding Success Criterion 2.2.2: Pause, Stop, Hide | WAI | W3C
  2. Embed this notice
    Mayank (mayank@front-end.social)'s status on Thursday, 12-Dec-2024 09:57:11 JST Mayank Mayank

    safari 18.2 is looking really good 👀

    https://front-end.social/@jensimmons/113409669370636498

    In conversation Thursday, 12-Dec-2024 09:57:11 JST from front-end.social permalink
  3. Embed this notice
    Mayank (mayank@front-end.social)'s status on Thursday, 12-Dec-2024 09:57:10 JST Mayank Mayank
    in reply to

    i find `scrollbar-gutter` (years-old feature, finally added in safari) just as exciting as `text-box-trim` (bleeding edge, safari-only).

    both incredibly useful and important

    also `blocking=render`!

    In conversation Thursday, 12-Dec-2024 09:57:10 JST from gnusocial.jp permalink
  4. Embed this notice
    Mayank (mayank@front-end.social)'s status on Thursday, 12-Dec-2024 09:57:08 JST Mayank Mayank
    in reply to

    `scrollbar-gutter` is finally available everywhere 🥹

    https://webkit.org/blog/16301/webkit-features-in-safari-18-2/

    In conversation Thursday, 12-Dec-2024 09:57:08 JST from front-end.social permalink
  5. Embed this notice
    Mayank (mayank@front-end.social)'s status on Thursday, 05-Dec-2024 08:17:19 JST Mayank Mayank

    has anybody tried building a showy-hidey sticky header using #CSS only? maybe with scroll-driven animations?

    by "showy-hidey" i mean: it shows when you scroll up and hides when you scroll down. (this is anti-pattern in 90% of cases, but it can be useful when you have infinite scrolling)

    In conversation Thursday, 05-Dec-2024 08:17:19 JST from front-end.social permalink
  6. Embed this notice
    Mayank (mayank@front-end.social)'s status on Wednesday, 04-Dec-2024 04:56:12 JST Mayank Mayank

    if it's not accessible, you shipped too early

    In conversation Wednesday, 04-Dec-2024 04:56:12 JST from front-end.social permalink
  7. Embed this notice
    Mayank (mayank@front-end.social)'s status on Tuesday, 03-Dec-2024 06:51:15 JST Mayank Mayank

    anybody building a cool product without any AI?

    In conversation Tuesday, 03-Dec-2024 06:51:15 JST from front-end.social permalink
  8. Embed this notice
    Mayank (mayank@front-end.social)'s status on Sunday, 01-Dec-2024 12:22:39 JST Mayank Mayank

    does anyone know if the system-ui font is a variable font on any OS other than macOS? https://web.dev/blog/more-variable-font-options-in-chromium-83

    it looks like on windows you have to specify the font explicitly. https://tigeroakes.com/posts/segoe-ui-variable/

    #CSS

    In conversation Sunday, 01-Dec-2024 12:22:39 JST from front-end.social permalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: tigeroakes.com
      How to use Segoe UI Variable in a website
      Loading this font locally is a bit tricky.
  9. Embed this notice
    Mayank (mayank@front-end.social)'s status on Saturday, 30-Nov-2024 05:09:01 JST Mayank Mayank
    • Astro

    i always manage to gravitate towards @astro.

    currently building a vite SPA and realizing that astro would help with prerendering the application "shell".

    this kind of thing is notoriously difficult with vite, which is mainly concerned with bundling.

    In conversation Saturday, 30-Nov-2024 05:09:01 JST from front-end.social permalink
  10. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 22-Nov-2024 09:46:45 JST Mayank Mayank

    today i finally updated chrome. i was holding off bc i knew they had added AI bullshit to dev-tools. https://developer.chrome.com/blog/new-in-devtools-131

    it's so in your face — "Ask AI" is literally the first option when you open the context menu

    maybe it's just me, but this thing makes me not even want to open chrome dev-tools.

    In conversation Friday, 22-Nov-2024 09:46:45 JST from front-end.social permalink

    Attachments


  11. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 22-Nov-2024 09:46:44 JST Mayank Mayank
    in reply to

    1. use a chatbot to generate a product idea.
    2. use a different chatbot to scaffold a project for this idea.
    3. use a third chatbot to debug the CSS in this project.
    4. use a fourth chatbot to implement a fifth chatbot natively in the product.
    5. when the product doesn't work, put a sixth chatbot in front of the user so their feedback never makes it back to you.

    In conversation Friday, 22-Nov-2024 09:46:44 JST from gnusocial.jp permalink
  12. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 22-Nov-2024 05:22:45 JST Mayank Mayank

    i am horrified to report that safari continues to have #accessibility issues with display:contents.

    this time, i found an issue (on a production website!) where VoiceOver completely skips over consecutively nested display:contents elements inside shadow DOM.

    https://codepen.io/hi_mayank/pen/NWQQKaa

    In conversation Friday, 22-Nov-2024 05:22:45 JST from front-end.social permalink
  13. Embed this notice
    Mayank (mayank@front-end.social)'s status on Tuesday, 19-Nov-2024 08:51:24 JST Mayank Mayank

    is there something you want to know or find confusing about using the #HTML `popover` API? what's stopping you from using it?

    i've been writing a very long blog post about popovers, on-and-off for months now. hopefully it's published by the end of the year 😅

    In conversation Tuesday, 19-Nov-2024 08:51:24 JST from front-end.social permalink
  14. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 15-Nov-2024 09:40:00 JST Mayank Mayank
    in reply to
    • Olivier Forget

    @teleclimber this was the video that got me tinkering with my raspberry pi. i want to host simple client-only websites that solve very specific problems for me.

    as a frontend developer, i still find it a bit daunting tbh. it's easier for me to deploy to serverless platform 😅 i don't think my rpi can even run deno

    In conversation Friday, 15-Nov-2024 09:40:00 JST from front-end.social permalink

    Attachments


  15. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 15-Nov-2024 09:39:57 JST Mayank Mayank
    in reply to
    • Olivier Forget

    @teleclimber yeah no, Linux is part of why it feels daunting. i'm very much a GUI person, i avoid the terminal whenever i can lol.

    i'm pretty sure my rpi is 32-bit (that's what it came with, and i don't want to change it bc i already use it for my Plex server).

    at least Node runs fine on it. but i still need to figure out how to serve multiple static websites and run multiple Node servers on different ports in the proper way.

    this is what Jake was getting at with "it requires upfront work".

    In conversation Friday, 15-Nov-2024 09:39:57 JST from front-end.social permalink
  16. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 15-Nov-2024 07:50:08 JST Mayank Mayank

    two use-cases for #WebComponents that i don't see being talked about enough:

    1. micro-micro-frontends using custom elements: you can have different people build different parts of the same page (even using different frameworks), and bring them together using custom elements.

    2. stateful diffing using shadow dom: you can swap out HTML of a shadow-tree without losing dom state (e.g. focus or text selection) of slotted elements.

    In conversation Friday, 15-Nov-2024 07:50:08 JST from front-end.social permalink
  17. Embed this notice
    Mayank (mayank@front-end.social)'s status on Friday, 15-Nov-2024 07:50:07 JST Mayank Mayank
    in reply to

    here's a demo of 2: https://codepen.io/hi_mayank/pen/VwoRxGj

    it's not "diffing" like i said in my original post, but it very well could be. setting `shadow.innerHTML` would not recreate slotted elements.

    In conversation Friday, 15-Nov-2024 07:50:07 JST from front-end.social permalink

    Attachments


  18. Embed this notice
    Mayank (mayank@front-end.social)'s status on Thursday, 07-Nov-2024 04:42:02 JST Mayank Mayank

    are there any hosting providers that you know for certain are not problematic in some way?

    (ideally not AWS-based, because fuck amazon)

    In conversation Thursday, 07-Nov-2024 04:42:02 JST from front-end.social permalink
  19. Embed this notice
    Mayank (mayank@front-end.social)'s status on Tuesday, 05-Nov-2024 07:23:02 JST Mayank Mayank

    how would you markup your eyebrow? 🤨

    In conversation Tuesday, 05-Nov-2024 07:23:02 JST from front-end.social permalink
  20. Embed this notice
    Mayank (mayank@front-end.social)'s status on Tuesday, 05-Nov-2024 07:23:01 JST Mayank Mayank
    in reply to

    what's an eyebrow?

    oh, you already know. even if you haven't heard that term before. it was a popular design trend for a minute.

    i would probably mark this up as:

    ```
    <hgroup role="group">
    <p>Augmented reality</p>
    <h1>A new world all around you</h1>
    </hgroup>
    ```

    depending on how important the eyebrow is vs the heading, i might consider flipping the DOM order and then reversing it with CSS.

    In conversation Tuesday, 05-Nov-2024 07:23:01 JST from gnusocial.jp permalink

    Attachments


    1. https://cdn.masto.host/frontendsocial/media_attachments/files/113/426/834/775/075/698/original/828bd6d3b8e112f3.png
  • After
  • Before

User actions

    Mayank

    Mayank

    front-of-the-front end developer. always listening to prog.posting about HTML, CSS and other web stuff.trying to build a less broken, more accessible web.(posts will auto-delete after N days)#nobot #noindex #nobridge

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          266123
          Member since
          20 Jun 2024
          Notices
          52
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.