Giter VIP home page Giter VIP logo

yesterday-tomorrow's Introduction

This extension allows you to have buttons for Yesterday, Today and Tomorrow Daily Notes Pages added to your Roam Top Bar.

New:

  • Added commands for go to previous day, next day and today to Command Palette. This allows you to use Roam Hotkeys to create keyboard shortcuts to move dates. You can create Hotkeys to open in the main window or the right sidebar. It even works with Perpetual Mode.
  • Perpetual Mode allows you to use the yesterday and tomorrow buttons as backward and forward buttons instead. Each click will go back or forward another day. Date labels will update to always show the correct relative dates. Of course, you can keep perpetual mode switched off and just use the buttons as they've always functioned as yesterday, today and tomorrow buttons.
  • Prefer log page to today's date - turn this on if you prefer the Today button to navigate to the RR log page rather than the dated page for Today.

image

The extension will create the required DNP page if there isn't already one assigned to those dates.

You can choose to display Yesterday and Tomorrow as dates, using international or US styling if you prefer.

image

There is also an option to hide the text labels and only display the icons:

image

The buttons will automatically shrink to show only the icons with the text on smaller screen sizes.

image

Hold shift to launch the page in the right sidebar.

yesterday-tomorrow's People

Contributors

mlava avatar

Stargazers

404 [[ ]] KIDS SEE GHOSTS avatar

Watchers

 avatar

Forkers

dropcase

yesterday-tomorrow's Issues

๐Ÿ‘‹ Today button cannot be clicked and does not work

Hello, could you help me check why this extension does not work in my graph? The today button in the middle of this extension cannot be clicked, and the left and right buttons can be clicked. However, when it is on a non-DNP page, the left and right buttons cannot be clicked, and only the middle one can work.

I tried my other graphs and this extension is worl, but this one cannot be used and is not work. Could you help me check the problem?

https://roam-research-6a2c436dc9f6.intercom-attachments-3.com/i/o/1083496246/7ada3699f662b0e6ef4ebf3d/bandicam+2024-06-16+20-17-25-880.mp4?expires=1718542533&signature=7dacebcacb00ef166b8e314e764521e8e6e85e0ea238be0b81017ecc28771d46

image

Button clicks are sometimes ignored

This is great, thank you for building it! Unfortunately buttons work very unreliably for me :( sometimes clicking them works and sometimes is ignored.

On skimming the code (and from my prev experience) my guess is that it may be because plugin is relying on Date page uid being in the form like 02-23-2023 which doesn't necessarily hold (sometimes it's just an random char uid like other pages).

The way I reliably obtain current/prev/next days in other plugins I've built is by doing date page search by name

I love the extension! I would love it even more if you would consider implementing two features/options...

Hi Mark - love the extension. I would love it if you would consider implementing two features/options:

  1. Have the Today button go to the current DNP the same way that Alt-D does, so that the "VIEW MORE" option appears below the current DNP listing.
  2. An option to allow the Yesterday and Today buttons to become previous/next day buttons, instead of just the day before or after the current date.

Thanks for listening!

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.