Skip to content

Commit 532721b

Browse files
committed
## [1.0.2] - 2025-12-03
### Fixed - **Critical:** Fixed white screen issue on production deployments (Netlify & Vercel) - **Critical:** Fixed decimal input handling - users can now enter values like 50.2, 0.45, 210.5 - Fixed `TypeError: Cannot read properties of undefined (reading 'toExponential')` in ResultsPanel component - Fixed input field preventing decimal/fractional value entry during typing - Added proper null/undefined/non-finite value handling in formatValue function - Fixed timer type compatibility issue (NodeJS.Timeout → number) for browser environments - Implemented local state management in InputField to preserve typing intermediate states
1 parent 12ff7ce commit 532721b

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: npm run build
6363

6464
- name: Upload build artifacts
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
with:
6767
name: dist
6868
path: dist/
@@ -76,7 +76,7 @@ jobs:
7676
- uses: actions/checkout@v4
7777

7878
- name: Download build artifacts
79-
uses: actions/download-artifact@v3
79+
uses: actions/download-artifact@v4
8080
with:
8181
name: dist
8282
path: dist/

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Built by [Paul Namalomba](https://github.com/paulnamalomba).
99

1010
---
1111

12-
## 🎯 Features
12+
## Features
1313

1414
-**Real-time calculation** from any 2 independent elastic parameters (λ, μ, E, K, ν)
1515
-**Unit conversion** between Pa, kPa, MPa, and GPa
@@ -25,7 +25,7 @@ Built by [Paul Namalomba](https://github.com/paulnamalomba).
2525

2626
---
2727

28-
## 📐 Mathematical Background
28+
## Mathematical Background
2929

3030
This tool implements standard relationships from **linear isotropic elasticity theory**. For an isotropic material, only **2 independent elastic constants** are needed to determine all others.
3131

@@ -153,7 +153,7 @@ For stable isotropic materials:
153153

154154
---
155155

156-
## 🚀 Quick Start
156+
## Quick Start
157157

158158
### Prerequisites
159159

@@ -216,7 +216,7 @@ npm run type-check
216216

217217
---
218218

219-
## 📦 Project Structure
219+
## Project Structure
220220

221221
```
222222
smart-lame-parameters/
@@ -256,7 +256,7 @@ smart-lame-parameters/
256256

257257
---
258258

259-
## 🔧 API Documentation
259+
## API Documentation
260260

261261
The core calculation functions in `src/calculations.ts` are **pure functions** that can be reused in other projects (Node.js, Python via WASM, etc.).
262262

@@ -334,7 +334,7 @@ See `src/calculations.ts` for the complete API.
334334

335335
---
336336

337-
## 🌐 Deployment
337+
## Deployment
338338

339339
### Deploy to Netlify
340340

@@ -397,7 +397,7 @@ See `src/calculations.ts` for the complete API.
397397

398398
---
399399

400-
## 🧪 Testing
400+
## Testing
401401

402402
### Unit Tests
403403

@@ -432,7 +432,7 @@ test('Steel: E=210GPa, nu=0.3', () => {
432432

433433
---
434434

435-
## 📝 Usage Examples
435+
## Usage Examples
436436

437437
### Story A: Enter λ and ν
438438

@@ -469,7 +469,7 @@ test('Steel: E=210GPa, nu=0.3', () => {
469469

470470
---
471471

472-
## 🛠️ Development Notes
472+
## Development Notes
473473

474474
### Numerical Stability
475475

@@ -496,7 +496,7 @@ For each pair of inputs, we:
496496

497497
---
498498

499-
## 📄 License
499+
## License
500500

501501
This project is licensed under the **MIT License**. See [LICENSE](LICENSE) for details.
502502

@@ -526,15 +526,15 @@ SOFTWARE.
526526

527527
---
528528

529-
## 👨‍💻 Author
529+
## Author
530530

531531
**Paul Namalomba**
532532
- GitHub: [@paulnamalomba](https://github.com/paulnamalomba)
533533
- Website: [www.smartlameparameters.space](https://www.smartlameparameters.space)
534534

535535
---
536536

537-
## 🙏 Acknowledgments
537+
## Acknowledgments
538538

539539
- Mathematical formulas based on standard continuum mechanics references
540540
- Built with React, TypeScript, Vite, and Tailwind CSS
@@ -544,7 +544,7 @@ SOFTWARE.
544544

545545
---
546546

547-
## 📋 Deployment Checklist
547+
## Deployment Checklist
548548

549549
-`npm run build` produces static site in `dist/`
550550
- ✅ All unit tests pass (`npm test`)

0 commit comments

Comments
 (0)