<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="106838" data-post-id="106838">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>True, should be 1.0 or 2.0. 1.0 is for compatibility with the older versions of Phoenix. I will fix it.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="106838" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/463">Post #462</a>
	                </div>
	            </div>
              <div id="likers-container-106838" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="106838"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #462"></div>
  </section>
</div>
    <div class="postbit" id="110608" data-post-id="110608">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="doogs" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  doogs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hey <a class="mention" href="/u/grych" rel="nofollow">@grych</a>, I’m having issues again with connecting to the topics for broadcasting.</p>
<p>The fixes you originall implemented, that seemed to solve it, are now part of 0.9.3? Just checking they didnt slip out during a commit to the packages.</p>
<p>When i subscribe to a topic in the Drab Commander, should this show in the console logger that they are connecting to the topic, not the path?</p>
<p>here is my callback for onconnect :connected</p>
<pre><code>def connected(socket) do
  subscribe(socket, same_topic(user.id))
end
</code></pre>
<p>But I only see logging that shows connection to the default path.</p>
<p><code>[info] JOIN "__drab:same_path:/user/dashboard" to Drab.Channel</code></p>
<p>Out of the blue, i seem to be having the same issues again, where broadcasting to a specific topic is going to multiple browsers that it should not (are not subscribed. e.g:</p>
<p><code>Drab.Element.broadcast_html(Drab.Core.same_topic(brand.id), "#auction", html)</code></p>
<p>Is there some way I can check that browsers are connected to specific topics properly? or see when that topic subscription changes. or have I got something wrong with how I am subscribing?</p>
<p>EDIT—<br>
Using iex I can inspect the User socket after the onconnected callback. running that I can see this. Should i be able to see subscriptions to topics here?:</p>
<p><code>topic: "__drab:same_path:/user/dashboard",</code></p>
<p>EDIT –<br>
I HAVE SOLVED THIS. I AM STUPID. That is all.</p>
<p>thanks again</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110608" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/464">Post #463</a>
	                </div>
	            </div>
              <div id="likers-container-110608" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110608"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #463"></div>
  </section>
</div>
    <div class="postbit" id="110623" data-post-id="110623">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="doogs" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  doogs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Dont even worry about me. it looks like i was actually broadcasting to the same topic.<br>
Pro Tip, use unique names for the subscribing to topic, not user ids or numbers which could easily collide. hahah</p>
<p>kill me now.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110623" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/465">Post #464</a>
	                </div>
	            </div>
              <div id="likers-container-110623" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110623"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #464"></div>
  </section>
</div>
    <div class="postbit" id="110693" data-post-id="110693">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="doogs" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  doogs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Actually this exact thing seems to still be happening <img src="https://forum.elixirforum.com/images/emoji/apple/frowning.png?v=15" title=":frowning:" class="emoji" alt=":frowning:" loading="lazy" width="20" height="20"></p>
<blockquote>
<p>User 1 logs in (subscribe to Topic 1)<br>
User 2 logs in (subscribe to Topic 2)<br>
Event is pushed to topic 1: ok<br>
Event is pushed to topic 2: ok<br>
User 1 refreshes browser<br>
Event is pushed to Topic 1: Both users get the same data</p>
<p>As soon as I refresh one of those browser windows it seems to start pushing messages to both users.</p>
</blockquote>
<p>Does 0.9.3 have the fixes in it?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110693" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/466">Post #465</a>
	                </div>
	            </div>
              <div id="likers-container-110693" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110693"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #465"></div>
  </section>
</div>
    <div class="postbit" id="110761" data-post-id="110761">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="doogs" data-post="466" data-topic="3277">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/d/9de0a6/48.png" class="avatar"> doogs:</div>
<blockquote>
<p>Does 0.9.3 have the fixes in it?</p>
</blockquote>
</aside>
<p>Yes, pls upgrade.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110761" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/467">Post #466</a>
	                </div>
	            </div>
              <div id="likers-container-110761" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110761"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #466"></div>
  </section>
</div>
    <div class="postbit" id="110779" data-post-id="110779">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="doogs" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  doogs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks.</p>
<p>I seem to be getting this error now. and I have no idea how to fix it.</p>
<p><code>function Phoenix.HTML.Engine.fetch_assign/2 is undefined or private</code></p>
<p>This is coming from a render function:<br>
<code>&lt;%= render BonusWeb.Staff.OfferView, "_auction_js.html",              active_offers: @active_offers, conn: @conn %&gt;</code></p>
<p>I also get this error during compilation, which is all my drab pages…</p>
<blockquote>
<p>warning: function Phoenix.HTML.Engine.fetch_assign/2 is undefined or private. Did you mean one of:</p>
<pre><code>  * fetch_assign!/2
</code></pre>
<p>Found at 11 locations:<br>
lib/bonus_web/templates/staff/dashboard/index.html.drab:1<br>
lib/bonus_web/templates/staff/dashboard/index.html.drab:14<br>
lib/bonus_web/templates/staff/dashboard/index.html.drab:103<br>
lib/bonus_web/templates/staff/dashboard/index.html.drab:106<br>
lib/bonus_web/templates/staff/offer/index.html.drab:1<br>
lib/bonus_web/templates/staff/offer/index.html.drab:14<br>
lib/bonus_web/templates/staff/offer/index.html.drab:26<br>
lib/bonus_web/templates/staff/offer/index.html.drab:30<br>
lib/bonus_web/templates/user/offer/show.html.drab:1<br>
lib/bonus_web/templates/user/offer/show.html.drab:6<br>
lib/bonus_web/templates/user/offer/show.html.drab:7</p>
</blockquote>
<p><a class="mention" href="/u/grych" rel="nofollow">@grych</a> as soon as I change my mix file to pull in that commit with the fix, it seems to start throwing this error.<br>
Im using this to get the dep:<br>
<code>{:drab, github: "grych/drab", ref: "4ef09e8"},</code></p>
<p>plsss heellppp</p>
<p>I have tried upgrading everyting to phoenix 1.4, with drab 0.10.0 but i still get the same errrors.<br>
As soon as i rename the index.html.drab file the page loads (without drab).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110779" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/468">Post #467</a>
	                </div>
	            </div>
              <div id="likers-container-110779" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110779"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #467"></div>
  </section>
</div>
    <div class="postbit" id="110782" data-post-id="110782">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Please see this issue here <a href="https://github.com/grych/drab/issues/180" class="inline-onebox" rel="noopener nofollow ugc">function Phoenix.HTML.Engine.fetch_assign/2 is undefined or private · Issue #180 · grych/drab · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110782" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/469">Post #468</a>
	                </div>
	            </div>
              <div id="likers-container-110782" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110782"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #468"></div>
  </section>
</div>
    <div class="postbit" id="110852" data-post-id="110852">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="doogs" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  doogs
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I dont understand how to lock phoenix_html version.<br>
I have tried override, but it just keeps installing 2.13.1</p>
<p><code>{:phoenix_html, "~&gt; 2.12", override: true}</code></p>
<p>I have tried things like == 2.12 but that never works either?<br>
cant find any clear docs on how to do this.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110852" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/470">Post #469</a>
	                </div>
	            </div>
              <div id="likers-container-110852" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110852"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #469"></div>
  </section>
</div>
    <div class="postbit" id="110903" data-post-id="110903">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="grych" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/grych/120/5610_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  grych
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Drab</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You may do something like</p>
<pre><code>{:phoenix_html, "2.12.0"}
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110903" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/471">Post #470</a>
	                </div>
	            </div>
              <div id="likers-container-110903" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110903"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #470"></div>
  </section>
</div>
    <div class="postbit" id="110905" data-post-id="110905">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="outlog" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  outlog
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>just guessing but maybe a <code>mix deps.unlock phoenix_html</code> and then <code>mix deps.get</code> is needed?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="110905" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/drab-remote-controlled-frontend-framework-for-phoenix/3277/472">Post #471</a>
	                </div>
	            </div>
              <div id="likers-container-110905" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="110905"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #471"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/3277/load_more?page=48">Load more posts (18 remaining)</a>
</div></template></turbo-stream>