Open Issues Need Help
View All on GitHubAI Summary: The Language Server Protocol (LSP) incorrectly flags `<mathList>` as an invalid child of `<boolean>`, preventing auto-completion, despite it being valid DoenetML. This happens because `<mathList>` is a composite component that transforms into `<math>` elements before `<boolean>` evaluates its children, but the schema doesn't reflect this pre-transformation validity. The solution involves updating the schema by setting `allowInSchemaAsComponent` for list tags to include their component type (e.g., `["math"]`).
AI Summary: This issue requests adding missing test coverage to the `normalize-dast.test.ts` file. Specifically, tests are needed for new 'sugar' components like `solution/givenAnswer`, `aside/proof`, and `pretzel` that were recently added to the DAST normalization logic.
AI Summary: This issue requests documentation for two newly added components, `<shortDescription>` and `<description>`, which were introduced in a previous pull request. The task involves creating clear and comprehensive documentation for these components.
AI Summary: The current renderer for the DoenetML `<p>` component uses an HTML `<p>` tag, which causes DOM warnings when DoenetML allows nested `<p>` elements. The proposed solution is to change the renderer to use an HTML `<div>` with a specific class, similar to how PreTeXt handles this, to avoid these warnings.
AI Summary: This issue requests the addition of documentation for the `<pretzel>` component. The documentation should specify that it uses `<answer>` tags and should not mention the `<givenAnswer>` tag.
AI Summary: This issue proposes consolidating error and warning reporting across multiple packages into a single data structure. Currently, separate arrays are used for errors and warnings, which can be simplified by using a union type array and filtering at the end. This change aims to reduce code duplication and improve maintainability.