Skip to content

Allow creating DMs/adding users by QR code #2276

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

Closed
wants to merge 74 commits into from
Closed

Allow creating DMs/adding users by QR code #2276

wants to merge 74 commits into from

Conversation

TR-SLimey
Copy link
Contributor

@TR-SLimey TR-SLimey commented Oct 20, 2020

Fixes #2025

Also fixes a small typo in RoomDirectoryItem.kt

As requested by @BillCarsonFr, I've made adding by QR code more seamless by automatically creating a room as soon as the QR code is scanned, or switching to a room if it already exists. Sadly, no auto-accept yet :(

Pull Request Checklist

  • Changes have been tested on an Android device or Android emulator with API 21
  • UI change has been tested on both light and dark themes
  • Pull request is based on the develop branch
  • Pull request updates CHANGES.md
  • Pull request includes screenshots or videos if containing UI changes
  • Pull request includes a sign off
Screenshots Sharing user by QR code (Light theme)

image

Sharing user by QR code (Dark theme)

image

Add by QR code (Light theme)

image

Add by QR code (Dark theme)

image

Signed-off-by: TR_SLimey | [email protected] | @tr_slimey:an-atom-in.space

@TR-SLimey TR-SLimey changed the title Add creating DMs/adding users by QR code Allow creating DMs/adding users by QR code Oct 20, 2020
@TR-SLimey TR-SLimey marked this pull request as ready for review October 20, 2020 18:08
@bmarty
Copy link
Member

bmarty commented Oct 20, 2020

Thanks for the PR. First comment: please make sure that every strings displayed to the user are not hard-coded and are defined in the file strings.xml. I will add more comments later.

Be aware that we are reworking the screen where you have added the "Add by QR code". Maybe if the purpose is to create DM by scanning a QR code, a first dialog can be displayed when clicking on the create DM floating action button to ask if the user want to scan a QR code, or if he wants to search for the user manually. WDYT?

…migration

Fix crpyto store migration from RiotX.
@TR-SLimey
Copy link
Contributor Author

Should be better now hopefully :) If there's anything else I should change, let me know. Meanwhile, I'll be working on that FAB menu.

@bmarty
Copy link
Member

bmarty commented Oct 23, 2020

I'm seeing a lot of commits now, which are not related to this PR. What happened?

@TR-SLimey
Copy link
Contributor Author

TR-SLimey commented Oct 23, 2020

Argh. I was trying to pull the latest changes from the main repo into my fork and apparently I messed something up. I should have probably done this in a separate branch. I'll close this PR and re-do it.

@TR-SLimey TR-SLimey closed this Oct 23, 2020
@TR-SLimey TR-SLimey mentioned this pull request Oct 23, 2020
6 tasks
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.

QR-codes for faster contact sharing
4 participants