* Phase 1: Add basic calculator * Updated tests. * change template name, use base template, prefill calc with answer * fix test * Added backlog features. * Updated js. * Light refactoring work * Refactored keycodes. * Updated C button. * Rewrote (+/-)% Expressions * Updated the spacing dertermination * Added expression to UI by default. * Update tests. * Updated formatting. * Rewrite percent queries. * Pushing updated codebase. * Add calculator as trigger word * Update tests for new triggers * Stop initializing expression if 0 * add precision support to math eval object. * Removed scientific buttons / history for Phase 1 * Updated math type. * Prevents duplicate OPERADNS * Add duplicate functionality. * Updated unicode. * Removed es6 feature. * Stop first entry being an operand. * Add operator flipping. * Added Precision support. * Handle numpad operator keys * Set and maintain focus, Improved event handling * Bind click handler in loop, stopPropgation of keydown * Cleanup trailing spaces * Fixed broken assignment. * Prevent multiple commas. * Fixed calculator stalling when trying to enter a new operator * Initial refactor. * Refactored out expression array. * Refactored out display var. * reintroduced matheval object for precision. * Cleaned up formatting. * Removed commify. * Initial PR for Phase 2 * Add support for brackets. * Added support for Pi * Add support for sin, tan, cos * Added factorial support * Add support for squared / cubed functions * Add support for natural log * Support log_10 function. * Add support for square roots. * Add eulers number. * Implement Engineers Exponent / Formatted Funcs. * Add sci-tab id to handlebars. * Removed positioning for mobile display. * Custom exponents 🚀 * Implemented Euler exponent * Support 1/x button. * Interactified deg/rad toggle. * Add support for degrees / radians * Fix radians bug. * Zaahirs / Mintsofts syntactic changes. * Fixed regex for exponents * Removed blue from toggle. * Allow backspacing through functions. * Allow backspacing through exponents. * Fix +99% bug. * Allow flipping of keypads. * Stop ! being entered first. * Stop EE being entered at start or multiple. * Allow step back through EE * Disallow multiple periods. [skip ci] * Rewrote query to handle natural language. * Addressed phase 1 feedback. * Fixed backspace bug. * Allow backspacing through constants. * Add auto paren support for funcs. * Started the commenting 💥 * Add some comments. * Updated PercentNormalizer comment. * Fix 0/0 Error. * Add 'c' key support * Fix back spacing. * Positioned deg / rad toggle. * Refactoring code. Stage 1. * Added high signal. * Add funcs for Initite/NaN * Moved eval info into separate function. * Abstracted clear function. * Add paren manager. * Refactored out paren state. * Refactored out parenState global * Removed meta. * Backspace through functions. * Set signal to high. * Fixed signal * Pushing updated code. * Refactored backspacing. * Fix up messy code / document. * Fixed + percent bug. * Support EE on mobile. * opens pseudo paren for 1/(x) * Fix large factorial issue. * Allow pi | e as exponent. * use exponents on π and e. * Removed +-3 issue. * Natural log and log now work as exponents * nit: cleaned up expression. * Fixed percent error. * Add phase 3 ledger span (hidden) * Disabled add digits. * Check in UX fixes. * Some light refactoring. * Swap functions. * Fixed shoddy regex. * Add ledger object for phase 3. * Updated percentage / trig regex * Add blank expression if error. * Allow factorial on decimals. * Update code + comments. * Add in calc trigger word. Fixed Backspace. * All backspacing fixed. * Try to recover from open/unfinished exponent * Add high signal for * Update comments. * Updated comments. * improve calculator regex * Strip trailing spaces` * Updated signal code. * Fixed backspacing issue. * swap id for class (ParenManger) * Remove console logs. * Update comment. * Fix bug in regex replacement. * Calculator: [Phase 3] Add History / Calc reloading (#4081) * Set up UI. * Phase 3 implemented. * Remove array. Replace with handlebars. * strip commas by default. * Fixed html interpolation * Add g flag to replacement regex * Strip trailing spaces * remove unneeded option from perl * Added comments to backspace. * Removed ledger properties. Updated using state. * Addressed Zaahir's p2 feedback |
||
---|---|---|
.. | ||
Goodie | ||
GoodieBundle | ||
GoodieRole |