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


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Dmk" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Dmk/120/40058_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Dmk
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Well I guess I figured out username is required - not super obvious.</p>
<p>And then chat messages that I sent usually don’t show up until I refresh the page.</p>
<p>Also things are just very slow (not sure if that’s Hologram itself right now, or something else).</p>
<p>Overall I would spend some more time polishing this up if it’s intended to show off Hologram.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389841" 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/holodeck-a-showcase-app-for-the-hologram-framework/75568/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-389841" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389841"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="389849" data-post-id="389849">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="derek-zhou" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/derek-zhou/120/19943_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  derek-zhou
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="Dmk" data-post="12" data-topic="75568">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dmk/48/40058_2.png" class="avatar"> Dmk:</div>
<blockquote>
<p>And then chat messages that I sent usually don’t show up until I refresh the page.</p>
</blockquote>
</aside>
<p>Same here. looks like the SSE part is not working. I am <em>not</em> on mobile; desktop Firefox.</p>
<aside class="quote no-group" data-username="Dmk" data-post="12" data-topic="75568">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dmk/48/40058_2.png" class="avatar"> Dmk:</div>
<blockquote>
<p>Also things are just very slow (not sure if that’s Hologram itself right now, or something else).</p>
</blockquote>
</aside>
<p>It is quite snappy for me; but then I have a &lt;20ms ping time to the server.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389849" 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/holodeck-a-showcase-app-for-the-hologram-framework/75568/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-389849" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389849"
                     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 #12"></div>
  </section>
</div>
    <div class="postbit" id="389850" data-post-id="389850">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="bartblast" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/bartblast/120/17647_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  bartblast
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Hologram</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Cool stuff, congrats!</p>
<p>If you open the browser console there are a few errors (a <code>FunctionClauseError</code> among them) that I suspect are behind the funky behaviour, so that’s probably where I’d start. (Happy to help if you get stuck)</p>
<p>One separate note: the broadcasting goes through <code>Hologram.Realtime.*</code> directly, which is meant more as an escape hatch. For chat it’s better to use <code>put_broadcast</code> from inside a handler - it’s transactional, so the send is tied to the handler succeeding. It’s usually a small change too: if whatever does the broadcast is reachable from a handler that carries the server struct (like <code>init/3</code> or <code>command/3</code>), you just thread that server struct down to it and call <code>put_broadcast</code> there.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389850" 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/holodeck-a-showcase-app-for-the-hologram-framework/75568/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-389850" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389850"
                     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 #13"></div>
  </section>
</div>
    <div class="postbit" id="389953" data-post-id="389953">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jam" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jam/120/36266_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jam
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="nxy7" data-post="11" data-topic="75568">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nxy7/48/26800_2.png" class="avatar"> nxy7:</div>
<blockquote>
<p>sometimes my own messages didn’t show up until I’ve refreshed</p>
</blockquote>
</aside>
<p>fwiw, I see the same occasionally. Sometimes they appear just fine, albeit a bit delayed (not sure where the app is hosted it but I’m in Texas). Not sure what the underlying issue is. The only error I see in the console is:</p>
<pre data-code-wrap="js"><code class="lang-js">[Error] Failed to save page snapshot to OPFS:
TypeError: (await(await navigator.storage.getDirectory()).getFileHandle(i,{create:!0})).createWritable is not a function. (In '(await(await navigator.storage.getDirectory()).getFileHandle(i,{create:!0})).createWritable()', '(await(await navigator.storage.getDirectory()).getFileHandle(i,{create:!0})).createWritable' is undefined)
(anonymous function) — hologram.mjs:1148
	(anonymous function) (runtime-8412d975c288bc78de41778d48ee78f0.js:45:16273)
</code></pre>
<p>But I don’t think that is related necessarily.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="389953" 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/holodeck-a-showcase-app-for-the-hologram-framework/75568/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-389953" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="389953"
                     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 #14"></div>
  </section>
</div>
    <div class="postbit" id="390390" data-post-id="390390">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Driky" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Driky/120/15802_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Driky
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Cool stuff!</p>
<p>Here are some  bugs I found:</p>
<ul>
<li>on the dashboard, when changing the sort, you click on another sort before the previous one changes the view. It seems to generate an error in the log stream.</li>
<li>polls: I’m can’t edit any of the fields</li>
<li>in the UI: there seems to be no hover effect or click  animation. This is making it very confusing.</li>
</ul> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="390390" 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/holodeck-a-showcase-app-for-the-hologram-framework/75568/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-390390" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="390390"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>