1. 21 Sep, 2020 1 commit
    • peterh-gr's avatar
      Refactored campaign counters · a94610ca
      peterh-gr authored
      I wanted to reduce the amount of props passing between the components
      and combine the character component into one, simpler component.
      
      We want the counter to keep updating indefinitely on the page. It should
      check for new totals every 5 seconds.
      
      Issue #48277
      a94610ca
  2. 18 Sep, 2020 3 commits
  3. 17 Sep, 2020 1 commit
  4. 16 Sep, 2020 2 commits
    • peterh-gr's avatar
      Cleaned up some javascript stuff · 11631615
      peterh-gr authored
      Added 'Accept: application/json' to the fetch headers which causes Slim
      to return errors as JSON so we can output the errors nicely.
      
      Added --no-hmr to the parcel watch because it's not working and I don't
      want to spend time to figure it out right now.
      
      Moved all the Javascript in donate-form out of the div that gets used
      for the React component because that gets entirely replaced by the React
      component which has been working, but I think it's weird and for
      debugging its nicer if you can see the original Javascript in the DOM in
      the browser.
      11631615
    • peterh-gr's avatar
      Added redirect URL field to donate page · b5b85c4f
      peterh-gr authored
      We want to be able to redirect to a different thank you page for some
      donate pages. It will default to /donate-thank-you, but otherwise you
      can put in any full URL.
      
      Issue #48274
      b5b85c4f
  5. 11 Sep, 2020 1 commit
  6. 09 Sep, 2020 10 commits