Danbooru

[Feature Change] Notes

Posted under Bugs & Features

BrokenEagle98 said:

I'd imagine that it should work the same way as comments as per parasol's recommendation. That is, it should show the N most recent notes made on a post per post, then have a hyperlink "Show all" available to reveal all of the remaining notes via some kind of Javascript. The notes on display would allow enough to be seen to wet the appetite while not overcrowding the page, and the "Show all" function would satisfy those that want to see all notes from the notes page (instead of just going to the post show page).

Fair enough; I never knew the comment had a show all when it reached a certain length.

Out of curiosity, is it still possible to generate the old note somehow so that I can bookmark that?

Like I said, order:note gives the exact same thing as the old layout. It just includes the sidebar. I posted some CSS in forum #130410 that gets rid of the sidebar if it's too much of a problem.

Thanks, but is it possible to have resizable side bar works without the header? It's a little awkward as well since you'll still see the sidebar for a brief moment every time you load a new page.

There's a close button in the header. You can click that to hide it. The header is there so you still have a search bar if you hide the sidebar.

Other than helping editors that fix others' grammatical error, I fail to see how the new default helps with translators.

Well admittedly the current listing could be improved. This is something I'm experimenting with: screenshot.

evazion said:

This is something I'm experimenting with: screenshot.

Question about the Formatted Body...? Does it use regular or embedded notes CSS styling?

The reason I ask is because I've noticed that some CSS stylings work for embedded notes, but not regular notes. "Line-Height" is one such CSS property.

Also, how would it handle the use of transforms,e.g. rotates. I've used transforms myself for embedded notes, but unfortunately it doesn't work as well for regular notes.

That's something that needs to be worked out. Right now it allows all the usual HTML tags but strips out all CSS properties except for font-size. I'm not really sure how much should be allowed. The idea is to make the basic content of the note readable, plus a few safe things like bold/italics or font sizes.

The zoomed in view of the note is highly experimental too. It loads the full size image and crops it in CSS, which of course wastes bandwidth and would have problems with the nginx throttling.

evazion said:

The zoomed in view of the note is highly experimental too. It loads the full size image and crops it in CSS, which of course wastes bandwidth and would have problems with the nginx throttling.

Would it be possible to load the full size image for the zoomed-in view with some Javascript, that way it's done on demand and only if the user is interested in that particular note? That should avoid any throttling, as the user would be limited to how fast they could click.

1 2