-
Notifications
You must be signed in to change notification settings - Fork 9
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
Design critique #11
Comments
Hi Flibbles,
That is correct! I tried the tiddler list at the bottom of page and also side by side to controls! Each has some pros and cons but I welcome your suggestion. One solution may be to use initially selected tiddlers when the Select Tiddlers is closed and if one needs to select few of them, then expand the Select Tiddlers and un-select others. Why by each operation the Select Tiddlers (selected items) is reset? Because some operations like removing tiddler tags needs to update the list of selected tiddlers! (they are not resulted from current filter search)
That's correct!
One reason for commit button is selective operation. writing filter to do this instead of checkboxes is tedious. If we ignore this feature, it seems we can remove commit button! In my opinion, the selective operation is useful and I like to keep it, but then we should modify the code and I think that is the way for now.
I prefer to follow the Tiddlywiki behavior and I am not interested to have such commit button! We need to carefully see how we can remove commit without affecting Commander operation.
Your commends help improving Tiddler Commander.
|
So this is the case where I'm not your typical user. I'm a blackbelt in filter-fu, and I typically write filters that contain exactly the tiddlers I want to manipulate. If most users type in filters that only approximate their target list, then I can see why a commit button might be useful.
Arguably, you can still have it without the commit button. Suppose there's no commit button, and when someone types in the filter text-field, it updates the list on the fly. Now they have their approximate list complete with clickable checkboxes. They can check what they want. If they go back and edit the filter, it may reset their checkbox choices, but if they're altering the filter, then aren't they about to re-press the commit button anyway?
This is true. That's why I would think the commit button would actually write the filter results to a state tiddler. That way the list remains unchanged even if the tiddler's themselves no longer meet the search criteria. I realize this would require a little bit of logic when adding or removing prefixes to titles, so that the committed list is still up to date, but that wouldn't be hard. I realize I'm sort of arguing for two different cases here:
Both ways have pros and cons, and I think it's ultimately up to you. It sounds like you're not a big fan of the commit button either. -Flibbles |
Hi Flibbles, |
I could maybe do this at some point if I get a free moment. I wasn't actually angling to do it myself (which I realize is a little selfish), I was more just providing a critique of the UX. I looked into it first, and the tricky part about removing the commit button is dealing with those check boxes for selective operation. Before, when you use the commit button, it resets the checkboxes, but you can't do that with a text field. The best way I believe is to not bother. Instead, change the filter everything uses to be something like:
And instead of doing that, put all that inside a special tiddler like
everywhere instead. Not only would this make switching over to no-commit-button possible, it would generally increase Commander's extensibility overall. |
@flibbles |
@flibbles
The problem is if you change the filter still you have the selected item from previous operation. If you do no operation but from previous search you have selected some tiddlers they are still in $:/temp/commander/selected-titles and this affects the next operation. I did not find a way to have both the selective operation and no commit button!
I just came to this solution to remove the whole selective operation and do everything by search filter! |
Assume you entered a filter selected some items to exclude and then before any operation you enter another new filter, then the items selected from previous search is in $:/temp/commander/selected-titles]indexes[] ... |
Oh whoops. That minus sign is supposed to be a plus sign. I did notice the issue of residual tiddlers being in I think I meant:
Your solutions also works, but I still contend there'd be a benefit from having a |
Okay! I tried something like this. I thought it is better to check the idea in a empty.html to see how search and select works!
on every change the main filter changes, still the problem is the remained selected items in testIndex from previous operation. I think we need to trigger an action when the filter search changes! ps: --Have a good trip, feel free to send the raw idea before putting much time |
@flibbles |
You've got a lot of repetition among your macros. I can't speak for all of them, but a frequent operation of mine was to replace title prefixes, instead of just adding or removing them, so I coded that into my local repository. However, in the source/commander/title/uicomp directory, the same macro exists, like, six times I think with only a single line difference between them which could easily have been an argument. So I only programmed my title-replace into the prefix, and didn't bother with suffix (or the other one. Pattern match?). I'm guessing the code could be more DRY in other places too. Also, many of your macros have typos. like replacePrefix-tiltle-bulk. It's so common, I started to wonder if it was deliberate. Is it? |
Also, a UI improvement: When you type in a filter. Results comes up automatically now, which is nice. That means one less click. However, all results that come up are unselected by default, and the "Select Tiddlers" drop down is closed by default. This means another unnecessary click regardless of how you use Commander. I'd say all filter options should be selected by default (my preference), or that dropdown should be open by default. |
Here there was two options: I selected the first route! By the way in Commander 2 I will look to see where they can be improved!
If you don't mind share them and I will look at them
At the time of development there was lack of time and a rush to finish it as soon as possible! So, I did not come back and correct them! The documentation also needs improvement! |
I addressed this commander-ii beta |
I've been using Commander off and on since it synced up with Relink, and it's definitely useful, but there are a few design choices that seem like they could be improved upon. This is just a critique, and this issue can absolutely be closed after you've read it.
Just as a user, the kind of behavior I feel like would be intuitive would be that either search button to "commit" your search filter, the resulting list doesn't change or unselect until the commit button his hit again. OR the commit button wouldn't exist at all, and the filter list just updates with each keystroke.
Again, feel free to ignore these. I just know how it can be as a developer to sometimes not see how a layman would expect a program to work. I also may not be representative of how everyone uses Commander.
-Flibbles
The text was updated successfully, but these errors were encountered: