handsontable / handsontable/hyperformula
Sequence detection (e.g. for dragging the fill-handle in UI apps)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 171
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 7
Description
Description
Many popular spreadsheet applications have the ability to detect the arithmetic/geometric/weekdays/etc sequences and fill the destination range by the continuation of a sequence. E. g.:
1,2,3 -> 4,5,6,7...
Monday, Tuesday -> Wednesday, Thursday, ...
"Day 1", "Day 2" -> "Day 3", "Day 4"...
We need a function that can return the continuation of a sequence given a few first elements.
Links
#887
https://superuser.com/questions/1334032/what-exactly-is-excels-auto-fill-algorithm
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 reading issue #887 and the linked Super User discussion to understand the expected sequence-detection behavior. Define the supported sequence types and the function's input and output contract before locating the appropriate HyperFormula entry point; done means the continuation behavior is specified and covered for representative arithmetic, geometric, weekday, and numbered-text cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100