Thinking on ways to solve DIALOG

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 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!

  • @enijar
    @enijar 2 роки тому +5

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

  • @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 :)

  • @DarrenbyDesign
    @DarrenbyDesign 2 роки тому +2

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

  • @derjansan9564
    @derjansan9564 2 роки тому +2

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

  • @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.

  • @senseicodes
    @senseicodes 2 роки тому +2

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

  • @sabuein
    @sabuein 2 роки тому +1

    Thank you so much, Adam.

  • @BehruzbekOtayev
    @BehruzbekOtayev 2 роки тому +2

    Love what you do. Thank you man.

  • @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!

  • @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!

  • @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?

  • @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.

  • @brentmcd12
    @brentmcd12 2 роки тому +1

    very good video !

  • @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.

  • @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.

  • @sharedgametimer
    @sharedgametimer Рік тому

    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?

  • @Manivelarino
    @Manivelarino 2 роки тому +1

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

  • @sealoftime
    @sealoftime 2 роки тому +2

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

  • @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?

  • @YOUTUBEACEHBERDIKARI
    @YOUTUBEACEHBERDIKARI 2 роки тому

    Video bagus banget dan penjelasan yang sangat jelas

  • @RickBeacham
    @RickBeacham 2 роки тому +2

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

  • @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

  • @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 😊

  • @borisbar4148
    @borisbar4148 Рік тому

    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?

  • @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`

  • @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

  • @clevermissfox
    @clevermissfox 3 місяці тому

    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

  • @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🤷‍♂

  • @Anthony-wk2wl
    @Anthony-wk2wl Рік тому

    Can you have a dialog inside a dialog?

  • @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?

  • @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!

  • @robertedgar7191
    @robertedgar7191 Рік тому

    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.

  • @mdmdhabib9521
    @mdmdhabib9521 11 місяців тому

    ❤😂😢😅😢😂😊😊😊