-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add filler text to the sidebar tabs when empty. #272
Comments
Hi, @ktrvs, I'm looking for an opportunity to make my first-time real contribution for an open-source project, so can I work on this issue? |
Hi @turisap! You're totally welcome to work on this. Note that you'll need to build the client when you make changes to its source. If you get stuck you can always ask us on https://meta.decent.chat 😃 |
@heyitsmeuralex, I'm happy to hear I can give it a try, I'm starting working on it 😃 |
Hi @heyitsmeuralex, I'm experiencing problems trying to get everything working. I followed intructions, but when I run
and a bunch of warnings when I run
After, when I run I tried to use your chat as you told me, but I wasn't successful here either((( I tried to register there, but on signup/signin attempts it shows an error 'failed to fetch'. Could you please help me here? Sorry, I'm new to contributing to open-source and highly likely made something wrong, but I'm getting these results 2 times in succession. Thanks |
@turisap: Eek, that's probably a Windows-specific issue you've got there (both @towerofnix and I are on Linux). Could you try
You can use any directory as a database path; Decent will automatically create its database files within it.
This means it didn't build properly, as you noticed.
This actually seems like an issue with Decent/the build script, not your setup. You're doing well 📦 Good luck! |
@turisap I think the issue actually has to do with an issue in our build system, sorry! It looks like it's failing to write to the (I'm guessing this from these two lines:)
Later on, you can just do
Are you able to show what happens in your browser's network console? That should be in the same place as the JavaScript console (just another tab in the UI). Particularly, "failed to fetch" means that the client's code tried to make an HTTP request, but the request failed somewhere along the line; the browser network console might help in figuring out exactly where it went wrong (such as by telling us what URL the failed HTTP request was to). Just as a quick recommendation: Alex and I are currently using the latest versions of Firefox to develop Decent, so Firefox works for us. Recent versions of Chrome and Safari have also been tested by other users. Edge hasn't been seen to work at all. But I don't think that browser choice is your issue, since the chat program is showing up for you. (If it were just a white screen, you'd probably be using a browser that's too old.) |
@towerofnix, the problem was with
I checked the Network tab and as it revealed it makes a request to
I also attached a screenshot of the Network tab. As for now I have the application running on my machine, could you direct me where should I add the filler text and on which conditions should it appear (or which steps should I undertake now)? What I have is only the page with two buttons, namely "add" and "Appearance" and don't completely understand what to do next :-) |
@heyitsmeuralex,
|
Sorry - you can watch for changes to the client JS/CSS by doing Some steps:
|
Ah yes, that's a bug. But it's an issue in the code - it's not the fault of you getting the program set up wrong or anything. |
@towerofnix, I've tried to implement this feature and then realized that it's not a good task for me due to unfamiliarity with framework you use. I went through docs but it did not made it clear. Sorry for spending your time on helping me set up this project on my machine)) |
No problem, I'm glad to help anytime! :) Thanks for having a go! Sorry our framework is rather an odd one; we're working on simplifying it a bit, but in the end it is a weird and unique style. |
Currently, when the pins, mentions, and users tabs have nothing to display, they are just blank. It would maybe be a good idea to add some filler text, or a small notice that lets the users know the tab has loaded, but just doesn't have anything to show.
The text was updated successfully, but these errors were encountered: