Coder Social home page Coder Social logo

obsidian-new-bullet-with-time's Introduction

New bullet with time

A plugin allows you to auto add current time to new bullet line.

you should have something like this(Bullet that begins with time):

- 12:00 something | <-- (Enter here)

get:

- 12:00 something 
- 12:01 (time)

Features

You can set the default behavior in plugin settings.

  • Time format: use for inserting time in your favor time format.
  • Regex for time format: use for testing last bullet line contains time or not.

How to Install

From Plugin Market in Obsidian [Not Yet]

💜: Directly install from Obsidian Market.

From BRAT

🚗: Add Quorafind/obsidian-new-bullet-with-time to BRAT.

Download Manually

🚚: Download the latest release. Extract and put the three files (main.js, manifest.json, styles.css) to folder {{obsidian_vault}}/.obsidian/plugins/obsidian-new-bullet-with-time.

Say Thank You

If you are enjoying this plugin then please support my work and enthusiasm by buying me a coffee on https://www.buymeacoffee.com/boninall.

obsidian-new-bullet-with-time's People

Contributors

quorafind avatar

Stargazers

Alex Zhao avatar a13ph avatar Leyang avatar Ferg avatar  avatar Iris Young avatar Brian Anderson avatar  avatar  avatar Ben Williams avatar Boticello avatar ottsch avatar Otto avatar Espen Ødegaard avatar  avatar Briggs Tucker avatar Zubayr Ali avatar Brandon Hicks avatar Sean O'Mahoney avatar  avatar Kevin Cashman avatar  avatar Carl Furrow avatar Fog3719 avatar  avatar lesserror-hxr avatar  avatar Ishan avatar Bram Adams avatar  avatar

Watchers

 avatar  avatar

obsidian-new-bullet-with-time's Issues

[Bug]: Not working on iOS

Bug Description

On desktop - When I press ENTER after typing a bullet, the plugin works perfectly, creating a time stamp next to the bullet as per below

image

But on iOS mobile app, when I press ENTER, I simply get the bullet without the time :(

Relevant Screenshot

No response

To Reproduce

No response

Obsidian Version

1.1.9

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

[Bug]: Time insertion doesn't work if bullet ends with *

Bug Description

Time insertion doesn't work if bullet ends with *, such as when the last word is Italicised, but also fails simply with a *.

Relevant Screenshot

No response

To Reproduce

  1. Create a list item with a valid time
  2. End the list item with * as the last character
  3. Press enter

Resulting behaviour
A new bullet, with no time added

Obsidian Version

1.1.6

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

Does not automatically add to bullet

Bug Description

It seems I'm only able to manually timestamp a bullet. How is it possible to automatically add a timestamp to a bullet as this plugin suggests?

Relevant Screenshot

No response

To Reproduce

No response

Obsidian Version

1.0.3

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

[Bug]: Time insertion doesn't work with bullets that have only a timestamp

Bug Description

Hi!

When I add text behind a timestamp, the plugin works as expected. (e.g - 12:00 hello)

But if just use the timestamp, and nest my notes under it the timestamp gets deleted on enter.

Here a video to show what I mean:
https://share.cleanshot.com/9yjt2t

I really like the idea of this plugin!

Thanks,

Daniel

Relevant Screenshot

https://share.cleanshot.com/9yjt2t

To Reproduce

  1. Add a timestamp (e.g - 12:00)
  2. Press enter

Obsidian Version

0.13.19

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

[Bug]: "Add time to the start" doesn't work on empty line

Bug Description

When starting a new bullet list, if I want to use time-stamped lines I use my hotkey for "Add time to the start", but the cursor is left at the start of the line, before the timestamp, instead of at the end. It only works if I use the command after entering text on the first line.

Relevant Screenshot

image

To Reproduce

  1. Start a bullet list
  2. Run the "Add time to the start" command from this plugin

Obsidian Version

1.1.16

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

[Bug]: BRAT failing to load plugin

Bug Description

BRAT is complaining that there is no manifest.json file, and will not load the plugin

Relevant Screenshot

No response

To Reproduce

No response

Obsidian Version

1.0.3

Which editor are you using?

  • New Editor
  • Legacy Editor

Checklist

  • I updated to the latest version of the plugin.

Feature Request: Allow users to change timestamps in settings without having to also update Regex. Either update regex automatically, or make Regex opt in.

Feature Requested

While some Obsidian users are programmers and familiar with things like regex, there are lots of users who aren't and wouldn't be able to change custom timestamps in the settings without knowing regex; Non-technical users may struggle with writing regex. I'm proposing one of two things, but prefer the first:

  • Add a checkbox to the settings for opting into checking bulleted lines for regex. If unchecked, then the extension would check on its own for if the timestamp is there. If necessary, it can generate regex on its own in the background.
  • Whenever the timestamp changes, generate the regex in the box.

Relevant Screenshot

No response

Checklist

  • The feature would be useful to more users than just me.

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.