zixaphir / appchan-x

The most comprehensive, feature filled 4chan userscript.
http://zixaphir.github.io/appchan-x
Other
133 stars 61 forks source link

Offset Transparent Post Form? #349

Closed iNfy0 closed 11 years ago

iNfy0 commented 11 years ago

Hey.

I run the Transparent Fade post form. I like it because if I don't want to post, it doesn't distract, yadda yadda.

Whenever I get a message, say from Steam or a new email, the popup which slides up from the bottom right of the taskbar covers a significant proportion of the post form. Namely, it covers the captcha which is pretty annoying.

I'd like to suggest one of two things, either would work fine I think:

A transparency option is added for the 'Float' post form, so that when not being used/hovered on, it will sit as the Transparent Fade does.

An option which allows for the regular Transparent Fade post form to be offset by setting a pixel offset value for X and Y. Even just Y, as it only needs to be pushed up by approximately 100px for my needs, but yeah.

If I'm missing something here and this already exists, do tell. I'm at a loss here trying to find an option.

Keep up the great work. Thanks.

Yttrium-tYcLief commented 11 years ago

For the record you can change what corner those popups occur in, especially for Skype and Steam.

iNfy0 commented 11 years ago

Yeah, though I don't see how punishing the users preference helps.

Could go for days listing every application and windows function that can pop up in the bottom right corner as a notification or prompt, and changing the corner it pops up in can't be a preference setting in all of them.

Pushing the box up is something pretty easy to do with a userstyle, but I figure I can't be the only person using this style post form who gets kinda pissed whenever they get a message while deciphering a captcha.

seaweedchan commented 11 years ago

Couldnt you just put it on the left side, or use Floating?

Yttrium-tYcLief commented 11 years ago

There's a reason I just said "for the record".

Offsets would be a nice option, yes.

Might be some really simple custom CSS for it, though.

iNfy0 commented 11 years ago

Couldnt you just put it on the left side

Moving the post form over to the other side is a bit of a radical change, the notifications are only 90-150px in height. On my monitor, that would mean moving the post form over 1700px, not to mention on the completely opposite axis, in terms of usability/interface that's too huge a change.

or use Floating?

Floating doesn't have idle transparency, which is one of my proposed suggestions.

There's a reason I just said "for the record". Offsets would be a nice option, yes.

Didn't mean to come off antsy or anything, just setting my own point of view straight, for the record, too.

And yeah, I think it's a good idea. Glad you think so too, bud.

Might be some really simple custom CSS for it, though.

Oh yeah, like I said, I could fix this with a userstyle, it'd be one line. I just think it's better for it to be officially supported. It is an enhancement suite after all. Seems silly that only one of the post form styles offers transparency instead of it being a toggle option.

Yttrium-tYcLief commented 11 years ago

If you could fix it, why not write a pull request and make life easy?

iNfy0 commented 11 years ago

If you could fix it, why not write a pull request and make life easy?

Well my shabby quick fix is just a 30 second Stylish userstyle.

`@-moz-document domain("boards.4chan.org") {

qr {

margin-bottom: 120px; } }`

I don't know enough .js to properly implement it as an adjustable option as per my request. If I did I probably already would have.

margin-bottom acts as the Y offset, I'd imagine margin-right would act as the X.

zixaphir commented 11 years ago

You wouldn't be wrong. If you want to take a stab at it, the relevant files are Config.coffee for adding the option, and dynamic.css for implementing it. I use CSS classes for options now, so you'd just need to do something like

.post-form-style-fixed #qr,
.post-form-style-transparent-fade #qr {
  margin-right: #{Conf['Post Form Horizontal Offset']};
}
iNfy0 commented 11 years ago

If you want to take a stab at it

Hmm, sure. Extremely tired but I guess that only aids creativity.

I'll take a look.

Cheers.

zixaphir commented 11 years ago

See, the issue is that I'm currently barely keeping my eyes open.

iNfy0 commented 11 years ago

That feel, I know.

zixaphir commented 11 years ago

Also, my solution to this issue would have just been to separate the transparent fade into its own option and apply it to all other options. I mean, it's currently a really odd option where its at, considering the other three options are more about positioning than aesthetics.

iNfy0 commented 11 years ago

Yeah I agree, it is sort of strange that it's the only one that has idle transparency.

It's definitely the most logical option to just have it as a toggleable option which can apply to all Post Form styles.

..with that said that's way beyond my understanding and I couldn't do that. I might be able to do the offset, though. If it's as simple as you make it look.

zixaphir commented 11 years ago

Yeah, we'll do that route. If you like, you can feel free to take a stab at that one, but it implies a lot more work (mostly just removing declarations involving the .post-form-style-transparent-fade class name that are no longer relevant to that option). Actually, I'm probably better to handle that as I just added them all when I switched to using classnames anyways and have everything pretty fresh in my head.

;__;

I'm ranting... help me.

zixaphir commented 11 years ago

Seems silly that only one of the post form styles offers transparency instead of it being a toggle option.

I actually just saw this. ... ...

i sorry.

iNfy0 commented 11 years ago

mostly just removing declarations involving the afjnfjadnlgjasnlaksdlkasdkalfasdsadf

..Yes

I actually just saw this.

No worries. You seem like you need a hug.

zixaphir commented 11 years ago

Naw, just a beer. Thanks, though.

iNfy0 commented 11 years ago

Reinstating aforementioned 'Cheers'.