logseq / logseq/logseq

Is there a way to choose image naming convention?

Open
#5,956 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:type/enhancement
Dominant language
Clojure
Stars
45k
Forks
2.8k
Avg merge
1d 22h
Merged PRs (30d)
105

Description

For example, when I have a screenshot in my clipboard and paste it into Logseq, the image will be automatically stored in assets/ folder with a name like image_1657174168318_0.png.

However, I’m used to name the pic with a timestamp like image_2022_07_07_21_42_39.png.

When I need to search for a specific image in assets/, it'll be easier to find with a timestamp in its name.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing how clipboard screenshots are pasted into Logseq and how the resulting files are named in the assets/ folder. Check whether the naming convention is configurable and identify the existing image-paste tests, if any. Done means users can choose a timestamp-based convention such as image_2022_07_07_21_42_39.png and pasted images are stored accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.