Thinking on ways to solve DIALOG

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025

Комментарии • 61

  • @kerimgueney
    @kerimgueney 2 года назад +32

    Thank you very much for adjusting the font in your editor! The previous font with the dark symbols on the dark background was impossible to read for the visually impaired or on devices that might not have the greatest contrast.
    Really appreciate it

  • @Impression.eStudio
    @Impression.eStudio 2 года назад +9

    This narration is so cool, relaxed, calm and natural that makes you happy and web development like the easiest thing in the world.

  • @MikaelPorttila
    @MikaelPorttila 2 года назад +2

    The slide-fade in and then the fade out animations looks so goood!

  • @DarrenbyDesign
    @DarrenbyDesign 2 года назад +2

    This was so fun to watch and made me excited to play with this Dialog Element

  • @nicolasparada
    @nicolasparada 2 года назад +3

    Awesome. I have to say that I have battled a little bit with the dialog element in the past so this comes very handy.
    Thank you Adam :)

  • @enijar
    @enijar 2 года назад +5

    I really enjoy this series of videos. I literally always learn something new when watching them!

  • @sabuein
    @sabuein 2 года назад +1

    Thank you so much, Adam.

  • @derjansan9564
    @derjansan9564 2 года назад +2

    I never heard about open-props before. This looks really useful.

  • @senseicodes
    @senseicodes 2 года назад +2

    This right here is gold. Thanks man! Awesome video too

  • @reynoisthebest
    @reynoisthebest 2 года назад +2

    Awesome series, would love to see one about a good looking and accessible autocomplete. Like a webshop where an autocomplete shows an image, price, sku and title. Keep up the great work!

  • @BehruzbekOtayev
    @BehruzbekOtayev 2 года назад +2

    Love what you do. Thank you man.

  • @linuxgeex
    @linuxgeex 2 года назад +2

    Thanks for starting to respect low-motion correctly. Past efforts at low motion didn't actually remove motion. Cross-fading is fine. Even swelling slightly is fine since brightness/opacity changes have a perceptual / psychovisual size change. Doing it wrong: speeding up as a way to respect low-motion is absolutely wrong, including instantly appearing and disappearing, especially where that results in instant displacement of other elements. So thanks for getting it right this time around and I hope others learn from your example.

    • @MahdiAlKhalaf
      @MahdiAlKhalaf 2 года назад

      Thanks for the information
      I didn't expect instant transitions to violate reduced motion

    • @linuxgeex
      @linuxgeex 2 года назад

      @@MahdiAlKhalaf The primary purpose of reduced motion is to accommodate people with PDST and Epilepsy for whom flashing and startling/unexpected movements can trigger adverse health effects. So yeah, having things instantly appear is problematic for both groups. Cross-fading is a good mitigation, since it presents low contrast changes over time, esp for things like timer-activated popups. If you can spend some time talking with people in these groups about their experiences and how it affects them, that can help you as a design professional, and as a friend. There's a surprisingly large number of people in both groups. There's also other people for whom it is just a preference. The CSS spec disrespects the people with the actual need by using the "prefers-" nomenclature.

  • @leonardomollmannscholler6727
    @leonardomollmannscholler6727 2 года назад +2

    Amazing!! I always finds awful to implement manually modals and dialogs in React, now i will be using this native feature!

  • @sharmaritvik
    @sharmaritvik 2 года назад +14

    You went all ninja with the debugging corner. Could you share what you used to open the webpage on multiple device emulators and how you sent the same events to all at once?

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +5

      i open the local dev server on each device/browser, then browsersync (which is what's running the static file server) sends events, scrolls and stuff to each connected client.

    • @tylery7238
      @tylery7238 2 года назад +1

      I came here to ask the same question. I’m going to implement a similar “debugging corner” on my projects. I wonder if I can be ultra lazy and figure out a way to get Alfred or Raycast to open up each browser for me … hmm.

  • @Wu33up
    @Wu33up 2 года назад +2

    Hi, can you provide specs how you was able to setup all browsers at once and sync them?

  • @theMadZakuPilot
    @theMadZakuPilot 2 года назад +2

    I love this series.
    can you make an episode on complex modals?

  • @subuhunter
    @subuhunter 2 года назад +1

    Hey, This is a great informative video. Thanks for sharing with us.
    I'm just curious to know how did you do this debugging corner? I wanna know how to run the project on multiple devices, and browsers and keep them in sync together.

  • @brentmcd12
    @brentmcd12 2 года назад +1

    very good video !

  • @Manivelarino
    @Manivelarino 2 года назад +1

    Interesting to see the implementation but I always used the Dialog from material-ui react and it worked great 😅

  • @sharedgametimer
    @sharedgametimer 2 года назад

    Oh my god, this looks amazing! Thank you! ----> Question: How would you implement closing the dialog on using the Android Back Button? It is the most common form of errors for my users that they expect that to close a dialog and they instead navigate away from the page. I saw you used a hash trick for your side nav. Any reason you chose not to use that here?

  • @windmaomao
    @windmaomao 2 года назад +4

    Thank you so much, this is really kool. The part that i found very confusing at the beginning is that i don’t even know there’s a HTML tag called `dialog`, until I saw the source code. Well you learn something new everyday. Is there a place you can get updated on what’s the new released tags every week or month?

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад

      Follow me on Twitter or keep watching this show! There arent a ton of tags coming out these days, but is being developed for Chromium.

  • @GRA00071
    @GRA00071 2 года назад +2

    It's a shame you can't use the inert attribute yet, looks like Chrome 102 has planned support for the masses. The polyfill looks like more trouble than it's worth currently.

  • @theMadZakuPilot
    @theMadZakuPilot 2 года назад +2

    a tutorial about seting up the debugging corner would be great.

    • @drp_bear
      @drp_bear 2 года назад

      See my comment above, I explain how to do it

    • @theMadZakuPilot
      @theMadZakuPilot 2 года назад

      @@drp_bear where?

  • @sealoftime
    @sealoftime 2 года назад +2

    Article is 404, but the video and source code are amazing

  • @iqalzr
    @iqalzr 2 года назад +1

    I’m interested in building the set of connected devices like this. Could you point me to a material or library that I can look into? thank you

    • @ankur_thakur
      @ankur_thakur 2 года назад +1

      Its probably polypane or something similar

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +1

      it's just installed browsers and installed emulators/simulators. download each browser and download Xcode and Android Studio for the emulators.

    • @iqalzr
      @iqalzr 2 года назад

      then, how can you apply an action simultaneously on all devices? Thank you.

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +1

      @@iqalzr I use browsersync as the project server and it does all the sync work
      browsersync.io/
      command line usage: `npx browser-sync start --server 'dist' --no-open`

  • @YOUTUBEACEHBERDIKARI
    @YOUTUBEACEHBERDIKARI 2 года назад

    Video bagus banget dan penjelasan yang sangat jelas

  • @wojtek7222
    @wojtek7222 2 года назад

    Have you tried open it on ipad safari? Open remove dialog, minimize safari and then go back to it - the layout is broken🤷‍♂

  • @borisbar4148
    @borisbar4148 2 года назад

    Hello mate, really nice content. I’ve been wondering how you check for the mobile viewport just like that? Could you tell me the name of the app?

  • @caneco
    @caneco 2 года назад +1

    offtopic question… what do you use for the Android Emulator? 🤔

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад

      Android Studio has decent emulators you can install now 👍🏻

  • @2802ize
    @2802ize 2 года назад +1

    Really good challenge and was interesting to watch and got several ideas from this.
    Just one question though, how will you go about handling scroll of background page.
    (one which you are talking about at #3:26)

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +1

      blog post has the deets! web.dev/building-a-dialog-component/#scroll-containment

    • @2802ize
      @2802ize 2 года назад +1

      @@AdamArgyleInk perfect. didn't know there are blog posts as well.
      Thank you 😊

  • @jonathan-._.-
    @jonathan-._.- 2 года назад +1

    i think in the lr-td mode the "choose file" button above the filename display would make the dialog look a bit more symmetric oO

  • @clevermissfox
    @clevermissfox 8 месяцев назад

    How on earth do you make the avatar lip sync so seemless! I need to do the same thing with an avatar that’s “speaking” an mp3 file from OpenAI tts

  • @velara314
    @velara314 2 года назад +1

    Thank you. A few small thing, the large dialog was horizontally centered but the small dialog was off centered a bit. Also, does Dialog do the centering or do you have to add CSS for that? Are Dialog tags always modal? Did you figure a way to add a mouse down outside click to dismiss?

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +1

      small dialog has custom javascript to position itself near where it was invoked 👍🏻
      light dismiss was added yes: web.dev/building-a-dialog-component/#adding-light-dismiss

  • @Anthony-wk2wl
    @Anthony-wk2wl Год назад

    Can you have a dialog inside a dialog?

  • @RDaneelOliwav
    @RDaneelOliwav 2 года назад

    Im trying to put all your components together is a sort of template, but struggling since some use postcss and open-props

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад +1

      very valid concern/criticism! i also will be combining them and will be normalizing the project structure for each so they can be consumed in 1 way. stay tuned!

    • @RDaneelOliwav
      @RDaneelOliwav 2 года назад

      @@AdamArgyleInk I like the sound of that!

  • @RickBeacham
    @RickBeacham 2 года назад +2

    Did you find that intro track from Stranger Things? ;)

  • @technikhil314
    @technikhil314 2 года назад

    Is dvb unit implemented in chrome only as of now?

    • @AdamArgyleInk
      @AdamArgyleInk 2 года назад

      it's not, that's why i had the fallback 👍🏻
      web.dev/building-a-dialog-component/#responsive-dialog-sizing

  • @ColinRichardson
    @ColinRichardson 2 года назад

    Can the "re-focus the opening button" feature be disabled?

  • @mdmdhabib9521
    @mdmdhabib9521 Год назад

    ❤😂😢😅😢😂😊😊😊

  • @robertedgar7191
    @robertedgar7191 2 года назад

    Interesting to watch but a suggestion, please don't use any css frameworks or css libraries in the source code.
    Plain css is not that hard to use and it easier to then adapt.