FloppyDisco / marauders-map

0 stars 0 forks source link

get rid of "pagePrompt" #2

Closed FloppyDisco closed 2 months ago

FloppyDisco commented 2 months ago

I don't think there needs to be two UI pickers. just manage this by changing what items are passed to it?

FloppyDisco commented 2 months ago

this was actually a terrible idea and caused more stress that was warranted. it is smatter to have the two UI components to maintain separation of concerns and allow the code to be more compartmentalized an readable. managing different actions with the same Picker was overly complex, and more or less defeats the purpose of having an API that is so easy to create these components in the first place.

don't over abstract things.