mitchellurgero / tinysocial

Flat file based social network (Alpha)
MIT License
5 stars 0 forks source link

Good, very good ! #2

Closed simon511000 closed 6 years ago

simon511000 commented 6 years ago

Hello, it's a very very good start! This script works well, but it is not responsive. The interface is buggy on mobile. It should just add AJAX Once again, CONGRATULATIONS !!

simon511000 commented 6 years ago

Also, will you add at the same time plugins, custom languages. Because I am French. I will make you the translation with joy.

mitchellurgero commented 6 years ago

Which parts of the UI are buggy on mobile?

Also thank you for the kind words, It is just alpha software. Just to display what JSONDatabase is capable of. No Ajax in this one because I want it to be as light as possible in terms of resources.

simon511000 commented 6 years ago

I do not have my mobile now on me. I'll send you screenshots when I get it. AJAX allows you to use a minimum of resources because it allows to load only part of the page. For example, when likes are added, adding AJAX will be more than necessary I find.

Otherwise I would create a plugin that will allow you to do it :)

simon511000 commented 6 years ago

How do I see posts from other users?

User #1 :

User #2 :

mitchellurgero commented 6 years ago

Added the ability to translate (see app/lang folder).

Right now since there is no public timeline (yet), so for now you have to either manually browser to there user path (https://example.com/user/username) or find them in the comment of a post.

simon511000 commented 6 years ago

Great, thank you ! Update ideas:

rbertram90 commented 6 years ago

Refreshing to see someone trying something different and not relying on the use of a heavy framework :)

Have got the application up and running on a Windows machine, a couple of things didn't work out the box, I'll add seperate issues for these.

Interested to know if the long term aim is to create a Twitter clone using your JSON database, or something more?

simon511000 commented 6 years ago

For the next update: In index.php file, replace le line 57 by <html lang="<?php echo $config['defaultLang']; ?>"> Added the ability to translate this:

mitchellurgero commented 6 years ago

@rbertram90 - right now it’s just a proof of concept for JSONDatabase. If it turns into a twitter clone that would be pretty cool. Thanks for the kind words! If you like this project, take a look at gnusocial!

@simon511000 - password update is going to be part of the “user settings” feature.

mitchellurgero commented 6 years ago

Also sorry not everything was in that file for English Lang yet. It’s a lot of text to move lol

simon511000 commented 6 years ago

Which parts of the UI are buggy on mobile?

Here : And :

mitchellurgero commented 6 years ago

Mobile issue has been resolved as well.

mitchellurgero commented 6 years ago

Public timeline:

screenshot_2018-04-01_21-08-01

Settings page: screenshot_2018-04-01_21-07-21

Currently any width image can be there and there is no uploading (Maybe I will add this but I want this site to be as light as possible on the server so you might have to use a cdn with it OR public file from google drive or something as image.)

simon511000 commented 6 years ago

why not use gravatar ? I confirm that the mobile bugs have been fixed.

simon511000 commented 6 years ago

Wow, I can add myself as friends lol

mitchellurgero commented 6 years ago

lol yes well the whole thing was written in a weekend so.. as for gravatar, that's a good idea. I'll look into using that instead.

mitchellurgero commented 6 years ago

Check the latest commit. Added a bunch of new stuff to translate to French. ;)

simon511000 commented 6 years ago

Yes, It’s very very good ! I'll take care of it later because I have classes ;)

mitchellurgero commented 6 years ago

See latest commit, I had to revert your email/username code because it broke some things. I did re-implement it however. So your last few changes were reverted (like the fix bug commit) so submit only those fixes please if you like.

mitchellurgero commented 6 years ago

Latest commit has new features :3

simon511000 commented 6 years ago

Latest commit has new features :3

Great ! I'm looking right now

simon511000 commented 6 years ago

It's great what you do. I love this update. On the other hand, putting AJAX on buttonts like would be a good thing

mitchellurgero commented 6 years ago

I might put ajax, but the idea of Tinysocial is to be tiny, and ajax is not tiny but takes a lot of resources. I'll look into making a plugin that can be enabled for those who want it but it's not high priority for me at the moment.

simon511000 commented 6 years ago

Yes, It’s don’t a priority. Ajax is tiny : https://api.jquery.com/jQuery.ajax/ In your opinion, who takes the most resources between pressing the like button and reload the entire page, and press the like button and send an ajax request? And it's better for the user, it's not for nothing that mastodon, twitter, fasebook, google + and other uses ajax;)

mitchellurgero commented 6 years ago

I love Mastodon, Pleroma, & GNU Social -

However, Mastodon server side (and even client side) requires way too many resources, Pleroma is nice but still requires a modern browser.

GNU Social however, when stock with no extra plugins can be used literally anywhere.

TinySocial is modeled (sorta) after GNU Social.

Ajax would be nice, but I want this as light as possible, I might add Ajax in the future for small things like "liking" a post or something, but for now it's not super high on my list of considerations. Implementing OStatus would be cool though.

mitchellurgero commented 6 years ago

Seems you are looking for a web based IDE (honestcode/PadEdit), have you tried Codiad? (https://github.com/Codiad/Codiad)

@simon511000

simon511000 commented 6 years ago

thank you very much, indeed, I'm looking for one. I'm going to look, because it seems to be good 👍

simon511000 commented 6 years ago

great thanks a lot @mitchellurgero

simon511000 commented 6 years ago

I close

simon511000 commented 6 years ago

Seems you are looking for a web based IDE (honestcode/PadEdit), have you tried Codiad? (https://github.com/Codiad/Codiad)

KodExplorer is even more awesome : https://github.com/kalcaddle/KodExplorer

@mitchellurgero

mitchellurgero commented 6 years ago

I agree it has very many good features - but Codiad is just lighter in terms of resources (runs better in ChromeOS for example a chromebook)

simon511000 commented 6 years ago

yes you as a reason