Code Monkey home page Code Monkey logo

Comments (7)

WetHat avatar WetHat commented on June 9, 2024

Hi muguu,

this is, sort of, already possible with the out-of-the-box tagging system. You can manually define person specific tasks like so:
image

These person tasks then can be added to tasks generated from outlook like so:

image

And finally collected via a Tag Summary like so:

image

The labor intensive part of this process is the manual creation and assignment of person tags. This is something an Outlook plugin could do automatically.

It looks like the feature request implies creation of an Outlook Task plug-in. This would be out-of-scope for this project, and would require a dedicated Outlook Task plug-in project,

What do you think?

WetHat

from onenotetaggingkit.

muguu avatar muguu commented on June 9, 2024

The reason why I abandoned OneNote years ago and started working with ZimWiki is because of the inconvenient way of handling tags.

So to give you more details on my use case:

image

Search gives back:

image

So technically, I wouldn't differentiate between normal tags and person tags. But I don't want to create a category for each tag I want to use as a person tag. In other words: Would it be possible to add a tag into a text which is set as a task?

Thank you and Regards,
Muguu

from onenotetaggingkit.

WetHat avatar WetHat commented on June 9, 2024

Hi muguu,

I think I understand your usecase. Technically it is possible to programmatically add tags anywhere on a page. The difficulty is more on the side of tag management. Tags managed by the tagging kit are managed in the page metadata (unlike genuine OneNote tags). A particular tag can appear only once on a page. If we would allow putting tags anywhere on a page this uniqueness criterion would no longer be feasible and we would need to manage multiple instances of a tag. Also since the tag is now visible, it could be deleted by the user outside of the tagging kit. Unfortunately OneNote events, such as the edit page event, are not passed through to the add-in (a generic limitation of .net add-ins) so we would loose track of those tags. Currently I see no way to make this work reliably. I need to think a bit more about this.

WetHat

from onenotetaggingkit.

muguu avatar muguu commented on June 9, 2024

Hi WetHat,

A particular tag can appear only once on a page. If we would allow putting tags anywhere on a page this uniqueness criterion would no longer be feasible and we would need to manage multiple instances of a tag

Well, a tag helps you find the page. The same tag within a page could be seen as 'anchor tags' to find specific chapters within a page to which the tag refers to.

The difficulty is more on the side of tag management. Tags managed by the tagging kit are managed in the page metadata (unlike genuine OneNote tags).

Are you able to create OnteNote tags programmatically?

Unfortunately OneNote events, such as the edit page event, are not passed through to the add-in (a generic limitation of .net add-ins) so we would loose track of those tags.

I see your point. ZimWiki is much more communicative on events towards plugins.

Also since the tag is now visible, it could be deleted by the user outside of the tagging kit.

Are the tags your plugin adds on a page supposed to be un-deletable? I can click the box and delete the plugin text...

Thank you and Regards
Muguu

from onenotetaggingkit.

WetHat avatar WetHat commented on June 9, 2024

Hi muguu,

The same tag within a page could be seen as 'anchor tags' to find specific chapters within a page to which the tag refers to.
Yes, I agree that is how I would imagine this use-case too.

Are you able to create OnteNote tags programmatically?

Yes. However, tags on the page would be paragraph tags (the only kind of tags OneNote supports). Supposed we could find a good way to manage tags in the OneNote page content, it still would still look like this:


image


Tags embedded in the paragraph text like so:
image


are not possible in OneNote. This implies we would need a different approach such as:

  • inserting a special unicode character to mark the person tag:

    image
  • Just the person's email:

    image

In either case we would need to scan the page for these tags, as edit events are not available. These tags would be then treated as page tags. The scanning process also could be used to detect other types of tags too, like embedded hashtags. The down side is that manual edits to the tags would be unnoticed until the page is scanned for tags again.

Are the tags your plugin adds on a page supposed to be un-deletable? I can click the box and delete the plugin text...
Yes. However, OneNote does not allow read-only paragraphs. Any manual edits to the tag box are not reflected in the search result. When you use the Tag Pages dialog on that page again, the user edits are discarded and the initial tags re-appear. This is because tags are actually stored in the page metadata. The tag box is just a visualization.

WetHat

from onenotetaggingkit.

muguu avatar muguu commented on June 9, 2024

The difficulty is more on the side of tag management. Tags managed by the tagging kit are managed in the page metadata (unlike genuine OneNote tags).

Are you able to create OnteNote tags programmatically?

I did some research and found out that there is no way to create build in tags :(

I played around with the Onetastic Makros and was thinking if following idea could be implementable within your plugin?

image

What if there would be an additional option within "find tagged pages", in which I can search for a built in tag together with the full text search against a context tag?

image

Additionally, you could also parse against a date (something like >2018-06-21 and <2018-06-30 with > as a start date and < as a due date). With an additional filtering option against a date, you could then display tasks which are already due etc...

What do you think?

Regards,
Muguu

from onenotetaggingkit.

WetHat avatar WetHat commented on June 9, 2024

Hi @muguu ,

You can now add person tags to tasks manually. With feature release it is possible to map hashtags and classic OneNote tags to page tags. Given the limits of the OneNote API this is as close as it gets to your use case.

from onenotetaggingkit.

Related Issues (20)

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.