Calculations, unit conversions and more inline in Text
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Is your feature request related to a problem? Please describe.
When you create documents including units or financial data, you often immediately need to go for a spreadsheet. Spreadsheets are very hefty and seem very rigid and difficult to approach for people not working day to day with them.
For small calculations or unit conversions, a simple way to embed them in Text via writing them or even using natural language would be helpful.
Describe the solution you'd like
There is a popular MacOS app called Soulver which does this very well: https://soulver.app/
We don’t necessarily have to have a vertical split line, results could also be shown using a bubble next to the calculation in question.
Two further apps which do it similarly are https://www.figr.app/ and https://notepadcalculator.com/
There are also some JS libraries of differing quality:
- https://github.com/bbodi/notecalc3 → guide at https://bbodi.github.io/notecalc3/guide.html
- https://github.com/LorenzoCorbella74/soulver-web
Describe alternatives you've considered
- Not doing it cause it’s quite complicated to get right.
- Using AI to do the same?
@juliusknorr curious about your take and if you thought about it before.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Text editor and the referenced JavaScript libraries, including notecalc3 and soulver-web, to understand possible approaches to inline calculations and unit conversions. The issue does not identify files, tests, syntax, or a defined completion scope; done would require an agreed design and implementation for the supported calculations and their presentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100