Skip to content

Commit

Permalink
problem: no help thread
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed May 28, 2024
1 parent 94e3d3b commit c33f15e
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/lib/components/ChatLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,23 @@
</Button>
{/if}

<Button onClick={()=>{alert("todo: implement todo bookmarks")}}><ListCheckSolid /></Button>
<Button><CircleQuestionSolid /></Button>
<Button
onClick={() => {
alert('todo: implement todo bookmarks');
}}><ListCheckSolid /></Button
>
<Button
onClick={() => {
goto(`${base}/help`);
}}><CircleQuestionSolid /></Button
>
<Button><GearSolid /></Button>
<Button onClick={()=>{console.log("43");window.location.href=`https://github.com/nostrocket/humble.horse/`}}><CodePullRequestSolid /></Button>
<Button
onClick={() => {
console.log('43');
window.location.href = `https://github.com/nostrocket/humble.horse/`;
}}><CodePullRequestSolid /></Button
>

<Button onClick={toggleMode}>
<Moon
Expand All @@ -54,7 +67,11 @@

<!-- <Button onClick={()=>{goto(`${base}/debug`)}}><ToolboxSolid /></Button
> -->
<Button onClick={()=>{alert("implement podcast tiks")}}><PodcastSolid /></Button>
<Button
onClick={() => {
alert('implement podcast tiks');
}}><PodcastSolid /></Button
>
<Button
notifs={0}
onClick={() => {
Expand Down
38 changes: 38 additions & 0 deletions src/routes/help/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<script>
import ChatLayout from '@/components/ChatLayout.svelte';
</script>
<ChatLayout>
<div slot="buttons"></div>
<div class="pt-2"></div>
<div class="w-full">
<div class="grid pb-11">
<div class="flex gap-2.5 mb-4">
<img
class="w-8 h-8 rounded-full"
src="https://assets.americanmeadows.com/media/catalog/product/h/o/horse-pasture-and-hay-seed-mix-horse.jpg"
alt="profile pic"
/>
<div class="grid">
<h5 class="text-gray-900 dark:text-orange-600 font-semibold leading-snug pb-1">Horsey McHorseface</h5>
<div class="grid overflow-hidden mr-2">
<div
class="px-3.5 py-2 bg-gray-200 dark:bg-gray-700 rounded-e-xl rounded-es-xl flex flex-col gap-2"
>
<p class="text-sm font-normal text-gray-900 dark:text-white py-2">
Humble Horse is an experiment in making nostr into a giant group chat. Instead of creating discrete groups, we "move" the nostr client over conversations based on heuristics to dynamically "create" groups based on what content the user is interested in. I have some ideas on how to find optimise for presenting the user with the best "groups" so keep watching the progress.
</p>

<p class="text-sm font-normal text-gray-900 dark:text-white py-2">
Bloom filter events are used to prevent the user seeing "groups" that they are not interest in more than once.
</p>

<p class="text-sm font-normal text-gray-900 dark:text-white py-2">
Users will also be encouraged to reply in an existing group rather than creating a new air reply, we do this by presenting them with existing groups that are similar to whatever they have started writing in the message input box.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</ChatLayout>

0 comments on commit c33f15e

Please sign in to comment.