rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 11 forks source link

Fix service worker issues caused by integration phase #55

Closed bhaibel closed 4 years ago

bhaibel commented 4 years ago

This breaks internationalization. That will need to be fixed in a separate PR.

Description

During the integration rush, the service worker stopped working.

This is a quick fix for the proximate issues.

  1. Re-impose correct ordering of service worker related events -- this had gotten crossed up between the two SW pairs in merge.
  2. Remove querystring locales, which break the service worker's router.

Type of change

How Has This Been Tested?

  1. Go to /restoration_activity_event_log_entries/new
  2. Stop Rails server
  3. Create log entry

It should increment the number of queued log entries.