getodk / getodk/web-forms

Field/questions order

Open
#134 1 comment 0 reactions 0 assignees View on GitHub
deferred documentation xforms-engine
Dominant language
TypeScript
Stars
38
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Currently, the order of the children in the tree generated by xforms-engine is based on the order of the nodes in ``. It should be based on the controls in the ``.

This is a low priority issue, as it is extremely rare to see a mismatch between the order of `` and `` because pyxform orders them the same.

If we choose not to fix this, it would be nice to document this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the xforms-engine code that generates the tree and compare how children are ordered from nodes versus controls in . Reproduce a form where those orders differ, then verify that the generated tree follows ; if the project declines the behavior change, document the current ordering instead.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.