GithubHelp home page GithubHelp logo

hal_md's People

Contributors

thephm 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hal_md's Issues

Change templates to use snake_case instead of kabob-case

I realized a couple of things about my frontmatter field names, namely that using kabob-case style field names has two negative side effects:

  1. when you double click on them in Obsidian or VS Code, it only selects kabob and not the entire field name
  2. when I try to use them directly in Python using setattr() or getattr(), the dash - causes issues

So, for these two reasons I'm changing the templates and my code to use snake_case instead, i.e. using underscore character _ instead of dash character - to separate words in the field_names.

Note embedder tool

Include each of the individual, dated Markdown note files (chats, emails, calls) into the Person's profile under ## Notes so you can see the entire communication history with the person.

Steps:

  1. Go through each folder folder-name under People
  2. Find all files with names YYYY-MM-DD
  3. Create a list of them like this, ordered oldest to newest
![[spongebob/2017-08-13]]

![[spongebob/2022-12-06]]
  1. Open the corresponding person file where slug = folder-name
  2. Find the section ## Notes
  3. After any bulleted list items (individual notes), replace what is there with the new list of embedded files

Existing person file:

## Notes

- [x]  2019-03-16: Update his profile

![[spongebob/2017-08-13]]

Becomes

## Notes

- [x]  2019-03-16: update his profile

![[spongebob/2017-08-13]]

![[spongebob/2022-12-06]]

Add a video of this working in Readme

Hi...

I apologise first if this is too much of strain on you to do it. I actually emabarked on a journey to do this. And a team member sent me this. And I am actually blown away by this.

If possible can you add a video of this working in the Readme?

One of the things I want in this is to also somehow share this with my team so we can have one source of truth for our organisation. Maybe its will be too much but I would be happy to contribute to this if I take this up.

Thanks

Embed notes with `YYYY-MM-DD blah` where `blah` is something after the filename

Sometimes I have multiple files for a specific day for a person. For example, if I get an email from them and I have a Signal chat. When this happens I sometimes override the filename

e.g.

2022-03-24.md
2022-03-24 - email.md

Would be good to embed both of those files.

That said, sometimes I have duplicate files like when there are sync issues in Syncthing, so I definitely don't want those embedded. Same for cases where I may have dragged and dropped a file and Windoze appended a 1 or 2 to the filename

2024-03-24.md
2024-03-24 1.md

Add an option to include files with names starting with `YYYY-MM-DD`

md_interactions.py script only includes files with names YYYY-MM-DD.md but sometimes I have multiple files on the same day for the same person, e.g. a file with tags: email and another with tags: email. I usually have the chat files named with YYYY-MM-DD.md and the email files named with YYYY-MM-DD - email.md. With this improvement, all of them would be embedded in the Person's profile file body within the ## Notes section.

Set last-contact frontmatter field based on most recent note file

Steps:

  1. Go through each folder folder-name under People
  2. Find all files with filename format YYYY-MM-DD.md
  3. Find the most recent one, e.g. 2022-12-06.md
![[spongebob/2017-08-17]]

![[spongebob/2022-12-06]]
  1. Open the corresponding person file where slug = folder-name
  2. Set the last-contact YAML Frontmatter field to the value e.g. 2022-12-06
last-contact: 2022-12-06

see all birthdays by month in a single file

There may be some use cases where someone wants to use a single markdown file Birthday.md to see all birthdays by month.

Example:

January

[/^(birthday)/: /.*01-\d{2}$/]

February

[/^(birthday)/: /.*02-\d{2}$/]

etc...

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.