NotePlan / NotePlan/plugins

HTMLView failing to update (occasionally)

Open
#520 9 comments 0 reactions 1 assignee View on GitHub

@EduardMe is already working on this.

Since Jan 27, 2024.

API bug P-7
Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Description

A few times now I've had an existing HTMLView window failing to update, but without any errors in the np-out or np-error logs.

More detail: I've had either Dashboard or Project List window open. I've hit update on the window, and all my usual debug logging shows the expected work, up to and including the usual messages about finding the existing window and calling await HTMLView.showWindowWithOptions(). This call seems to return a valid object, as I can read the .customID and .id from it.

The copy of the HTML that I additionally persist to disk is fine.

But the HTMLView does not update at all, instead just stays the same.

This feels related to the as-yet-unidentified-cause of the missing requiredFiles file that occasionally drops .css files. (Reported in ⁠Occasional loss of a Required File)

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.