Skip to content
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

Contact book provider #6553

Merged
merged 86 commits into from
Mar 13, 2024
Merged

Contact book provider #6553

merged 86 commits into from
Mar 13, 2024

Conversation

charlag
Copy link
Contributor

@charlag charlag commented Feb 14, 2024

Integration PR

Closes #6590
Closes #6467
Closes #6468
Closes #6469
Closes #6533
Closes #6461

@bedhub bedhub force-pushed the import-contacts-6467 branch from 9896b34 to d7f3dd9 Compare February 16, 2024 13:36
@murilopereirame murilopereirame marked this pull request as ready for review February 16, 2024 14:38
@charlag charlag changed the title Import contacts 6467 Phone book provider Mar 1, 2024
@charlag charlag changed the title Phone book provider Contact book provider Mar 1, 2024
@murilopereirame murilopereirame force-pushed the import-contacts-6467 branch 4 times, most recently from 3cc5649 to 73ab2a8 Compare March 1, 2024 10:18
@charlag charlag mentioned this pull request Mar 1, 2024
murilopereirame and others added 19 commits March 11, 2024 15:47
Now, when user receives a vCard as attachment an import option is
displayed inside the attachment bubble, allowing the user to preview
and import the users contained inside that vCard.

The app handles both vCard mime types, text/vcard and text/x-vcard.
The iOS readFile function was using the wrong Data constructor,
leading to an Error related to invalid URL when trying to read the file.

The readFile function now uses the Data(fileURLWithPath: ) instead of
Data(contentsOf: ), allowing us to pass file paths to be loaded.
Now the app is capable to handle native side calls asking for importing
files, mainly used when a user view a supported file and want that Tuta
app handles it.

Currently, the only supported format is .vcf and only on Android, since
iOS doesn't support setting our app as a handler for vcf files.
Implements a ContactFacade to communicate with the worker and handle
errors correctly.
Close #6467

Co-authored-by: mup <mup@tutao.de>
Co-authored-by: ivk <ivk@tutao.de>
It is not true that legacy plans can have unlimited custom domains. Make
it not display anything here to prevent confusion.

Fixes #6540
Close #6467

Co-authored-by: mup <mup@tutao.de>
Co-authored-by: ivk <ivk@tutao.de>
This commit adds the isDirty property to a contact and return Dirty
contacts to the web part of the app, allowing the app to deal with
native updates.
rezbyte and others added 26 commits March 13, 2024 10:47
Co-authored-by: ivk <ivk@tutao.de>
Co-authored-by: ivk <ivk@tutao.de>
Co-authored-by: paw-hub <104824185+paw-hub@users.noreply.github.com>
I am not happy about the magic '92%' value but to remove it we would
need to calculate the remaining space from the breadcrumbs & dialog
height. This may do for now.
We decided to change it during a meeting. This way we welcome the user
to the Tuta ecosystem instead of just the app.
This styles the `RadioSelector` into a 'radio button button' for the
lack of a better term. This was decided in a meeting.
This changes the breadcrumbs in the wizard to make the style discussed
during the meeting.
This is so the unlock method pages matches our design.
This tries to make the wizard less wordy & includes a couple
small fixes.
Co-authored-by: ivk <ivk@tutao.de>
This needs some optimization as the illustrations cause the CSS
animations to lag. `Icons.ts` is not the best place to have the
illustrations so we should create a new file. We could also look at
sanitizing the SVGs once a way to keep the CSS classes in the SVG is
found.
The illustrations do not clutter up the icons file this way.
This adds the next version of the illustrations and
changes some layouts.
This tries to speed up the wait between pressing 'next' and the next
page of the onboarding wizard appearing.
We need it to diagnose chunk problems. It was removed because it was not
compatible with our version of `rollup` at the time.

Co-authored-by: ivk <ivk@tutao.de>
As suggested by ivk, the illustrations are loaded in via an `img` tag
to avoid bloating the chunks. I have manually optimised and inserted the
illustrations again. This improves the performance of the wizard
drastically.
@murilopereirame murilopereirame added this pull request to the merge queue Mar 13, 2024
Merged via the queue into master with commit a604bad Mar 13, 2024
2 checks passed
@murilopereirame murilopereirame deleted the import-contacts-6467 branch March 13, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants