The Glowfic Constellation

Do you have a setting, character, plot, art, or other notion that you wish to put on the Internet? This is the Internet! Whee!
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: The Glowfic Constellation

Post by Throne3d »

I didn't realize Lazarus worked on TinyMCE (the RTF editor)! I could've sworn it had something about that not being supported for reasons. (Anyway, I have just installed Lazarus on Firefox since apparently I only had it on Chrome, so thank you for reminding me.)

@Kappa: Lazarus might be gadget-compatible if you use Firefox? Firefox has some add-on support. I'm not sure if it's available for iOS, but it should be for Android, though you might not want to switch to it.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

So the thing you are thinking of is pretty explicitly a hack, because it goes like so:
- You work in HTML editor by default
- I cannot have the RTF button work unless I initialize it on page load
- Once page is loaded and RTF editor is initialized, I then say "oh, you're in HTML mode, get rid of the RTF editor please"
- The RTF editor has in this time processed whatever you've typed, so it adds a whole bunch of totally arbitrary tags everywhere, so this then displays in the HTML mode (You can see an example of this by switching between HTML and RTF mode a few times)

So right now my horribly hacky way to fix that is to say "this is what the server knows the content should be, so just use that damnit." But you're hitting the case where sometimes Firefox tries to be helpful and restore your lost text upon accidental refresh, but the server doesn't know you had an accidental refresh, so Firefox keeps your lost text just long enough to see before my code goes "ugh, TinyMCE is trying to muck up your content with random tags, FIX IT" and overwrites you back to blank.

I have not yet convinced RTF mode not to do the thing. It's very annoying.
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: The Glowfic Constellation

Post by Throne3d »

Hm – why can you not initialize the RTF editor later? I think there's a Javascript call to initialize it, somewhere – or I think you can transition to that from the current setup – so couldn't we just use that when necessary?
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by DanielH »

In think PDV’s gif-freezing snippet does basically the same thing as what I linked, but mine lets you enable animation on mouseover so it still is available for content that might use it, but not distracting otherwise.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

I am not yet convinced of the urgency of animated gif removal such that I want to refactor image uploads or install additional Javascript that may reduce browser compatibility; the tradeoffs may change later.
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by DanielH »

According to Can I Use It, the percentage of browsers supporting the canvas element is in the high 90s. Whatever jQuery’s requirements are probably cut down the number of browsers that would fail there.

However, it doesn’t yet have graceful fallback, so it makes sense to avoid it if you want to support pre-html5 browsers.
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: The Glowfic Constellation

Post by Throne3d »

It seems like canvas isn't supported by IE8 and below.

We should probably come up with a list of browsers we're even trying to support, sometime, like suggested in issue #133.
Moriwen
Posts: 479
Joined: Mon Oct 19, 2015 5:54 pm
Pronouns: she/her

Re: The Glowfic Constellation

Post by Moriwen »

So I was re-keywording icons today and discovered that due to the marvelousness of the Constellation I can click on an icon of mine, see all the posts I've made using that icon, and comb through to find a favorite phrase from one to use as a keyword. This is so great and I am so glad the Constellation exists and now I have an icon called "kangaroos? really?"

<33333 Marri-and-Throne
Kappa
Posts: 3554
Joined: Fri Mar 21, 2014 5:47 pm
Pronouns: 'He' or 'she', interchangeably
Location: under a pile of Jokers
Contact:

Re: The Glowfic Constellation

Post by Kappa »

<333333333333333333333

(what did the kangaroos do)
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by DanielH »

According to the search feature, be chased at superspeed by Eclipse!Felix, or at least be threatened to chasing.
Post Reply