Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
JackGruber committed Feb 17, 2024
2 parents d40465f + 3c97dd2 commit a69445c
Show file tree
Hide file tree
Showing 10 changed files with 247 additions and 64 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## not released

## v0.4.1 (2024-02-17)

- Fix: Increase thumbnail size for better previews, the Joplin zoom level is also taken into account #18
- Add: Option to mark notes as confidential #17

## v0.4.0 (2024-01-25)

> Severeal breaking changes, marked with ⚠️
Expand Down
61 changes: 35 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<!-- markdownlint-disable MD007 -->
<!-- markdownlint-disable MD045 -->

# Joplin note list preview <img src=img/icon_32.png>
# Joplin Plugin: Note list (Preview) <img src=img/icon_32.png>

A plugin to add a previw to the note list.
A plugin to add a preview to the Joplin note list.

<img src=img/main.png>

Expand All @@ -25,6 +25,8 @@ A plugin to add a previw to the note list.
- [Date and Tags](#date-and-tags)
- [Thumbnail right](#thumbnail-right)
- [Square Thumbnail](#square-thumbnail)
- [FAQ](#faq)
- [Confidential notes](#confidential-notes)
- [Changelog](#changelog)

<!-- /TOC -->
Expand Down Expand Up @@ -61,50 +63,57 @@ Joplin must be restarted after changing settings!

### Layout 1

| Thumbnail | Preview |
| --- | --- |
| Right | <img width="300px" src="img/layout1_img_r.svg"> |
| Left | <img width="300px" src="img/layout1_img_l.svg"> |
| No | <img width="300px" src="img/layout1.svg"> |
| Thumbnail | Preview |
| --------- | ----------------------------------------------- |
| Right | <img width="300px" src="img/layout1_img_r.svg"> |
| Left | <img width="300px" src="img/layout1_img_l.svg"> |
| No | <img width="300px" src="img/layout1.svg"> |

### Layout 2

| Thumbnail | Preview |
| --- | --- |
| Right | <img width="300px" src="img/layout2_img_r.svg"> |
| Left | <img width="300px" src="img/layout2_img_l.svg"> |
| No | <img width="300px" src="img/layout2.svg"> |
| Thumbnail | Preview |
| --------- | ----------------------------------------------- |
| Right | <img width="300px" src="img/layout2_img_r.svg"> |
| Left | <img width="300px" src="img/layout2_img_l.svg"> |
| No | <img width="300px" src="img/layout2.svg"> |

## Examples with settings

### Date and Tags

<img src=img/example_tag.png>

| Setting | Value |
| ------- | ----- |
| Note excerpt | 115 |
| Last line | {{tags}} |
| Setting | Value |
| ------------ | -------- |
| Note excerpt | 115 |
| Last line | {{tags}} |

### Thumbnail right

<img src=img/example_thumbnail_right.png>

| Setting | Value |
| ------- | ----- |
| Thumbnail | Right |
| Note excerpt | 100 |
| Setting | Value |
| ------------ | ----- |
| Thumbnail | Right |
| Note excerpt | 100 |

### Square Thumbnail

<img src=img/example_layout2_square_right.png>

| Setting | Value |
| ------- | ----- |
| Layout | Layout 2 |
| Thumbnail | Right |
| Item height | 95 |
| Thumbnail size | 85 |
| Setting | Value |
| -------------- | -------- |
| Layout | Layout 2 |
| Thumbnail | Right |
| Item height | 95 |
| Thumbnail size | 85 |

## FAQ

### Confidential notes

Notes can be marked as confidential using tags or the context menu.
The tags witch mark the note confidentiality must be configured in the plugin settings.

## Changelog

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joplin-plugin-notelistpreview",
"version": "0.4.0",
"version": "0.4.1",
"scripts": {
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
"prepare": "npm run dist && husky install",
Expand Down
10 changes: 9 additions & 1 deletion src/locales/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@
"todoDueColorDone": {
"label": "Farbe ToDo erledigt",
"description": "HTML Font Farbe für das ToDo Datum, wenn die Aufgabe erledigt ist"
},
"confidentialTags": {
"label": "Vertrauliche Tags",
"description": "Komma getrente Liste von Tags, welche die Notiz als Vertrauliche markiert"
}
},
"msg": {
Expand All @@ -92,5 +96,9 @@
"cleanResourcePreview": "Fehler beim Aufräumen der Vorschaubilder",
"deleteLogFile": "Fehler beim löschen der alten Logdatei"
}
}
},
"cmd": {
"toggleConfidential": "Vertraulichkeitsstatus der Notiz umschalten"
},
"confidentialNotetext": "Vertrauliche Notiz, keine Vorschau verfügbar"
}
10 changes: 9 additions & 1 deletion src/locales/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@
"todoDueColorDone": {
"label": "Color ToDo done",
"description": "HTML font color for the ToDo date when the task is completed"
},
"confidentialTags": {
"label": "Confidential tags",
"description": "Comma separated list of tags which will be used to define a note as confidential"
}
},
"msg": {
Expand All @@ -96,5 +100,9 @@
"cleanResourcePreview": "Error when cleaning up the preview images",
"deleteLogFile": "Error when deleting old logfile"
}
}
},
"cmd": {
"toggleConfidential": "Toggle note confidential status"
},
"confidentialNotetext": "Confidential note, no preview available"
}
18 changes: 4 additions & 14 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,14 @@
"manifest_version": 1,
"id": "io.github.jackgruber.notelistpreview",
"app_min_version": "2.13",
"version": "0.4.0",
"version": "0.4.1",
"name": "Note list (Preview)",
"description": "Displays a note preview in the note list",
"author": "JackGruber",
"homepage_url": "https://github.com/JackGruber/joplin-plugin-hotfolder/blob/master/README.md",
"repository_url": "https://github.com/JackGruber/joplin-plugin-notelistpreview",
"keywords": [
"preview",
"vorschau",
"notiz",
"note",
"notelist"
],
"categories": [
"themes",
"viewer",
"appearance"
],
"keywords": ["preview", "vorschau", "notiz", "note", "notelist"],
"categories": ["themes", "viewer", "appearance"],
"screenshots": [
{
"src": "img/main.png",
Expand All @@ -45,4 +35,4 @@
"icons": {
"256": "img/icon_256.png"
}
}
}
Loading

0 comments on commit a69445c

Please sign in to comment.