-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bublr - Development Goals #2
Comments
I do think having a randomly generated PFP would be cool :D
|
I will work on the search bar to allow users to search for posts :) |
Omg, Thank You! @jennifershinshin :D |
"Please assign the development goals related to The Abyss, including the search bar and universal PFP, to me for contributions and progress." |
Shalom! @rajanarahul93 OH, it's already contributed by @jennifershinshin (I also worked on the PFP system a couple days ago) 😅 and I also believe that she is actively working on it too 🤔 |
Hi, just wanted to let you know that I'm still here working on the explore page lol since I haven't given you an update in a while. |
Shalom! @jennifershinshin, OH, I knew you were quite busy so didn't want to annoy // disturb you 😓 but Yay! I am really glad to see how it's progressing, super excited to see it! Thanks for the Update! <3 P.S. Take your time! There's no need to hurry :D! |
Hi @solomonshalom The best we could do is searching posts with titles that begin with the search term. And it's also case sensitive. So if you search "Abyss", it will only bring up posts that begin with "Abyss" like Which kind of sucks lol. So I guess I reached a dead end for the Explore page because I can't finish it without these 3rd party services 😭 Sorry! |
Shalom! @jennifershinshin, Ah! Wait - why don't you use J-firebase? It could help w/ it but am not really sure either 🤔 P.S. It's alright if it does not work as intended, let's launch it under Beta and see how it goes :D ALSO, please don't be sorry! I know that you have worked really hard for it and am really grateful for it! 😄 |
Shalom! @jennifershinshin, I checked your fork, specifically import { useEffect, useState } from 'react';
// Other imports...
export default function Explore() {
// ...
const [searchInput, setSearchInput] = useState('');
const [filteredExplorePosts, setFilteredExplorePosts] = useState([]);
// ...
// Handle search input change
const handleSearchInputChange = (event) => {
setSearchInput(event.target.value);
};
// Perform search when searchInput changes
useEffect(() => {
if (searchInput.trim() === '') {
// If search input is empty, show all posts
setFilteredExplorePosts(explorePosts);
} else {
// Otherwise, filter posts based on the search input
const filteredPosts = explorePosts.filter((post) => {
const searchableText = `${post.title} ${post.author.displayName} ${post.content}`;
return searchableText.toLowerCase().includes(searchInput.toLowerCase());
});
setFilteredExplorePosts(filteredPosts);
}
}, [searchInput, explorePosts]);
return (
<>
{/* ... Existing JSX ... */}
<Search
posts={explorePosts}
isGlobalSearch={true}
getSearchInput={handleSearchInputChange}
css={css`
margin-left: 0em;
`}
></Search>
<ul
css={css`
list-style: none;
li {
max-width: 25rem;
margin: 2.5rem 0;
}
`}
>
{filteredExplorePosts.map((post) => (
<li key={post.id}>
{/* ... Render post details ... */}
</li>
))}
</ul>
{/* ... Existing JSX ... */}
</>
);
} |
Oh wow J-firebase might work! Thanks for sharing that, I'll try it out |
OH! Yay :D |
Hi! So, I checked out j-firebase and... well I just don't think it's a reliable solution. I see no documentation for it and I don't see anyone using it. It seems to have very little support. If you do want to use an indexing service, I'll happily take on the issue again. But at the moment, I don't think it's possible without one. Sorry! |
Shalom! @jennifershinshin, Ah! that's alright, not a problem! though I am pretty happy w/ the progress of it and hopefully, we will see it in action :D P.S. I know it's in-complete, but I do want to check it out so if it's possible, could you make a PR on it? |
Sure! I just created a PR for it here |
Perfect! Thanks @jennifershinshin - Lemme check it out :D! |
Shalom! @jennifershinshin, Just checked it out but it doesn't seem to work for some weird reason, I typed out my entire post's title, including the capitalization but it still didn't work. Is this a bug on my side? BTW, Do you think it's possible if we can add the PFP system to the users so it does not look that weird - P.S. Don't Have a Good Day, Have a Great Day |
Also yes we can add the PFP system. But I'm not sure what the PFP system is. Is that like a component you wrote? |
Shalom! @jennifershinshin, OoO, I didn't know that but super excited to check it out tmrw 😁! P.S. OH, I actually didn't complete the entire search result, I actually was going to write Edit: Do I have to do anything in the Firebase Console? I am building an Index in the Console but not sure if that's the way to go about it, do let me know on what to do! 🤔 |
Yep! you can check it out here (Added a comment just above where the PFP API is being used 😁) BUT I do want to mention that it was initially written so that when new users, specifically new anonymous users were to create an account, they can get a randomized PFP from the Dicebar API but I am pretty sure it didn't apply to the existing anonymous users, which I assumed it would but it didn't and so I wonder as to how we could implement it 🤔 |
Shalom! @jennifershinshin, OoO! It looks great! ✨ The Index Quest The PFP System For not being able to log-in as a anonymous user, fixing it via Firebase
Checking out the PFP System in Edit: I just realized it might be a bit confusing reading along the text, so I added chapters to them 😄 |
Hey there, @jennifershinshin, I was just cruising through The Abyss today and noticed something funky in light mode. The Write A Post icon seems to vanish because it's white. Is it possible if you can tweak it so that when somebody is in light mode, it icon goes black, and when they're in dark mode, it goes white? ALSO, when I checked it out on a big screen, the menus looked all wonky, like they were not fitting right. I think this might be bugging other folks too (on an aesthetic note). Can we roll with that cool design you showed me earlier? It looked pretty awesome! 😄 P.S. Will be working on it too! So, dww :D |
I can work on the Write a post icon bug! Also I synced my fork with the latest in master, but I don't see any dark mode feature. How do I turn on dark mode? Or has it not made it to production yet? Another question, how do I add something to my Reading List? |
Shalom! @jennifershinshin, Thank you for the help! I will also be working on it (Although I haven't done something similar, am ready to learn so 😁) and Yes! that's the design and it looks pretty cool! OH, that's alright! please do take your time :D AH! Well, you can't really turn on light // dark mode but it turns on by itself depending on what your system // browser preference is set to, for example - if your browser is in light mode, The Abyss will also be in light mode. If you want to know more about it, search for P.S. How's hacktoberfest going? 😄 |
Ok ya I'm having trouble implementing the new dropdown UI, so maybe a UI expert can take that task on haha Hacktoberfest is going alright! Unfortunately I got really busy in October so I couldn't spend a lot of time making contributions. But I'm not too worried about getting the 4/4 contributions so I'm cool with it haha. |
Shalom! @jennifershinshin, Ah, that's not a problem, dww about it! Though, you could try Kmenu or CMD+K. ONLY if you got the time, if not, I understand - TBH, you have done a lot and I really do appreciate every bit of it! OoO, I see! that's good to hear :D P.S. Did you read #47? |
I'll check it out 🤔 |
Thanks! @jennifershinshin and really do appreciate it <3! |
Hey There 👏,
This is some of the development goals that we set for Bublr! We're actively developing the site and any help, even if it's a small feedback or PR, can be so helpful!
Here are the Goals:
Completed so far:
Here are the Issues:
We also realize that the time developers take a lot of their time to work on OS projects without any gain of their own, so we have decided to reward developers who contribute meaningful and influential PR's. Though, since we're only a team of three that are bootstrapped into Bublr, we won't be able to do it immediately but when we reach that height, we will!
*Some of the images or posts you see will refer to the platform as "The Abyss" with an old brain logo which was later changed to "Bublr" with the new coffee logo to reflect more on our identity :D
The text was updated successfully, but these errors were encountered: