dreamingmind / bindery

CakePHP 1.3 Based Dreaming Mind Bindery Site
2 stars 2 forks source link

Flash removal very clumsy #206

Open dreamingmind opened 9 years ago

dreamingmind commented 9 years ago

Flash removal was simple for the new f_success and f_error mesages. But the needs of the cart pallet when the last item is being removed added logic into the app.js method that clears the message.

This is super lame and overly coupled.

I could use different, special flash messages that carry a different close-button binding...

curlyjason commented 9 years ago

You're considering multiple flash message types? I have been thinking a bit about 'internal messaging' in apps. It seems like there may be a reason to try to scaffold a system (at least conceptually). Features like: