codeforamerica / chime

A city-focused content management system
http://chimecms.org/
BSD 3-Clause "New" or "Revised" License
35 stars 12 forks source link

clicking submit buttons multiple times results in unwanted multiple submissions #468

Closed tmaybe closed 9 years ago

tmaybe commented 9 years ago

You can create 10 identically-named activities, etc.

norrishung commented 9 years ago

Do you have any ideas on how to address this? Should just have some progressive enhanced js that allows us to disable submit buttons after they've been clicked and swaps out text with a loading symbol?

norrishung commented 9 years ago

screen shot 2015-08-19 at 5 31 27 pm

tmaybe commented 9 years ago

maybe that + some work on the backend to id multiple unwanted submissions

norrishung commented 9 years ago

http://fontastic.me/ I'm considering using this to generate a custom icon font for us because:

  1. Remove icons we don't use to make chime more performant.
  2. Ability to add custom icons.
  3. Icon fonts have a lot of advantages in terms of browser compatibility and resource loading performance.
norrishung commented 9 years ago

Hmm also just found this. Apparently, this is a huge issue.

https://github.com/FortAwesome/Font-Awesome/issues/671#issuecomment-65381998