typst-community / typst-community/prequery

Add ability to look into queried values (by hoisting the `context`)

Open
#2 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Typst
Stars
16
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Context (ability to compare results of 2 queries).

To be able to analyze queried value, the context from prequery must be hoisted/outsourced, so the usage is like this: context prequery(...). Perhaps this can be either a different function or just adding a named parameter use-context: true by default.

Contributor guide

No contributing guide indexed for this repository

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 reviewing the prequery entry point and the linked Context discussion about comparing two query results. Determine how prequery currently handles its context and clarify whether hoisting it or adding a named parameter is intended. Done means queried values can be inspected and results from two queries can be compared.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.