Testing time!

Let's start from a local TW in FireFox. By the way, are there any explicit 
parts of the plugin which cause different behavior of local and remote TWs? 
As I remember, there were some differences previously, but additional 
testing for remote copies of'course requires some additional time. These 
notes are for the beta-2 version.

First note: when I open a list item for editing, the edit field has more 
lines that it requires (3, presumably); pressing ctrl, shift, alt, caps 
lock, end, home causes it to contract to the size of content. I'd say the 
behavior when it is always contracted is preferrable (especially for 
mobile). And if ctrl+v is pressed, the field contracts to just one line 
(although, pressing another key expands it back). Ctrl+home moves the 
cursor to the beginning of the block, but doesn't scroll the screen to it 
(tested later as I tried jsMath which I edited right there).

A bug: when I edit a list item, or a header and then exit the edit mode (by 
pressing esc or moving to another item by arrows) it becomes aligned to the 
right; if I open it for editing again, the text in the edit field is 
aligned to the right as well. But the markup is correct, after reloading 
the tiddler it looks ok.

Another strange thing: when I mouseover the "Open tiddlers tagged with Testsfor 
test cases." text in the Intro tiddler, the C, E buttons appear in the 
top right corner of the tiddler content. I can reach them (if then I 
mouseover the space above the "Test cases" h2 -- which is just a part of 
the class="viewer" element), but E has no effect.

C/E buttons appear in some elements where shouldn't: on the one hand, I 
like very much the possibility to change the tiddler title in this manner; 
on the other hand, C/E appear near the tiddler created/modified 
(class="subtitle") element, near the toolbar and even near the top right 
corner of the whole id="tiddlerIntro" element. 

When I edited the title (Intro -> Intro2), autosave ran and I decided to 
reload TW to see how it worked. After that, all the E buttons disappeared 
(saving is done via TiddlyFox). Seems that the format of the tiddler in the 
file is not corrupted. Moreover, I press C in the original TW (in the web), 
in the changed local copy, and all the settings are the same. I've done 
this again (downloaded a new copy) and can say that just saving without 
changes and reloading doesn't hide E buttons while saving after changing 
the title and reloading hides them. By the way, to apply changes in the 
title, I have to press ctrl+enter instead of enter.

Another bug: clicking TiddlyLinks in editable elements does open tiddlers, 
but now it doesn't cause autoscrolling to the opening tiddler and the 
"zoomer" animation is not shown (despite the fact that  chkAnimate is set 
to true).

Proposal: add some prefix to the cookie-parameters description, like
"Enable TWtcalc <javascript:;>" -> "~TWtcalc: enable"
"Apply thousands separation on numerical results. Default is false." -> 
"~TWtcalc: Apply thousands separation on numerical results."
Or maybe even "zz ~TWtcalc: " prefix. The reason is now the "tweak" panel 
in the sidebar is crowded with new options. Also, some extra tildes would 
clean the "tweak" panel from unnecessary TiddlyLinks.

Current positioning of the preview blocks has this minor drawback: if I 
open a tiddler above the one where the inline-block-editing is used, the 
tiddler goes down while the preview block doesn't.

More importantly, preview blocks has a different styling than the actual 
text (see, for instance, headers: they have another font style). Macro 
buttons.. actually, all elements look like in the MainMenu, that's the 
styling used.

One more positioning issue: if the preview is big (for big blockquotes, for 
instance), it goes above the element and gets cut by the edge of the screen.

The overall impression of the preview is very good, I even tested formulae 
and I can say that this will be very helpful. Some more notes, though:
* preview of "ordinary text" (outside headers and lists) is needed. I 
guess, the plugin needs to "understand" the tree structure of the text to 
handle this; such "understanding" will probably ease implementing things 
like "press down to go from the header to the next text part/list/..." or 
transclusion handling
* typing large "ordinary text" and some other parts needs the preview to be 
closer to the current position. For "typing forward" this can be done as 
simple as by just limiting the size of the edit field: if it is no bigger 
than, say, a third part of the screen, one can always see the preview of 
the last things typed. For editing a long text somewhere in the middle of 
it, this wouldn't be enough: the preview shoud be cut and autoscrolled as 
well.
** alternatively, the preview can be shown on the right, but I'm not sure 
if that's a good idea
** mostly rhetorically: "natural" solution to this would be WYSIWYG
* it's desirable that the set of formatters/blocks which can be separately 
edited is extendable: for instance, blocks with formulae, defined by the 
$$...$$ markup
* preview is not necessary for all the types of editable blocks. I'd say 
there should be some settings for this, but if headers are always edited 
without preview, I wouldn't object

Some final notes:
* when pasting via ctrl+v, substituting of linebreaks with "<br>" is not 
needed in all types of blocks, like blockquotes, so probably should be 
removed from those
* in FireFox (but not in Opera) when I open a big block (semiautomate mode),
** it srolls to the end of it instead of staying where I clicked
** scrolling the page by dragging the ordinary scroller of the entire page 
with mouse closes the edit mode
  both things are not desirable
* finally, in semiautomate mode the C buttons are shown outside the edit 
mode which is sort of undesirable: this mode is designed to be clean (not E 
buttons, better no buttons at all) and simple (click to edit) and C buttons 
disturb this concept

All right, that's probably all for now.

All the best,
Yakov.

вторник, 15 января 2013 г., 13:15:15 UTC+4 пользователь Vincent Yeh написал:
>
> TWtid+TWted v1.5.0-beta-2
>
> Added a simple previewer. Give it a try!
> https://dl.dropbox.com/u/23745840/pre_release-1.5.0-beta-2%2B0.7.7.html
>
> Vincent
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/X44bzTErKNoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to