Commit graph

96 commits

Author SHA1 Message Date
Álvaro González
f5c9493360 updated markdown 2026-02-16 14:19:10 +01:00
Your Name
05fd37dd9a Add share functionality and improve string escaping in FormulaElement.toStringLiteral
- Add share button to formula list with export functionality
- Implement proper escaping of special characters (\n, \t, \", etc.) in FormulaElement.toStringLiteral methods
- Create escapeD4rtString helper function for consistent escaping
- Update Formula, UnitSpec, and VariableSpec toStringLiteral methods to use escaping
- Add share_plus package dependency for sharing functionality

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-15 12:10:48 +01:00
Your Name
8b5529dddc Implement Corpus.withDependencies method with duplicate prevention
- Add withDependencies method that returns formula and all related units
- Include units with same base unit as formula inputs and outputs
- Use functional approach with List.map and List.addAll for cleaner code
- Prevent duplicates by using Set for internal storage
- Add comprehensive tests to verify functionality and duplicate prevention
- Mark task as [R] in TODO.md as required by workflow

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-15 11:45:24 +01:00
Álvaro González
4fe82dc3db Working on linux and web 2026-02-14 19:16:32 +01:00
Álvaro González
d9dd3cd7aa Drift working in web and linux.
TODO: migrate web drift from "web" to "wasm"
2026-02-14 14:06:23 +01:00
Your Name
74b226591e Try to read formulas from database, it is not working 2026-02-13 08:53:04 +01:00
Your Name
c63a215212 Add platform-specific database directory logic and update Makefile targets
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-11 09:39:40 +01:00
Your Name
692ad41502 Use implements instead of extends 2026-02-11 09:19:18 +01:00
Your Name
6133e58226 FormulaElement as abstract class 2026-02-11 09:07:13 +01:00
Your Name
6753fd99ea formula element toStringLiteral 2026-02-11 08:56:43 +01:00
Your Name
034f87945f Initially collapsed description 2026-02-11 08:45:56 +01:00
Your Name
2493c5b4be Only one table for formula elements 2026-02-09 19:11:00 +01:00
Your Name
8df50f5e79 Better formula elements loading 2026-02-09 17:34:20 +01:00
Your Name
091dd9d4ec Collapsable description 2026-02-09 17:10:47 +01:00
Your Name
7728498bf9 simplified error handler 2026-02-09 17:01:00 +01:00
Your Name
77f62396e0 Error handling 2026-02-09 16:57:53 +01:00
Your Name
5ef88beef5 con drift 2026-02-07 17:01:37 +01:00
Your Name
20a981ad9f antes de drift 2026-02-07 16:16:00 +01:00
Your Name
e867954f6f more formulas 2026-02-07 12:52:55 +01:00
Your Name
f43d2bcce3 better witdh and price comparation formula 2026-02-07 12:39:26 +01:00
Your Name
ffe1326629 Used qwen to validate allowed values 2026-02-07 11:45:25 +01:00
Álvaro González
9ea3b88684 WEB_PORT, para juntar en master 2026-02-01 16:16:04 +01:00
Álvaro González
1a076dff6c Apgar ya funciona, no estoy muy contento con indexOf, variableAllowedValues y variableValues 2026-01-31 19:53:12 +01:00
alvaro@a37
8283941125 Funciona hot-reload, no funciona cambiar las unidades del output 2026-01-28 14:06:57 +01:00
Álvaro González
28671888e1 Docker basado en un sh en vez de en compose 2026-01-28 11:04:33 +01:00
Álvaro González
57becb5577 algún avance con copilot en apgar 2026-01-25 19:20:28 +01:00
Álvaro González
b2ffea801a formula works, mergin in main 2026-01-25 19:03:57 +01:00
Álvaro González
fd5999d586 Better apgar formula 2026-01-25 18:39:43 +01:00
Álvaro González
76769973f3 can't make valiation on each user interaction 2026-01-21 08:49:56 +01:00
Álvaro González
13612e7601 preparando apgar 2025-11-09 20:29:58 +01:00
Álvaro González
e04276cb2a añado escalas no numéricas 2025-11-05 12:59:57 +01:00
Álvaro González
26ad07d076 Preparo para fórmulas que devuelven cadenas 2025-11-05 10:35:53 +01:00
Álvaro González
82d29022a6 elimino una reevaluación de los inputs 2025-10-16 19:28:17 +02:00
Álvaro González
d58a6cda8f conversión de unidades con expresiones y con sentencias 2025-10-15 10:10:29 +02:00
Álvaro González
a48182ffbf error en conversor de temperaturas 2025-10-14 19:21:35 +02:00
Álvaro González
0c4fef93c1 preparo dependencia editor, y D4rtEditingController 2025-10-13 16:31:26 +02:00
Álvaro González
2c0fcc8b4e antes de aider y un widget nuevo 2025-10-13 09:29:58 +02:00
Álvaro González
5a8f9de2a1 preparado para expresiones en los valores de entrada 2025-10-05 17:25:49 +02:00
Álvaro González
daa8b31879 Raw strings in formulas, to avoid $$ 2025-10-05 16:53:46 +02:00
Álvaro González
ba6c761cee Test for d4rt 2025-09-22 17:00:34 +02:00
Álvaro González
80d6c7d0df feat: use Math namespace for pow function in formulas 2025-09-22 13:35:18 +02:00
Álvaro González
88f55a1e32 feat: add search functionality for formulas by name and tags 2025-09-22 10:42:43 +02:00
Álvaro González
00eb595d2d feat: add FormulaList widget and force unit definitions 2025-09-21 21:35:20 +02:00
Álvaro González
681d9215b3 formulas lacked final semicolon 2025-09-21 16:53:50 +02:00
Álvaro González
e593c997cb feat: add angle and force units, correct unit references and tests 2025-09-21 16:44:48 +02:00
Álvaro González
d3dce8794c removing initial unit list, more units and formulas 2025-09-21 16:35:54 +02:00
Álvaro González
ba0476ed26 towards a full example of corpus 2025-09-20 16:46:21 +02:00
Álvaro González
1da336e71a feat: add markdown support for formula descriptions 2025-09-16 22:01:34 +02:00
Álvaro González
1a7fd0c884 feat: add tags support to formulas 2025-09-16 18:22:29 +02:00
Álvaro González
d396d71afc more example formulas 2025-09-16 18:14:39 +02:00