Yes! Ohmigod! Someone's blondie bear's a twenty-question genius!

Harmony ,'Help'


Buffistas Building a Better Board  

Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.

To-do list


DCJensen - Nov 16, 2004 7:13:09 pm PST #8825 of 10000
All is well that ends in pizza.

Okay, now I'm obsessing about #2.

Wow, it's like you are in a controlled loop and won't submit.

t ducks


Liese S. - Nov 16, 2004 7:14:17 pm PST #8826 of 10000
"Faded like the lilac, he thought."

Before we can run tidy on it, we have to do the expansion from quickedit.

Hmm. Do we? Unless something goes blewwy, can't we know that the quickedit expansion is going to be kosher?

If the resubmitted post still has html problems, the process begins anew.

The theory being that crap is never allowed through?

While this is nice, the thing I worry about is causing the user experience to be potentially frustrating. Sometimes we've had posters need to ask what they did that caused the problem, and if they were stuck inside a no-post loop, they might not be able to ask.

Exactly. Why would we want something posted that will mess up other posts or the entire showthread.php page?

Well, for me there's a difference between board-breaking errors and something along the lines of unclosed italics tags. One is significantly problematic and should probably be contained if possible, the other is merely inconvenient for as long as it takes us to get to it (currently, of course, and I realize we're trying to improve on this so we don't have to get to it, since they're almost always rote errors). For the former, I think it's fine to potentially frustrate the user a tad, so long as it preserves board integrity. But for the latter, I don't think it's enough of a problem to stick the user in a potentially recursive loop.


§ ita § - Nov 16, 2004 7:14:37 pm PST #8827 of 10000
Well not canonically, no, but this is transformative fiction.

Unless something goes blewwy, can't we know that the quickedit expansion is going to be kosher?

I know if we search the archive, we'll find posts from me that look like:

Did you really not like
i The Incredibles</i>?

Not so many, nor recently, until I thought it through and realised how lazy and dumb a way it was to post.

Just a thought about how the two can tangle.


Liese S. - Nov 16, 2004 7:17:07 pm PST #8828 of 10000
"Faded like the lilac, he thought."

Ah. This is true. Okay.


Jon B. - Nov 16, 2004 7:21:46 pm PST #8829 of 10000
A turkey in every toilet -- only in America!

Sometimes we've had posters need to ask what they did that caused the problem, and if they were stuck inside a no-post loop, they might not be able to ask.

They accept the Tidy'ed version and then they ask.

Unless something goes blewwy, can't we know that the quickedit expansion is going to be kosher?

Here's an example of a post with bad HTML we've run into a couple of times recently:

<font size="-3">
>blah blah blah</font>

Because the opening font tag is outside the quikedit and the closing font tag is inside the quikedit, on some browsers, the small font continues to the next post.


Gus - Nov 16, 2004 7:26:59 pm PST #8830 of 10000
Bag the crypto. Say what is on your mind.

The same TidyPlus operations can be performed on both ends.

Flow:

TidyPlus is run on a new post. If we get an error, the preview page is presented (else, save), displaying how the TidyPlus will alter the display of their typing. In the edit box, we display what the poster typed. They may alter or accept. If they accept, the save (of what they typed) goes forward even if errors are still present. If they alter, we go back to the top of the stack.

On display, we run TidyPlus, which protects the board, if not the sense of the post.


§ ita § - Nov 16, 2004 7:30:05 pm PST #8831 of 10000
Well not canonically, no, but this is transformative fiction.

But how does TidyPlus detect post-expansion errors, yet present a pre-expansion post for the poster to correct?


Gus - Nov 16, 2004 7:38:27 pm PST #8832 of 10000
Bag the crypto. Say what is on your mind.

First quickedits, then TidyPlus operations are performed. Let's call that 'expansion'. The preview page displays the results of expansion. The edit box displays the initial input.


§ ita § - Nov 16, 2004 7:41:29 pm PST #8833 of 10000
Well not canonically, no, but this is transformative fiction.

The preview page displays the results of expansion.

How confusing, though, for someone who put in one bit of HTML clumsily and is now faced with seeing t li and t blockquote t tt t /p where they're not expecting it.


Gus - Nov 16, 2004 7:45:44 pm PST #8834 of 10000
Bag the crypto. Say what is on your mind.

Oh, now I see the disconnect. I wasn't thinking of showing the html of the expansion, but rather the resulting display. The preview page will show them what the expanded post will look like. In the single edit box below this will be the text they typed.