tag:danbooru.me,2005:/forum_topics/14437Embedded notes feature missing? 2017-12-02T16:34:11-05:00tag:danbooru.me,2005:ForumPost/1400912017-12-02T16:34:11-05:002017-12-02T16:49:16-05:00@BrokenEagle98: Alright, I figured it out. In Firefox, any...<p>Alright, I figured it out. In Firefox, any uncaptured output (in a bookmarklet) gets sent to be rendered on a new page... for reasons unknown. <_<</p><p>Regardless, I updated the bookmarklets (<a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/135924">forum #135924</a>/<a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/136193">forum #136193</a>) taking the above into account, and testing was successful on both Firefox and Chrome.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1400872017-12-02T16:08:08-05:002017-12-02T16:08:08-05:00@kittey: Happens to me too on Firefox ESR 52.5.0.<p>Happens to me too on Firefox ESR 52.5.0.</p>kittey/users/320377tag:danbooru.me,2005:ForumPost/1400842017-12-02T15:55:18-05:002017-12-02T16:07:07-05:00@BrokenEagle98: Which version of Firefox are you running...?
...<p>Which version of Firefox are you running...?</p><h5>Edit:</h5><p>Nevermind, I'm getting the same issue in Firefox 47. <_<</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1400812017-12-02T15:07:19-05:002017-12-02T15:15:28-05:00@john1980: The bookmarklet doesn't work for me?
1....<p>The bookmarklet doesn't work for me?</p><p>1. Manually create a new bookmark in my browser with the Location set to the code provided above for "Enable embedded notes"<br>2. Go to a post. ex. <a class="dtext-link dtext-id-link dtext-post-id-link" href="/posts/2942184">post #2942184</a><br>3. Run the bookmark<br>4. Get dialog asking to enable embedded notes. </p><p>If choose "OK", get taken to page that simply has text "[object Object]".<br>If choose "Cancel", get taken to page that says "false".</p><p>What is odd is that it works if I run the code directly from the Web Console in Firefox.</p>john1980/users/39276tag:danbooru.me,2005:ForumPost/1394212017-11-17T23:27:40-05:002017-11-18T01:02:15-05:00@chilled_sake: Does this disable bbcode for links?
edit: seems...<p>Does this disable bbcode for links?<br>edit: seems to be a bug, see <a rel="external nofollow noreferrer" class="dtext-link dtext-id-link dtext-github-id-link" href="https://github.com/r888888888/danbooru/issues/3384">issue #3384</a></p>chilled_sake/users/463832tag:danbooru.me,2005:ForumPost/1392962017-11-16T06:40:44-05:002017-11-16T06:40:44-05:00@Claverhouse: It seems weird to take away functions and...<p>It seems weird to take away functions and substitute ingenious workarounds, and in addition have all those ingenious workarounds increasingly unknown to average users who then will never know what was once normal.</p><p>Emblematic of how the Internet is going forward: eventually all the code will be made by robots aka other code, which they will then take away for our own good.</p>Claverhouse/users/72775tag:danbooru.me,2005:ForumPost/1390022017-11-11T16:45:28-05:002017-11-11T16:45:28-05:00@BrokenEagle98: Then create an issue and argue your case.<p>Then create an issue and argue your case.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1389992017-11-11T16:18:06-05:002017-11-11T16:18:06-05:00@john1980: > BrokenEagle98 said:
>
> You can just use the...<blockquote>
<p>BrokenEagle98 said:</p>
<p>You can just use the bookmarklets, or whatever other API method you prefer.</p>
</blockquote><p>I read the thread and saw that, but bookmarklets are just a workaround and not the correct solution.</p><p>The feature should continue to be exposed in the UI for both ease and discoverability.</p>john1980/users/39276tag:danbooru.me,2005:ForumPost/1389982017-11-11T16:00:47-05:002017-11-11T16:00:47-05:00@BrokenEagle98: You can just use the bookmarklets, or whatever...<p>You can just use the bookmarklets, or whatever other API method you prefer.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1389972017-11-11T15:38:40-05:002017-11-11T15:38:40-05:00@john1980: I just went to embed notes and found the option...<p>I just went to embed notes and found the option was gone.</p><blockquote><p>albert said:<br> It honestly isn't used much at all. It's active on 4450 posts, which represents 1.3% of all posts with notes. For existing posts it'll continue to work (and I suppose you can update it via the API) but I don't think that usage rate warrants taking up screen real estate.</p></blockquote><p>How much real-estate does a single checkbox really take? It's not a good enough reason to remove a feature used on 1000s of posts.</p><p>Was the checkbox always showing in the Edit options? If so, then why not only have it show when in Note Editing mode? That would solve any real estate concerns.</p>john1980/users/39276tag:danbooru.me,2005:ForumPost/1362362017-09-21T12:13:31-04:002017-09-21T12:13:47-04:00@BrokenEagle98: > kittey said:
>
> IIRC, it’s a builder+...<blockquote>
<p>kittey said:</p>
<p>IIRC, it’s a builder+ feature, though, so you probably won’t be able to use it. Ask a builder to enable embedded notes on a post.</p>
</blockquote><p>It used to be, but it's <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/r888888888/danbooru/blob/master/app/models/post.rb#L59">currently available to all users</a>, which I <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="http://testbooru.donmai.us/posts/16.json">tested and validated on Testbooru</a> with a Member-level account.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1362292017-09-21T07:47:23-04:002017-09-21T07:48:57-04:00@kittey: > b4z73rd said:
>
> So, I how do I enable it...<blockquote>
<p>b4z73rd said:</p>
<p>So, I how do I enable it with those bookmarklets?</p>
</blockquote><p>Go to your browser’s bookmark manager, create a new bookmark and put one of BrokenEagle’s code snippets into the URL field.</p><p>When you’re viewing a post that you want to enable/disable embedded notes on, click on the corresponding bookmark from your browser’s bookmark menu.</p><p>IIRC, it’s a builder+ feature, though, so you probably won’t be able to use it. Ask a builder to enable embedded notes on a post.</p>kittey/users/320377tag:danbooru.me,2005:ForumPost/1362222017-09-21T07:17:36-04:002017-09-21T07:18:10-04:00@b4z73rd: So, I how do I enable it with those bookmarklets?<p>So, I how do I enable it with those bookmarklets? </p>b4z73rd/users/413898tag:danbooru.me,2005:ForumPost/1361952017-09-20T00:16:24-04:002017-09-20T00:16:24-04:00@Unbreakable: Well that's kinda sad but I guess we'll survive...<p>Well that's kinda sad but I guess we'll survive without it, I forsee a lot more tapping on my phone in the future.</p>Unbreakable/users/430030tag:danbooru.me,2005:ForumPost/1361922017-09-19T23:41:56-04:002017-09-19T23:48:55-04:00@BrokenEagle98: Got the word back in commit b361809 that the...<p>Got the word back in <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/r888888888/danbooru/commit/b361809489a0e8bb139d6c62214e881231135d25">commit b361809</a> that the removal of this option from the edit tab is more of a permanent thing.</p><blockquote>
<p>albert said:</p>
<p>It honestly isn't used much at all. It's active on 4450 posts, which represents 1.3% of all posts with notes. For existing posts it'll continue to work (and I suppose you can update it via the API) but I don't think that usage rate warrants taking up screen real estate.</p>
</blockquote><p>That being confirmed, I'll go ahead and copy the above sets of bookmarklets to <a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/8502">topic #8502</a> and update <a class="dtext-link dtext-wiki-link" href="/wiki_pages/about%3Auserscripts">about:userscripts</a>.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1359242017-09-15T21:43:16-04:002017-12-02T16:35:42-05:00@BrokenEagle98: In the interim, I created the following...<p>In the interim, I created the following bookmarklets for enabling and disabling embedded notes. Depending on whether this option comes back or is completely removed, <s>I'll move it to <a class="dtext-link dtext-id-link dtext-forum-topic-id-link" href="/forum_topics/8502">topic #8502</a></s>. It's been copied to <a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/136193">forum #136193</a>. Will eventually remove the code below so it won't need to be maintained in two separate locations.</p><h4>Enable embedded notes</h4><pre>javascript:var conf=confirm("Enable embedded notes?");if (conf){var temp=$.ajax({type:"PUT",url:"/posts/"+Danbooru.meta("post-id")+".json",data:{'post':{"has_embedded_notes":true}},success:(data)=>{Danbooru.notice("Settings updated.");window.location=window.location;},error:(data)=>{Danbooru.notice("Error updating settings!");}});};
</pre><h4>Disable embedded notes</h4><pre>javascript:var conf=confirm("Disable embedded notes?");if (conf){var temp=$.ajax({type:"PUT",url:"/posts/"+Danbooru.meta("post-id")+".json",data:{'post':{"has_embedded_notes":false}},success:(data)=>{Danbooru.notice("Settings updated.");window.location=window.location;},error:(data)=>{Danbooru.notice("Error updating settings!");}});};
</pre><h5>Edit:</h5><ul>
<li>(2017-12-02)</li>
<ul><li>Updated bookmarklet code for Firefox <<strong>john1980</strong>: <a class="dtext-link dtext-id-link dtext-forum-post-id-link" href="/forum_posts/140081">forum #140081</a>></li></ul>
</ul>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1359232017-09-15T21:02:53-04:002017-09-15T21:02:53-04:00@Unbreakable: It was certainly useful when viewing posts on a...<p>It was certainly useful when viewing posts on a phone since you don't have to tap each and every note to read them, even more when there are a bunch of small ones.</p>Unbreakable/users/430030tag:danbooru.me,2005:ForumPost/1359222017-09-15T20:53:52-04:002017-09-15T20:53:52-04:00@DeusExCalamus: I'm glad it was removed, TBH. I didn't care for...<p>I'm glad it was removed, TBH. I didn't care for it and thought it didn't add much of value to the site. I much prefer the old way, though I wouldn't be opposed to it being added back with a toggle to allow the user to select whether they see embedded notes or not.</p>DeusExCalamus/users/75306tag:danbooru.me,2005:ForumPost/1359132017-09-15T19:24:50-04:002017-09-15T19:24:50-04:00@BrokenEagle98: It was removed in commit b361809 for some...<p>It was removed in <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/r888888888/danbooru/commit/b361809489a0e8bb139d6c62214e881231135d25">commit b361809</a> for some reason...? I frequently use the option myself, but there was no reasoning left behind, so I don't know... I left a comment behind on that particular commit asking why, but I don't know if there'll be a response.</p>BrokenEagle98/users/23799tag:danbooru.me,2005:ForumPost/1359112017-09-15T19:16:08-04:002017-09-15T19:20:56-04:00@b4z73rd: I'm not sure what's going on, but usually I...<p>I'm not sure what's going on, but usually I find the check box for embed notes in the edit tab, and it's not there anymore. What gives? It's not like embedded notes got dropped because all of the comics I posted before still have embedded notes. </p>b4z73rd/users/413898