bjsi / bjsi/incremental-writing

Don't overwrite frontmatter parameters not known to incremental-writing plugin

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
209
Forks
16
PR merge metrics
No merged PRs in 30d

Description

As a user I want to use the css helper classes provided by a theme like minimal. Those css helper classes are defined in the frontmatter of the file (see example). After adding a note to the queue or getting the next repetition the frontmatter is overwritten by the queues frontmatter and deleted the additional frontmatter information.

example of additional frontmatter info that should survive interacting with the queue

```
---
cssClass:
- table-max
- row-alt
---
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the frontmatter-writing path used when adding a note to the queue or requesting the next repetition. Trace how queue frontmatter replaces the existing metadata, then verify that unknown fields such as cssClass survive both interactions without changing the queue's own frontmatter.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.