core, report: one set of direction characters for every export

Open Beginner friendly
#897 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, markdown
Domain
cli, documentation

Research direction

Start with BIDI_CONTROLS in packages/pivotkit-core/src/csv.js and the list in packages/pivotkit-report/src/texts.js, and compare both against HIDDEN in src/util.js. Move the set into util.js and have both lists build from it, then update report's hostile.test.js and the core AGENTS.md line that names src/csv.js. Done when both lists are identical, U+206A–206F are included, and the tests pass.

Written by the indexing model from the issue text.

Description

BIDI_CONTROLS in src/csv.js and in packages/pivotkit-report/src/texts.js leave out U+206A–206F. Report's hostile.test.js pins the two lists to each other. HIDDEN in src/util.js removes these characters from imports and plain text.

Fix: define the set once in util.js and build both lists from it. Then update report's test and the core AGENTS.md line "BIDI_CONTROLS in src/csv.js". Related: #876.

Found in the full review (#775); not fixed in #869.

Dominant language
JavaScript
Stars
1
Forks
1
Avg merge
2h 59m
Merged PRs (30d)
404

Getting set up

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.

More from eizedev/pivotkit

All issues in eizedev/pivotkit

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.