Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: ziycon on June 12th, 2012, 10:59 PM

Title: Thoughts Bug
Post by: ziycon on June 12th, 2012, 10:59 PM
Minor bug.

If you add a new thought on the right in the 'Thought' section you have to refresh the page for it to display. But if you reply to a thought it will automatically refresh and display.
Title: Re: Thoughts Bug
Post by: Nao on June 12th, 2012, 11:04 PM
It's not a bug, it's due to the fact that the thought is shown in the first logical place. Because you can post a thought from any page, the only place where it can be shown for sure after posting it is in the sidebar.
Title: Re: Thoughts Bug
Post by: ziycon on June 12th, 2012, 11:18 PM
Interesting, I would have thought it a bug, are you stuck to the way it works as it shouldn't be much work to refresh the containing section tag for the thoughts if you're on the main page adding thoughts on the right!?
Title: Re: Thoughts Bug
Post by: Nao on June 13th, 2012, 12:19 AM
First of all: the homepage code is probably not going to be in the final package. It's something for wedge.org to begin with.
So, it's not a Wedge bug per se but a Wedge.org issue (with you.)
If you'll have a look at the JS code for thoughts (granted, it's compressed and obfuscated a bit...), you'll see that if I want to refresh two parts at the same time, I'm going to have to add more code. And I'm not thrilled about adding more code when logic says, "hey it's okay, it's just for that main page, don't sweat it..."
Title: Re: Thoughts Bug
Post by: ziycon on June 13th, 2012, 12:38 AM
It was just a question, relax. Point taken, I was merely trying to give some constructive feedback.
Title: Re: Thoughts Bug
Post by: Nao on June 13th, 2012, 12:44 AM
I'm just not gonna get started with minor tidbits when there are still some major features I need to finish implementing.
I know myself -- a "minor tidbit" takes me a day to completely fix in a "cool" way. I'll spend 10 minutes adding the feature, and then I'll waste 8 hours just to ensure the extra feature doesn't add any bytes to the gzipped JS file. No thank you...