NotePlan / NotePlan/plugins

Rich Text Output Window Not Opening

Offen
#446 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
204
Forks
82
Ø Merge
22 Std. 27 Min.
Gemergte PRs (30 T.)
3

Beschreibung

Describe the bug
When I execute /projects lists (or other associated commands) while the plugin is configured to output Rich Text - it yields no output. The plugin will show "Generating Project Review List" and markdown versions (if selected) will be generated not rich text.

To Reproduce
Steps to reproduce the behavior:

  1. Execute /project lists from the respective plugin menu.

Expected behavior
Outputs the Rich Text version.

Screenshots
NA

System

  • Device: MacBook Pro
  • OS: macOS Venture: 13.3.1 (a) (22E772610a)
  • NotePlan Version: 3.9.1 (1030)
  • Plugin Name & Version: Project + Reviews v0.10.1

Additional context
Only that it seems isolated to a particular system / combination. Works on there machines.

Plugin Console Log
To provide us with more clues about where the bug/error is occurring...

  1. Open the Plugin Console by going to Noteplan > Help > Plugin Console
  2. Run the plugin you're reporting
  3. Copy the output from the Plugin Console and paste it below
  4. Delete any output that has personal information you don't want in there
Executing function 'makeProjectLists'
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:20 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | renderProjectListsHTML :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined
2023-05-09 08:45:21 | WARN  | NPparagraph/getOrMakeMetadataLine :: Warning: Can't find an existing metadata line, so will insert a new line for it after title
2023-05-09 08:45:21 | ERROR | Project constructor :: Expected string, got undefined

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, /project lists mit ausgewähltem Rich Text zu reproduzieren und die Ausgabe der Plugin Console zu überprüfen. Verfolge makeProjectLists und renderProjectListsHTML und konzentriere dich dabei auf die wiederholten Fehler „Expected string, got undefined“ vom Project constructor. Als erledigt gilt es, wenn sich das Rich Text-Ausgabefenster öffnet und die generierte Projektliste ohne diese Fehler anzeigt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
desktop, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.