handsontable / handsontable/hyperformula

Sequence detection (e.g. for dragging the fill-handle in UI apps)

Open
#903 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.