Reinvented Popups vs Most Recent Dialogs

I don’t know if I’ve seen anything that explains the differences between the new popups and the most recently released dialogs—I’m not even sure if the recently released dialogs are going to be deprecated. I’m curious what the community has come up with.

I can see where the new popups make sense, but the one use case that I’m on the fence about is a custom date range selector that is accessed as a last option in a dropdown of predefined date ranges. With the old “section” and the new “popup” the custom date range modal is an independent element that needs to talk back and forth with the dropdown. With the recently released dialog, I was able to nest the modal into the dropdown component so that all functionality pertaining to selecting a date range was self contained. I liked the cleanliness of this. I’m not sure if upgrading to the reinvented popups will change much, but I want to collect data before investing time in the change.

Hi John, that’s an interesting question that’s worth exploring.

Maybe you can try to create a prototype of your specific use case with both models and you can come back and let us know how they ended up being different.

I suppose I could do that but honestly hesitant to invest time without understanding WeWeb’s intent better. I’ve spend the past week or two upgrading the old section dialogs (as well as the icons), only to be presented with this update requiring another refactor.

Do you ya’ll envision both being used going forward, and if so can ya’ll not provide more details on how you intended for the two to be used differently? Or, will the older ones be deprecated, which if so, is no longer a question of why to use either one, but how to get the new ones to work in my use case. What problem are y’all trying to solve by the “reinvented popups” that wasn’t solved in the most recent version of the dialogs? This might reveal how we’re supposed to use each one (again, assuming both will remain in use).

1 Like

The new popups are more geared towards reusability. For the rest it’s the same. I tried them and I’ll probably use them for modals which I have on multiple pages, but I for some reason don’t feel comfortable using them for more complex one off modals.