-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
v1.2.1 terminal app #353
Merged
Merged
v1.2.1 terminal app #353
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* update simplexmq sha * package build for iOS/Intel simulator Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* switch to async * make tests pass
* new compose project * classes for chat command and response * use val with get() for commands and responses * chat model * initial jetpack compose set up * wire it up with chat * first ability to send and receive messages * refactor model/controller interface * JSON samples * terminal view with items * playing around with json * JSON serialization works * parsing API responses in the terminal * add subclass for contactSubscribed reponse * remove android-poc * remove JSON example Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
* switch to the new API (does not work) * kind of works without parsing JSON
* initial rough ideas * refactor and put in high level navigation * refactor Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* add ids to terminalitems and work with these * remove unnecessary logging
* add initial conditional routing -- create user not working * only one nav controller * user check on launch works (kind of) * Apply suggestions from code review Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* view placeholders for chats list and chat views * classes for chats * set the user to the model * use Long for IDs * chats/messages API (not working yet) * android api works * line breaks
* make chat model not nullable * parse datetimes * smart constructors for TerminalItem
* update model when messages arrive * update chat in the list when message is added * copy methods with optional parameters * use data classes to have pre-defined copy methods
* initial restyling: * polish styling a little * lint * more linting * add dependency * add time to messages when they exist * if no chat items show time from time chat created * playing with colours * rename shared colour * flip title text colour in dark mode
* add contact (WIP) * basic UI to create new chat, finalize API classes and functions (TODO: process chatRecvMsg messages) * add contact layout with QR code * refactor NewChatSheet to split layout, refactor withApi * add newlines * Update apps/android/app/src/main/java/chat/simplex/app/views/helpers/SimpleButton.kt Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk> Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* connecting via QR code works * add contact/scan qr code pages * new chat sheet layout * remove unused imports and some warnings
* simple case * version almost working with true links * show alerts in imperative way, like they were meant to * connecting via links works * add error handling to connections Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
… status for contacts, improve error handling
…s (as in mobile) and avoid echo delays (#343) * terminal: make input responsible for echo to keep commands synchronous (as in mobile) and avoid echo delays * use echo Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com> Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
* android: update user profile view logic * indentation * format * UserProfileView * remove prints * empty line * undo format * change by value * separate layout * layout * unconditionally editProfile = false * add header and close button to profile page, add links to "settings" * use generic navigate in settings, remove terminal button from the list of chats Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
…er is loaded) (#345) * initial attempt -- not recomposing * change to mutable state, still not working * two state works, why not three? * fix so we actually change state * remove unnecessary brackets * refactor * using Boolean? for userCreated Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* bigger fonts, text entry layout * resize scroll area when keyboard appears; automatically scroll on new messages * fix message entry in dark mode * imporove console layout * fix chat info with dark mode * fix typo * clean up * remove unused time formatter
* add unread counter to chats * run unread clear on message view for more than a second * track minUnreadItemId
epoberezkin
approved these changes
Feb 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.