Soon β’οΈ
30.07.2025 22:11 β π 1 π 0 π¬ 0 π 0@joshhanley.au.bsky.social
Working fulltime on fluxui.dev and core contributor to @LaravelLivewire. Sailing, Camping, Web Developer using PHP/ Laravel/ Livewire
Soon β’οΈ
30.07.2025 22:11 β π 1 π 0 π¬ 0 π 0To all of those social butterflies in Denver - enjoy Laracon!
Donβt forget to keep an eye out for someone seeming on the outer, someone needing to feel included, someone needing a smile.
There are lots of invisible developers out there.
Try to do something that can help others feel seen.
Here's another great article that changed how I viewed storing dates/times www.creativedeletion.com/2015/03/19/p...
23.07.2025 22:22 β π 3 π 1 π¬ 0 π 0Thankfully, while events aren't fun to deal with, they are definitely reliable. I've been using this pattern even since v2 for shared modals.
22.07.2025 03:27 β π 0 π 0 π¬ 0 π 0Yep! Just tested this and yeah it works as I was hoping π
22.07.2025 03:25 β π 1 π 0 π¬ 2 π 0I think I know what you want and it's coming in v4 π€«π (if it works the way I'm hoping it will π)
22.07.2025 03:18 β π 1 π 0 π¬ 1 π 0Yeah the main reason for the dispatch is, what if you click edit on one user, then escape out and then click edit on a different user? The modal comp can't mount twice. You could potentially do that if you had inline modals but that adds to the DOM. I just have one edit-user modal comp for the page.
22.07.2025 03:16 β π 1 π 0 π¬ 1 π 0I'd love to know the answer to this too π
22.07.2025 03:12 β π 0 π 0 π¬ 0 π 0I then have loading inside the modal, which `wire:target` the edit method, to show the loading state and hide the modal contents.
22.07.2025 03:02 β π 0 π 0 π¬ 1 π 0Yep, that's how I do it. I have a button that has `wire:click="$dispatch('edit-user', {{$user->id}})"` and it is wrapped in a `flux:modal.trigger` component, which opens the modal.
My modal component has a listener for the edit-user event on my `edit($userId)` method.
One component for the page and another for the modal π
22.07.2025 02:48 β π 0 π 0 π¬ 1 π 0Ahh! Yep, that'll do it. What do you use that for?
21.07.2025 01:33 β π 0 π 0 π¬ 0 π 0Actually those dates are off by a day in comparison to the date inside the element π€
21.07.2025 01:22 β π 0 π 0 π¬ 1 π 0Yeah Flux uses browser locale based date objects to get the individual dates. But it should only be rendering the day and not the rest of it.
21.07.2025 01:21 β π 0 π 0 π¬ 1 π 0Sadly not. If you canβt work it out, happy to jump on a call to see if we can get to the bottom of it.
21.07.2025 01:14 β π 1 π 0 π¬ 2 π 0Very strange! Just tested locally and I couldnβt get it to break π thought maybe it was an issue with date picker after flux scripts or something. But it doesnβt function at all then π
21.07.2025 01:04 β π 0 π 0 π¬ 1 π 0Ok thanks. Iβll have a quick play and see if I can replicate it. Does seem odd styles wouldnβt be there initially but be fine after any interaction
21.07.2025 00:26 β π 0 π 0 π¬ 1 π 0Nope! Iβll test it out. Assuming itβs nothing fancy, just date picker inside a fly out modal?
20.07.2025 23:56 β π 0 π 0 π¬ 1 π 0Haha was just keeping them for a little while after I migrated to digital ocean. Probably should clean them up but yeah itβs not worth it π
17.07.2025 08:18 β π 0 π 0 π¬ 0 π 0Yeah same, mines like $1 for some old RDS snapshots π
17.07.2025 07:24 β π 0 π 0 π¬ 1 π 0Yeah I dunno π€·ββοΈ guess weβll find out when the next invoices are sent π
17.07.2025 05:24 β π 0 π 0 π¬ 1 π 0Screenshot of Amazon email informing of the change to an offical email address, flagged as spam by gmail.
Even gmail thinks it's a scam π
17.07.2025 05:15 β π 3 π 0 π¬ 1 π 0Yes. Yes they should! π
15.07.2025 01:14 β π 1 π 0 π¬ 1 π 0Going to test this out when I get a moment and will see if I can make the docs clearer or fix it if somethings not working properly.
11.07.2025 02:21 β π 1 π 0 π¬ 0 π 0Ah bugger. Well happy to help fix it if you work it out π
11.07.2025 02:20 β π 0 π 0 π¬ 0 π 0You got it π I much prefer it over here!
11.07.2025 02:19 β π 5 π 0 π¬ 0 π 0No worries!
11.07.2025 02:16 β π 1 π 0 π¬ 1 π 0It doesn't remove the dark classes from your markup, it just stops Flux from controlling dark mode appearance on your site. By default it detects users system preferences and allows them to override it using a toggle.
11.07.2025 01:16 β π 0 π 0 π¬ 1 π 0I personally donβt use it when testing my components. But is there anything we could do to make it better? Why do you find it fragile?
09.07.2025 22:08 β π 0 π 0 π¬ 1 π 0But yeah we should also document it as people donβt seem to notice it on the Echo docs, and it trips a lot of people up.
09.07.2025 22:06 β π 0 π 0 π¬ 0 π 0