Coder Social home page Coder Social logo

room-15 / chatse Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 18.0 11.38 MB

An Android application for StackOverflow and StackExchange chat! Revived by Tristan Wiley, base app created by Anubian

License: Apache License 2.0

Java 7.97% Kotlin 92.03%
android app chat stackexchange stackoverflow

chatse's People

Contributors

adammc331 avatar jcminarro avatar mauker1 avatar raghunandankavi2010 avatar sylvia43 avatar timcastelijns avatar tristanwiley avatar tryadelion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatse's Issues

Image uploading from gallery broken

Might be only on new devices. Emulator had issues so I couldn't test on older devices.

Path is returning null when getting image from gallery.

In ChatFragment, (Line 428)

Convert network.cookie package

These files didn't convert easily to kotlin, and I suspect it has to do with the montage of comments in there. Will be better of re-writing manually.

Clean Up Member Nav

The members in the room are really bunched together and there's no padding on anything.

I'll take this one on.

Shrink Navigation Menu image size

The problem

The image that's being used for the navigation menu header is a bit heavy to load. It's possible to notice the lag when you first try to open the menu.

We should reduce its size or use different images for each density to make the open/close animation smoother.

Possible Solution

I believe that reducing the image size to fit all cases won't be the best approach. We might follow the guidelines provided here on this SO answer and make the images for each screen density.

The file: https://github.com/room-15/ChatSE/blob/develop/app/src/main/res/drawable/material8.jpg

Add view for Transcript

We can just modify the ChatFragment layout and maybe even use the same MessageAdapter/modify it.

Fix images

Currently images do not load. I'm using Ion to load them, but they just simply don't work and I'm not entirely sure why at this moment.

MVP + Coroutines

Refactor all major views to Model-View-Presenter with some RxKotlin support.

Crashes on API18

We had this same issue with Chat Exchange.

You need to use CompatDrawables or something like that....

Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_upload.xml from drawable resource ID #0x7f070070

Load back previous messages

Make it so you can load previous messages

I'll work on this eventually, if someone gets to it first then <3 <3

Remove fully qualified package names

All over the codebase we have com.tristan.wiley.verbosity.Room. I think the code would be a lot more maintainable and readable if we got rid of those.

I will take this on as well.

Enable google+ login

I don'y know how feasible this is, but it would be superb to have the G+ login option on the app.

[Urgent] App crashes when too many rooms load at once

App crashes when too many rooms load at once. I'm not sure why completely and need some help fixing.

07-08 14:51:06.204 11621-11656/me.shreyasr.chatse E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
                                                                    Process: me.shreyasr.chatse, PID: 11621
                                                                    java.util.ConcurrentModificationException
                                                                        at java.util.ArrayList$Itr.next(ArrayList.java:831)
                                                                        at me.shreyasr.chatse.chat.service.IncomingEventService.onNewEvents(IncomingEventService.kt:38)
                                                                        at me.shreyasr.chatse.chat.service.ChatWebSocketListener.onMessage(ChatWebSocketListener.kt:35)
                                                                        at com.squareup.okhttp.internal.ws.RealWebSocket$1.onMessage(RealWebSocket.java:53)
                                                                        at com.squareup.okhttp.internal.ws.WebSocketReader.readMessageFrame(WebSocketReader.java:220)
                                                                        at com.squareup.okhttp.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:101)
                                                                        at com.squareup.okhttp.internal.ws.RealWebSocket.readMessage(RealWebSocket.java:95)
                                                                        at com.squareup.okhttp.ws.WebSocketCall.createWebSocket(WebSocketCall.java:171)
                                                                        at com.squareup.okhttp.ws.WebSocketCall.access$000(WebSocketCall.java:42)
                                                                        at com.squareup.okhttp.ws.WebSocketCall$1.onResponse(WebSocketCall.java:102)
                                                                        at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:170)
                                                                        at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
                                                                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
                                                                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
                                                                        at java.lang.Thread.run(Thread.java:761)

Offline support

As a user I want to read my chat history even offline.
Add local database - Realm, Room or ObjectBox for local storage.

Integrate deep linking

Attempted to do this and ended up running into issues, I'll try again

Also should eventually work with #28 so we can open transcript links too.

chat.stackoverflow.com/rooms/ --> open chatroom

chat.stackoverflow.com/transcript --> Transcript

Same for StackExchange

Log non-fatal issues using Crashlytics

Crashlytics can be used to log non-fatal issues. We could place a few Crashlytics.log(...) on some places of the code to help us find potential bugs.

Make an About page

About page containing the list of contributors

Tristan, Shreyash, Mauker, Adam

Yay

Also information about how the app was made, why it was made, etc. It's for the community by the community since StackExchange chat was kinda abandoned.

Add starboard

Need to add starboard and add newevent listener for started items

Check to see if Websocket is still listening onResume

Currently in on resume I'm reloading the room, which doesn't take too much away, but it could be done better. There should be a way to determine if the WS is still listening. If anyone can look at this and let me know, thanks.

Allow User To Reply To Message

When I long press on a message, all I can do currently is star it. It would be nice to have the option to "reply" to a message as well, and have the ":12345" text applied in the beginning.

Clean Up Chat Fragment

Need to redesign this fragment: http://i.imgur.com/XWuIWJL.png

This likely won't be the final redesign, but cleaning it up to make it more readable for testing.

Also will use git flow and create a new branch for this and merge it into a new develop branch.

Joining rooms doesn't work

(At least on API18)

I tried to join both SE room 201 and SE room 115 and after clicking join, nothing happens

Switch all random Ion network calls to OkHttp

Right now we're doing authenticated calls with OkHttp and Ion for random stuff (mainly because I was writing quick code and Ion is nice).

We need to switch Ion network calls to OkHttp and we can get rid of the Ion library completely.

No hate koush <3

#41 removed Ion for image loading, this is just killing it the rest of the way.

Code Cleanup & Documentation

Tristan converted this all to Kotlin, but I wanna go through and clean up a few things with my additional Kotlin experience and add some kdocs.

Star Dialog Copy

If I long press on an item that is already starred, we should display "Unstar Message" in the dialog box instead of it still saying "Star Message" which can be misleading.

star_dialog

UI enhancements

You should show some loading indication after the user presses the sign in button and while it's loading the previous messages in the room

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.