Giter Site home page Giter Site logo

obsidian-calendar-plugin's People

Contributors

anilseervi avatar aplio avatar ericaxu avatar liamcain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-calendar-plugin's Issues

Right click on a date/week to access the note's context menu

Maybe right clicking on a day/week could behave the same as right clicking in the note on the file tree, and have at least the following options:

  • delete
  • copy obsidian url
  • show in system explorer

and maybe "make a copy" too? the "rename" does not make that much sense to be honest.

What drove this feature request is that I have found myself clicking on a day, creating a note by mistake and then trying to right click it to delete it.

Theme about OB

I'm terribly sorry, but I have an unrelated question.
I really like your OB theme. Can you share it? Thank you!

image

Idea: Show backlinks underneath most recently opened daily note

Request from Discord:

if i use backlinks, it only shows the backlinks of the current note that is open. I'm trying to just see all notes that have [[date]] on the day you click on your calendar. So its almost like its own search engine separate from backlinks of the open note

Add visualization for important dates

Hi, thank you so much for making this plugin, which makes joy when using the daily notes plugin.
I have a request (if it's possible), that is giving a mark/highlight to the calendar for daily notes which contain #important tag?

Thanks again!

Add an option to manage more than one calendar

Besides Daily notes with my schedule, I write an additional personal journal where I describe my personal affairs.
That notes are stored in another folder and have other filenames.
If I could travel be each note type separately in calendar form I would be very happy

Obsidian Calendar Theme

Hello,
This isn't really an issue, but I was wondering what theme you used in the screenshot you have in README.md. It looks really good and I'd like to use it myself.

Thanks!

Switching between daily notes does not update the currently displayed month

Request from discord:

hi liam - kinda minor, but the calendar redraw on switching between two daily note panes doesn't switch the month if required.

Current thinking:

anthonyg that's intentional for now. I want changing the calendar month to be a more deliberate choice. I'll file an issue on github to track but I'm more inclined to add a command palette command to 'reveal active file on calendar'

Customize daily progress indicator

It isn't clear to me what dots represent - every 100 words? In any case, I'd like if I could define a daily target (e.g. 1000 words).

Not sure how feasible it is, but it'd be nice if there was a filled percentage of each box (e.g. box is blank normally, fills with white) as it nears the target. Even absent this, defining the words per dot would be nice.

Wildcard for notes titles

Wildcard matching for people who use something like "YYYY.MM.DD — NOTENAME". In that case I imagine something like "YYYY.MM.DD — *".

Wrong position for Sunday in template (when start week from Monday)

I love this update version(1.3.1)very much, it helps me a lot on weekly note, thanks for your great job!
Would you pls check the pic, I'm used to starting the week from Mon, but when I use following template, the Sunday seems still be last week of Sunday. Could you kindly fix it?

# {{title}}

## 🌟🌟🌟
- [ ] 
- [ ] 
- [ ] 

## {{monday:YYYY-MM-DD [Mon]}}
- [ ]  

## {{tuesday:YYYY-MM-DD [Tue]}}
- [ ]  

## {{wednesday:YYYY-MM-DD [Wed]}}
- [ ]  

## {{thursday:YYYY-MM-DD [Thu]}}
- [ ]  

## {{friday:YYYY-MM-DD [Fri]}}
- [ ]  

## {{saturday:YYYY-MM-DD [Sat]}}
- [ ]      

## {{sunday:YYYY-MM-DD [Sun]}}

WX20201127-170120@2x

Add i8n support

Waiting on the following:

  • Locales added to Obsidian's version of moment

Current date only changes on refresh/reload

Great work on this plugin! I came across a minor issue. If Obsidian remains open (I tend to never close it) it seems like the active day will not change. After a quick look, it appears that const today = (window as any).moment(); isn't refreshed at all. Maybe a refresh when using the Open today's Note keystroke could do the trick to always show the active day.

Calendar navigation doesn't adhere to pinned windows

OS: Windows 10
Obsidian v.0.9.11

As usual, LOVING this plugin. Recently, I noticed that there has been a bug with regards to pinned windows. In Obsidian, typically if a window is pinned, if I try to open another window, it opens in a new pane. However this plugin seems to override that. If I pin a note and try to open a new daily note from the calendar plugin, it always opens on the pinned note instead of opening a new window. Note that this does not occur if I open a daily note from Obsidian's navigation.

Pinned window
image

Overridden pinned window after opening daily note from calendar plugin
image

Documentation enhancement: Explain how to open calendar view

I installed the plugin, no errors were reported - but I'm unable to switch to any calendar view.
There is no content menu entry on the daily notes folder, there does not seem to be a hotkey.

Would be great if the documentation not only showed the plugin in action but also how to actually use it.
(I'm running Obsidian 0.9.10.)

Add comments to CSS

There will be many CSS for plugins. To add comments of:

  • the name of the plugin
  • link to plugin

Will be good practice to do.

My suggestions:

/* Obsidian-calendar-plugin */
/* https://github.com/liamcain/obsidian-calendar-plugin */

#calendar-container {
  --color-border: #2e3440;
  --color-hover: #3b4252;
  --color-empty: #434c5e;
  --color-dot: #81a1c1;
  --color-active: #bf616a;
  --color-today: rgb(72, 54, 153);
}

CSS For Weekends

I like to have the weekend columns a different color on my Calendar so it's easier to know which days are the weekend. This is helpful since I use Monday as the first day of the week, but am conditioned to think of Sunday as the first.

I'd be fine with the dates themselves a different color, though I'd prefer to have the entire column a different color.

Display week number + link to related page

I live by week numbers. For instance, this week's number as of 2020-11-02 is 45.

It would be useful for me if Calendar plugin would display it.

Even greater to me would be the ability to link that week number to its related page, with the ability to customize the pattern for the path of said weekly pages.

Cheers, and thanks for the fish ;-)

Open (and pin) calendar as an independent pain.

Hi Liam,
Thanks for the wonderful plugin!

It would be nice if the calendar could be opened as an independent pain, the same way as the Graph view (and local graph view) can be opened in new pain.

This way, one can have it always open (and pin it to the workspace) and would not require the whole left sidebar to be expanded. (I am using Obsidian on a vertical screen and opening the left sidebar takes virtually 30% of the space 😅.)

Doesn't recognize existing daily notes

Using calendar plugin v1.1.3 / Obsidian 0.9.10 / Ubuntu 12.04.

My daily notes settings are as follows:
image

Once the calendar plugin is displayed, clicking on a 2020-10-30 leads to this warning:
image

The note for that day does exists; its path relative to the root vault is j/2020-10-30 Fri.md, as can be deduced from the daily notes settings.

Change of the background

Screenshot 2020-10-30 at 11 58 15

I cannot find classes where I can change the background of remaining days to transparent.
Im talking about days...
1,2,3...
13,14,15...and so on

CMD + hover > Preview note

It will be amazing to add this functionality!

  • holding CMD
  • hovering inside calendar
  • pop-up preview of note will appear
  • dropping CMD > pop-up will vanish

Weekly note file name syntax

Hi, I have had my file name syntax for years: Week-YYYY-ww. The Calendar plug-in translates the word Week into a number. What should I put to get the word "Week" (w/o the quotation marks).

No calendar

Hi,

This plugin looks awesome, and I have installed it on Obsidian 0.9.10. But I am not able to get the calendar to display anywhere?

  • there is no keyboard shortcut
  • there is no command in the command palette
  • there is no 'Calendar' menu item in any of the pane menus

So how do I get started with this thing?

Failure in reading daily note template

OS: Windows 10
Obsidian Version: 0.9.10
Plugin Version: 11.7

For about the last day, I have been receiving an error that the daily note template cannot be read. I doubled checked all the settings and everything is ok. When I use Obsidian's native daily note creator button, there is no issue using the daily note template.

image

image

Fails to create new daily note

When clicking on a day without an associated note, and clicking create, the plugin fails to create a new page with the following error. Using Obsidian Version v0.9.11 on Windows 10 and plugin version v1.2.2.

app.js:1 Uncaught (in promise) TypeError: Cannot read property 'cachedData' of null
    at t.<anonymous> (app.js:1)
    at app.js:1
    at Object.next (app.js:1)
    at app.js:1
    at new Promise (<anonymous>)
    at s (app.js:1)
    at t.cachedRead (app.js:1)
    at getDailyNoteTemplateContents (eval at <anonymous> (app.js:1), <anonymous>:1091:22)
    at createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1112:36)
    at CalendarView._createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1239:33)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
t.cachedRead @ app.js:1
getDailyNoteTemplateContents @ template.ts:41
createDailyNote @ template.ts:68
_createDailyNote @ view.ts:134
onAccept @ view.ts:148
eval @ modal.ts:30
async function (async)
eval @ modal.ts:30

Add a monthly note

I find extremely useful to have a monthly note where I keep my TODOs for example.
A little bit in the bullet journal philosophy.

We could click on the month in the calendar to go to it.
Or ctrl+p "Open this month's note" or "Open monthly note".
This would probably require another configuration for the monthly naming schema.

This also opens the question if an yearly note makes sense, and to be honest, I have not yet felt the need for it.

Plugin not working with Obsidian 0.9.10

I love the idea of this plugin, but.. its doing "nothing" for me on Win 10 Obsidian 0.9.10 - I click the days and nothing happens.
Am I missing something?
I saw no mention of this 0.9.10 release on their Twitter - so I was pleasantly surprised to be able to run 3rd party plugins today :)

Different CSS class name

For some reason the CSS class name of the plugin is:

#calendar-container.svelte-wd85n9.svelte-wd85n9 not #calendar-container

Request: don't confirm new pages

Hello,

the plugin is working great now! I'm not sure why one needs the popup confirming creation of new pages - that's an easy operation to undo and empty pages don't do a big harm IMO.

Would love to disable that as an option.

Cheers!

Allow disabling of words per dot

Please allow a setting of "0" in words per dot to effectively disable the setting (hide all dots in the calendar). This would still allow the plugin to be used for task management (open dot for open tasks).

Variable for year color

I might be missing something, but there doesn't seem to be a separate variable for changing the color of the year. Matching the theme accent color is a little too eye-catching for me.

Thanks for a great plugin!

Does not recognize daily note folder

OS: Windows 10

I have a daily note folder to keep my daily notes away from the main pane. However the plugin isn't recognizing it. It will only recognize daily notes that are in the main folder. When I make a daily note thru the app and then move it, it also breaks the recognition and says it doesn't exist.

Failed to install

The plugin give "fail to install" message when installing via Obsidian 0.9.9

Incomplete TODO indicator does not handle * [ ]

I was trying to figure out why my TODOs were not showing up as incomplete in the calendar.
Apparently, obsidian prefers the notation - [ ], but it also formats * [ ], which I was using.
As soon as I switched, it worked.
Should you support the Obsidian supported, but apparently non standard notation too?

Request: Configure dot threshold

A request from discord:

Is there a way to see a threshold on the dots? My daily notes template contains enough text on it's own to get two dots so I was wonder if I could adjust that to be what is considered a one dot amount of text and scale the other dots from there.

Cannot create dailynote correctly

Operating System: Win10

What I wanted to see: When I clicked the button to create a daily note of one day, it could generate the daily note well.

What I saw: When I clicked the button, an error message appeared in the console:

Uncaught (in promise) Error: File name cannot contain any of the following characters: * " \ / < > : |

What I changed on the Daily note plugin:

image

When I changed the default format of dailynote or changed the default storage location of dailynote, this bug would appear.

Enhancement: Enable the calendar to resize automatically to fit horizontal container

I've recently started using the Calendar plugin, and it's awesome! One thing I'd love to see is the option to automatically resize the width of the calendar to fit the container.

20201126_075709_screenshot

Steps to reproduce

  1. Enable the Calendar plugin in the Obsidian sidebar
  2. The calendar has a fixed width in wider sidebars
  3. Resizing the sidebar doesn't resize the calendar unless the sidebar is resized to be as narrow as the calendar

What I'd like to see

I'd like to see the calendar resize horizontally to fit the container, here:

Markup on 2020-11-26 at 08:02:57

What happened instead

As I mentioned above, the calendar has a fixed, maximum width, so it doesn't look as good as it would if it resized automatically.

App / plugin / OS version

Obsidian: v0.9.16 and v0.9.17
Calendar: v1.3.1
OS: macOS 11.0.1

CSS not working

For some reason the CSS class name of the plugin is:

#calendar-container.svelte-wd85n9.svelte-wd85n9 not #calendar-container

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.