Add sync error logging, extend error flash, fix unload saves

- Log workforce sync errors to backend stdout so they appear in docker logs
- Extend error flash from 5s to 15s so errors are readable
- Replace sendBeacon (POST-only) with keepalive fetch (PUT) on unload —
  sendBeacon was hitting 404s on all three unload saves

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-22 14:19:38 +00:00
parent c7066521ff
commit 18e24efbeb
14485 changed files with 1836116 additions and 33 deletions

View file

@ -0,0 +1 @@
module.exports={C:{"72":0.00462,"112":0.00462,"115":0.05077,"120":0.01846,"121":0.03692,"127":0.00462,"140":0.03231,"146":0.00462,"147":0.00923,"148":0.00462,"150":0.08769,"151":0.26306,"152":0.25844,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 113 114 116 117 118 119 122 123 124 125 126 128 129 130 131 132 133 134 135 136 137 138 139 141 142 143 144 145 149 153 154 155 3.5 3.6"},D:{"39":0.01385,"40":0.00462,"41":0.00923,"42":0.00462,"43":0.00923,"44":0.01385,"45":0.01385,"46":0.00923,"47":0.00462,"48":0.00462,"49":0.01385,"50":0.00462,"51":0.00462,"52":0.01846,"53":0.00923,"54":0.00923,"55":0.00462,"56":0.01846,"57":0.00923,"58":0.01385,"59":0.00923,"60":0.01846,"61":0.01846,"65":0.09692,"73":0.00462,"74":0.00462,"75":0.00462,"79":0.06923,"81":0.00462,"84":0.00462,"87":0.00462,"88":0.00923,"102":0.00923,"103":0.01385,"104":0.00923,"105":0.01385,"106":0.01385,"107":0.01385,"108":0.01385,"109":0.26767,"110":0.00923,"111":0.01385,"112":0.00923,"113":0.00923,"114":0.03692,"116":0.03692,"117":0.01385,"118":2.65363,"119":0.04615,"120":0.06461,"121":0.00923,"122":0.01385,"123":0.00923,"124":0.02308,"125":0.01385,"126":0.01385,"127":0.02308,"128":0.01846,"129":0.00923,"130":0.02308,"131":0.03692,"132":0.01385,"133":0.03231,"134":0.00462,"135":0.00462,"137":0.03692,"138":0.05077,"139":0.00462,"140":0.01385,"141":0.02769,"142":0.03231,"143":0.02308,"144":0.03692,"145":0.07846,"146":0.38305,"147":0.2769,"148":4.37041,"149":6.14257,"150":0.10153,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 62 63 64 66 67 68 69 70 71 72 76 77 78 80 83 85 86 89 90 91 92 93 94 95 96 97 98 99 100 101 115 136 151 152 153"},F:{"46":0.00462,"79":0.00462,"95":0.06461,"98":0.02308,"99":0.26767,"131":0.67379,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 96 97 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"14":0.01385,"15":0.00923,"16":0.00923,"17":0.00462,"18":0.00923,"92":0.01385,"109":0.00462,"114":0.00923,"115":0.00462,"119":0.02769,"120":0.03692,"122":0.00462,"138":0.00462,"139":0.00462,"141":0.03231,"142":0.00923,"143":0.00923,"144":0.01385,"145":0.01385,"146":0.00923,"147":0.01846,"148":1.07068,"149":2.32596,_:"12 13 79 80 81 83 84 85 86 87 88 89 90 91 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 110 111 112 113 116 117 118 121 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 140 150"},E:{"27":0.00462,_:"4 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 15.2-15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 17.0 17.1 17.2 17.3 17.4 17.5 18.0 18.1 18.2 18.3 18.4 26.0 26.1 TP","16.6":0.00462,"17.6":0.00462,"18.5-18.7":0.0923,"26.2":0.00923,"26.3":0.00923,"26.4":0.00462,"26.5":0.16614},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00047,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.0014,"8.1-8.4":0,"9.0-9.2":0.00047,"9.3":0,"10.0-10.2":0,"10.3":0.00512,"11.0-11.2":0.15397,"11.3-11.4":0.00093,"12.0-12.1":0,"12.2-12.5":0.01582,"13.0-13.1":0,"13.2":0.00512,"13.3":0,"13.4-13.7":0.00093,"14.0-14.4":0.00326,"14.5-14.8":0.00512,"15.0-15.1":0.00465,"15.2-15.3":0.00279,"15.4":0.00326,"15.5":0.00419,"15.6-15.8":0.08141,"16.0":0.00744,"16.1":0.01209,"16.2":0.00651,"16.3":0.01396,"16.4":0.00326,"16.5":0.00512,"16.6-16.7":0.10606,"17.0":0.00465,"17.1":0.00698,"17.2":0.00651,"17.3":0.00977,"17.4":0.01489,"17.5":0.02652,"17.6-17.7":0.06838,"18.0":0.01535,"18.1":0.02931,"18.2":0.01582,"18.3":0.04838,"18.4":0.02186,"18.5-18.7":0.69916,"26.0":0.04605,"26.1":0.04791,"26.2":0.14467,"26.3":0.1977,"26.4":0.22654,"26.5":2.56918},P:{"4":0.00977,"21":0.00489,"22":0.06352,"23":0.02443,"24":0.01954,"25":0.02932,"26":0.00977,"27":0.01466,"28":0.07329,"29":0.9674,"30":1.1775,_:"20 6.2-6.4 9.2 10.1 11.1-11.2 12.0 13.0 14.0 15.0 16.0 18.0","5.0-5.4":0.00489,"7.2-7.4":0.06352,"8.2":0.00489,"17.0":0.00489,"19.0":0.00977},I:{"0":0.01076,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":2.88044,_:"10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},N:{_:"10 11"},S:{_:"2.5 3.0-3.1"},J:{_:"7 10"},O:{"0":0.7753},H:{all:0},L:{"0":62.73192},R:{_:"0"},M:{"0":0.19382},Q:{_:"14.9"}};