Commit Graph

35 Commits

Author SHA1 Message Date
filifa 2e9c4f1dc7 add service worker for offline access 2025-12-15 22:28:20 -05:00
filifa 150b0f7996 don't switch buttons back on automatically after computation 2025-12-15 20:45:47 -05:00
filifa ab0e51ed03 use evaluate and compute more consistently 2025-12-11 23:49:35 -05:00
filifa 409225e81b control the whole evaluation process with a worker 2025-12-11 23:49:35 -05:00
filifa 7e7b805e3e refactor 2025-12-11 23:49:35 -05:00
filifa 6d9b095778 put all initializations together 2025-12-11 23:49:35 -05:00
filifa 9efbe26cdd disable text inputs on long calculations 2025-12-11 23:49:35 -05:00
filifa 9cc7835a2c clear timeout on error too 2025-12-11 23:49:35 -05:00
filifa 688c9871b8 disable buttons during long calculation 2025-12-11 23:49:34 -05:00
filifa a01e6fcac1 set display to calculating using a timer 2025-12-11 23:49:34 -05:00
filifa 064b2c1aeb add error handler 2025-12-11 23:49:34 -05:00
filifa df81091258 move to workers dir 2025-12-11 23:49:34 -05:00
filifa 160cc7480b move worker initiation 2025-12-11 23:49:34 -05:00
filifa fcdf795387 use worker to avoid freezing 2025-12-11 23:49:34 -05:00
filifa 6175224c9b add copyright header 2025-12-11 23:49:34 -05:00
filifa 4e91b1dc14 add multiplicative order button 2025-12-11 23:49:34 -05:00
filifa c67f6a95f4 error on negative modulus 2025-12-11 23:49:34 -05:00
filifa 219ede5ef3 change error message 2025-12-11 23:49:34 -05:00
filifa f00597cabc display error for invalid modulus 2025-12-11 23:49:34 -05:00
filifa f8930cfb4f make sqrt button functional 2025-12-11 23:49:34 -05:00
filifa 42d2e94fe6 try disabling buttons when modulus is focused 2025-12-11 23:49:34 -05:00
filifa e2c6b7f657 evaluate on enter 2025-12-11 23:49:34 -05:00
filifa 328c4b9e22 implement inverse key 2025-12-11 23:49:34 -05:00
filifa 972513ea75 set expr as default input 2025-12-11 23:49:34 -05:00
filifa ec60951f0e get rid of variable 2025-12-11 23:49:34 -05:00
filifa f65aebcdf6 rename function 2025-12-11 23:49:34 -05:00
filifa e68a00a62c split into compute module 2025-12-11 23:49:34 -05:00
filifa 11f91330df mod result 2025-12-11 23:49:34 -05:00
filifa 0455d91928 add backspace function 2025-12-11 23:49:34 -05:00
filifa 6edffa672b fix cursor starting in wrong spot 2025-12-11 23:49:34 -05:00
filifa 5d004370e3 insert at last cursor position when pressing button 2025-12-11 23:49:34 -05:00
filifa 0bd3b5682d keep focus on currentInput 2025-12-11 23:49:34 -05:00
filifa 7fb2cbf7d9 make most of the buttons work 2025-12-11 23:49:34 -05:00
filifa f8324b8a30 don't mod values when pushed 2025-12-11 23:49:34 -05:00
filifa 8a75177060 initial commit 2025-12-11 23:49:34 -05:00