gr0grig / obsidian-virt-folder

Creating a hierarchical structure like Luhmann's Zettelkasten
MIT License
24 stars 0 forks source link

Have to issue command twice to reveal file #8

Open kmaustral opened 2 months ago

kmaustral commented 2 months ago

Thanks for your plugin. I'm beginning to use it more often. It's very useful.

Currently, when I select Reveal File, it opens the side bar but all the folders are collapsed. It's only when I do it again that the relevant folder is shown.

While there, it would be useful to highlight the revealed file.

gr0grig commented 2 months ago

Yes, such bug exists. Just press the same button a second time. I'll fix it when I get around to it, thanks for reminding me.

By the way, the opened file is already highlighted.

kmaustral commented 2 months ago

Thanks for the reply. The highlight doesn't show in the Primary theme. Perhaps there might be a way of customising it.

gr0grig commented 2 months ago

Please clarify what version of the plugin (and obsidian) you have? Is it mobile? The highlight did not appear in earlier versions.

css

And if it's not too much trouble, can I see a screenshot like this?

kmaustral commented 2 months ago

I'm using 1.0.7.

I activated Reveal File for 2024.09.23

[image: image.png]

Let me know if you have any more questions.

Thanks Kevin

On Mon, 23 Sept 2024 at 03:16, gr0grig @.***> wrote:

Please clarify what version of the plugin you have? The backlight did not appear immediately.

css.png (view on web) https://github.com/user-attachments/assets/d9da66d7-0d59-491d-98d4-4544b090b728

And if it's not too much trouble, can I see a screenshot like this?

— Reply to this email directly, view it on GitHub https://github.com/gr0grig/obsidian-virt-folder/issues/8#issuecomment-2366880116, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6N7D23G26R2SFLOR2VDZX33QRAVCNFSM6AAAAABOPEHH5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRWHA4DAMJRGY . You are receiving this because you authored the thread.Message ID: @.***>

gr0grig commented 2 months ago

Unfortunately, when replying via email, the link to the image breaks.

kmaustral commented 2 months ago

Sorry. I trust this works. Nothing much to see. image

gr0grig commented 2 months ago

I misunderstood you when you said that this is a primary theme.

You can add this to plugin's styles.css

    .current_note
    {
        background-color: var(--background-secondary-alt);
    }

Or choose some other color constant

I'll think about whether it's worth bringing this into the settings.

kmaustral commented 2 months ago

Thanks. Sorry for my ignorance, but is this code sufficient to include, or do I need to specify the colour?

On Tue, 24 Sept 2024 at 16:38, gr0grig @.***> wrote:

I misunderstood you when you said that this is a primary theme.

You can add to plugin's styles.css

.current_note { background-color: var(--background-secondary-alt); }

Or some other color constant https://publish.obsidian.md/hub/04+-+Guides%2C+Workflows%2C+%26+Courses/Guides/Default+Obsidian+Theme+Colors

I'll think about whether it's worth bringing this into the settings.

— Reply to this email directly, view it on GitHub https://github.com/gr0grig/obsidian-virt-folder/issues/8#issuecomment-2370318531, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6NZ3SPTL67KUBQHF453ZYECF3AVCNFSM6AAAAABOPEHH5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQGMYTQNJTGE . You are receiving this because you authored the thread.Message ID: @.***>

gr0grig commented 2 months ago

This is the original code, you need to replace the color with a suitable one from the link.

gr0grig commented 2 months ago

I forgot one tag. I checked it on your theme, it works.

.current_note
{
    background-color: var(--background-primary) !important;
}
kmaustral commented 2 months ago

Thanks. That works now.

On Thu, 26 Sept 2024 at 00:53, gr0grig @.***> wrote:

I forgot one tag. I checked it on your theme, it works.

.current_note { background-color: var(--background-primary) !important; }

— Reply to this email directly, view it on GitHub https://github.com/gr0grig/obsidian-virt-folder/issues/8#issuecomment-2374328949, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTR6NZWSIY5LZGFD3B3D5LZYLE43AVCNFSM6AAAAABOPEHH5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZUGMZDQOJUHE . You are receiving this because you authored the thread.Message ID: @.***>