Coder Social home page Coder Social logo

Comments (17)

felixhayashi avatar felixhayashi commented on May 14, 2024

Hi @danielo515

I get your point the problem is I use the node label in many cases to quickly access the tiddler. So before I accept your pull request I need to introduce another field "orignalLabel" for nodes and then use the label for caption.

Anyhow, I think this will work. Thanks for the suggestion.
Just add tickets for all your suggestions. I might not solve them immediately but I will certainly consider them.

Felix

from tw5-tiddlymap.

danielo515 avatar danielo515 commented on May 14, 2024

Hello @felixhayashi

In my pull request (or it should be) I'm using name as an alternative to label. Then I changed the double click handler (not sure if I included that) to use the existing one. Is there any other place where it is used?

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

Hola @danielo515,

I am heavily modifying the internal code at the moment. Just wait until the end of the week, I try to implement to use a caption as alternate label but I have to be careful because I currently use the label for some operations as shortcut to access the tiddler.

Also notice that my local code is changing at high pace at the moment so accepting pull request at this early stage is not possible but I certainly look at your code suggestions!

Felix

from tw5-tiddlymap.

tobibeer avatar tobibeer commented on May 14, 2024

because I currently use the label for some operations as shortcut to access the tiddler

sounds a bit direct, but: NEVER do that

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

:) hehe
@tobibeer I think I didn't expressed myself correctly, I reference tiddlers only via ids but as the nodes label directly corresponds to a tiddler title (up until now), I used it for example to open a tiddler when the node was double clicked. this has an enormous advantage because I do not have to iterate over all fields to find the tiddler with a certain id. However now I removed this code as I will allow captions in the next version.

By the way I am doing a major rework of the plugin at the moment. it will allow API users (not end users) to use $tw.taskgraph.adapter to inject nodes on a graph programmatically (like using $tw.wiki.addTiddler(). Also many other improvements will come ;) I hope its all finished in a few days.

Felix

from tw5-tiddlymap.

tobibeer avatar tobibeer commented on May 14, 2024

Very promising stuff, Felix, to even provide hooks for other developers. Great!

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

@danielo515

Captions may now be used (finally!).
See http://wkpr.de/hosting/tmp/tw5/taskgraph/#%24%3A%2Fplugins%2Ffelixhayashi%2Ftaskgraph%2Fdocs%2Fhelp

@tobibeer

Very promising stuff, Felix, to even provide hooks for other developers. Great!

Thanks Tobi!

The API for taskgraph is now accessible and has many features for developers:
I created an example here: http://wkpr.de/hosting/tmp/tw5/taskgraph/#Adapter

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

@danielo515 @tobibeer

Tooltips can now be used by setting the description field of a tiddler. This can support short titles. if no description field exists, the title is used as tooltip.

The field can be changed from description to something else e.g. I know you use summary @tobibeer. But I still have to outsource this as a config tiddler...

Example at demo site: "How to deal with large Titles"

-Felix

from tw5-tiddlymap.

tobibeer avatar tobibeer commented on May 14, 2024

Thanks Felix, perhaps open a new dummy issue only to close it ...and perhaps have the description / tooltip topic be a different thing.

from tw5-tiddlymap.

danielo515 avatar danielo515 commented on May 14, 2024

@felixhayashi

This is terrific! Your plugin is getting more and more professional on each update.

from tw5-tiddlymap.

danielo515 avatar danielo515 commented on May 14, 2024

Dear @felixhayashi

Links are dead again

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

@danielo515,

Your plugin is getting more and more professional on each update.

Thanks!

Links are dead again

Which links? You mean http://bit.ly/tiddlymap?

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

@tobibeer

Thanks Felix, perpahs open a new dummy issue only to close it ...and perhaps have the description / tooltip topic be a different thing.

Good point.

from tw5-tiddlymap.

rcrath avatar rcrath commented on May 14, 2024

The API for taskgraph is now accessible and has many features for developers:
I created an example here: http://wkpr.de/hosting/tmp/tw5/taskgraph/#Adapter

Seems to be down. Very interested in it though.

from tw5-tiddlymap.

felixhayashi avatar felixhayashi commented on May 14, 2024

@rcrath yes, this old url is not in use anymore. please use the following proxy to visit the demo site: http://bit.ly/tiddlymap

and this url to visit the api:

http://bit.ly/tiddlymap_api

The api is not considered stable but you get a good impression on the existing functions and how to use them in plugins.

from tw5-tiddlymap.

tobibeer avatar tobibeer commented on May 14, 2024

http://bit.ly/tiddlymap_api

slick

from tw5-tiddlymap.

rcrath avatar rcrath commented on May 14, 2024

taskgraph=tiddlymap? I thought it was a separate thing. thanks.

from tw5-tiddlymap.

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.