Code Monkey home page Code Monkey logo

Comments (9)

ericshulman avatar ericshulman commented on August 27, 2024 1

Did I understand correctly, Erics example, is that one drags and drops the > symbol?

There is no ">" symbol in the $:/AdvancedSearch Filters tab. There IS, however, a down-arrow symbol, which you can use to select a previous saved filter... but this is NOT what I was referring to. Rather, once you've entered (or selected) a filter into the search input, several additional buttons appear. Among those buttons is an "export" button ("out-box" with upward pointing arrow). Normally, when you click this button you get a drop-down to select an export format (CSV, JSON, Static HTML, or TID text file).

What I am proposing is to add a dragFilter=<<__exportFilter__>> param to that export button, so that if you drag the button instead of clicking it, you can drop it directly on another open TiddlyWiki window to initiate an $:/Import of the entire set of tiddlers that match the filter you have entered.

I as I wrote here https://talk.tiddlywiki.org/t/astounding-ux-enhancement-and-proposal-from-eric/10371/5?u=tw_tones I have had a solution for this in the past where a more direct export to JSON button is presented, which can be dragged and dropped to another wiki.

My proposal does not add an extra button; it just adds extra functionality to the existing "export" button.

  • If installing a bundle or plugin is insufficient to use this and we want it in the core, there is more we can do at the same time.

If you want to propose other enhancements, you should create a separate ticket, since those changes would be independent of my very minor proposed change to the existing "export" button, and should be discussed and considered separately.

from tiddlywiki5.

pmario avatar pmario commented on August 27, 2024 1

PR! PR! PR! ... c'mon everybody: PR! PR! PR!

It's nice to be enthusiastic -- but --

It's not that simple. ... The current code is only readable by advanced users and changing it is error-prone as we can see.

  1. So the first step needs to be to make the code human readable
  2. Convert \define into \procedure
  3. Make sure that "old style" text substitution converted to "new style" in a backwards compatible way
  4. change $vars to $let
  5. Make sure everything works as before

So what seems to be a 1 minute change turns out to be "some real work"

And It needs to be documented. Otherwise it will be an ultra well hidden functionality.

It turns out that there is not too much info about How to export tiddlers.
There is no info about the $:/AdvancedSearch UI at all. IMO at least the "Filter tab" could need some more general info.

from tiddlywiki5.

ericshulman avatar ericshulman commented on August 27, 2024 1

Although we definitely should update the documentation and use "new style code", those should really be handled as separate tickets. That way each ticket represents a small isolated incremental change, with less potential for introducing unanticipated problems by combining them into a single task.

from tiddlywiki5.

tw-FRed avatar tw-FRed commented on August 27, 2024

I can't count how many times I searched this functionality in TW's default UI. And the fix is so simple!

Thanks @ericshulman for opening this topic!

from tiddlywiki5.

twMat avatar twMat commented on August 27, 2024

PR! PR! PR! ... c'mon everybody: PR! PR! PR!

from tiddlywiki5.

AnthonyMuscio avatar AnthonyMuscio commented on August 27, 2024

Did I understand correctly, Erics example, is that one drags and drops the > symbol?

I as I wrote here https://talk.tiddlywiki.org/t/astounding-ux-enhancement-and-proposal-from-eric/10371/5?u=tw_tones I have had a solution for this in the past where a more direct export to JSON button is presented, which can be dragged and dropped to another wiki.

  • If installing a bundle or plugin is insufficient to use this and we want it in the core, there is more we can do at the same time.
    • Allow selection of the shortcut export or drag and drop icons (in my implementation) for each relevant export type (config settings to show/hide) each of which can be dragged as well)
    • Add additional export tryps such as;
      • Bookmarklets
      • The new compound tiddler format
      • others...

To test it see https://bookmarklets.tiddlyhost.com/ and advanced search > Filter, the first icon is a JSON that can be dragged elsewhere. If clicked it does the equivalent of Export > JSON (with one click)

from tiddlywiki5.

AnthonyMuscio avatar AnthonyMuscio commented on August 27, 2024

This is what I saw, when I made the change, possibly in error;
Snag_450547f

Now corrected, its the Export Icon that is the one we can drag and drop.

I support this idea as it is inconspicuous and useful but perhaps the tooltip message could also change?

However I think further improvements could come along soon as mentioned in the talk thread

from tiddlywiki5.

pmario avatar pmario commented on August 27, 2024

@Jermolene -- Do you think it should be implemented as suggested in the OP?

I personally support the proposal, with the addition, to implement and document it properly with "new style code" as described in my comment.

from tiddlywiki5.

AnthonyMuscio avatar AnthonyMuscio commented on August 27, 2024

If the tooltip indicated "drag and drop on another wiki" or similar, it would be at least finable.

However as illustrated in advanced search filter tab of https://bookmarklets.tiddlyhost.com/ and when there is a list of tiddlers just a little love could improve this quite a bit.

from tiddlywiki5.

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.