Skip to content

Diagnostic ping screen and chat screen added. Bugs fixed.#18

Merged
ccameron-gb merged 12 commits into
mainfrom
diagnostic
Nov 12, 2024
Merged

Diagnostic ping screen and chat screen added. Bugs fixed.#18
ccameron-gb merged 12 commits into
mainfrom
diagnostic

Conversation

@mangocat
Copy link
Copy Markdown
Contributor

@mangocat mangocat commented Nov 8, 2024

  1. Added the ping screen and chat screen. They can be accessed via the network screen.
  2. Fixed duplicate connection issue.
  3. Added some logs if errors occurred when connecting to another device. The QR code and Quick Share connecting methods now shares a function for better maintenance.

…e, the app will check if the new device is already connected to the mesh network. If it is already connected, the connection request will be dropped to avoid duplicate connection.
@kelvinlin9614 kelvinlin9614 self-assigned this Nov 9, 2024
mangocat and others added 2 commits November 8, 2024 17:47
1. Delete Info Screen
2. Add Settings Screen
3. Design Settings Screen UI
@kelvinlin9614 kelvinlin9614 self-requested a review November 9, 2024 18:44
Copy link
Copy Markdown
Collaborator

@kelvinlin9614 kelvinlin9614 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great update! Both the chat screen and ping screen are working well.

Here are a few aspects not covered in your description:

  1. Each line of chat history is copyable.
  2. The chat function was implemented using a database, the NanoHTTPD server, and the OkHTTP3 client. (Correct me if I was wrong)

I have a couple of suggestions:

  1. The "Ping" and "Send" buttons appear oddly on my Samsung phone but look fine on my tablet. (Minor fix)
  2. Perhaps we could retrieve all message history every time the app opens. Since we’re using a database, we could store messages in local storage and use the IP address and device name to match specific users. Not sure if it's worth it, but just a thought.

Overall, it’s a solid update!

kelvinlin9614 and others added 5 commits November 9, 2024 11:10
Users can set the theme to "System," "Light," or "Dark." The app will remember their last choice and automatically apply it each time they open the app.
1. Implemented Language and Theme selection features.
2. Language Options: Follow System, English, Spanish, Chinese.
3. Theme Options: Follow System, Light, Dark.
4. Both language and theme preferences retain the user’s previous choice.
5. Preferences are automatically applied when the user reopens the app.
@ccameron-gb ccameron-gb self-requested a review November 12, 2024 16:59
Copy link
Copy Markdown
Collaborator

@ccameron-gb ccameron-gb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An impressive set of changes!

@ccameron-gb ccameron-gb merged commit 49cd60d into main Nov 12, 2024
@ccameron-gb ccameron-gb deleted the diagnostic branch November 12, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants