Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: use field other then "text" #15

Open
BlakeTacklind opened this issue Jun 6, 2020 · 0 comments
Open

Feature Request: use field other then "text" #15

BlakeTacklind opened this issue Jun 6, 2020 · 0 comments

Comments

@BlakeTacklind
Copy link

I am trying to work on a wiki that makes using data tiddlers for json unwieldy. I would like to have my jsons contained in fields other then the text field. This would cause some difficulties and require some new filter functions to maintain backwards compatibility.

  • For events I can see using a new paramObject that indicates which field it is suppose to read from. It would change lines like:
    if (tiddler && tiddler.fields.text) {
  • For filters things will be a little harder but it looks like changes will have to start from here:
    if(tiddler && tiddler.fields.text) {
  • As for textRefrences the format I think could be expanded to include a field before a property index: {{title!!field##propertyIndex}}.
  • To be as portable as possible, I think it could be good to have a filter operators that read json that comes from the filter iterator ie: [<tiddler(s)>indexes[]] == [<tiddler(s)>indexes:text[]]. the has operator may cause some issue here.

There are likely many other items to be thought through. But I am willing to put some time into this but I would like some input before I really start on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant