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

feat: add delete account to settings #1888

Merged
merged 17 commits into from
Jul 3, 2023
Merged

Conversation

MohamadJaara
Copy link
Member

@MohamadJaara MohamadJaara commented Jun 26, 2023


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

delete account button in account screen

Solutions

implement the UI as described in jira

Dependencies (Optional)

If there are some other pull requests related to this one (e.g. new releases of frameworks), specify them here.

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.

Notes (Optional)

Specify here any other facts that you think are important for this issue.

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

# Conflicts:
#	app/src/main/kotlin/com/wire/android/di/CoreLogicModule.kt
#	kalium
@AndroidBob
Copy link
Collaborator

Build 112 failed.

@AndroidBob
Copy link
Collaborator

Build 114 failed.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 27, 2023

Unit Test Results

  72 files  +2    72 suites  +2   19s ⏱️ -4s
446 tests +4  445 ✔️ +4  1 💤 ±0  0 ±0 

Results for commit 5a97449. ± Comparison against base commit ec3fc30.

♻️ This comment has been updated with latest results.

@AndroidBob
Copy link
Collaborator

Build 117 failed.

@MohamadJaara MohamadJaara requested review from a team, gongracr, yamilmedina, alexandreferris, borichellow and ohassine and removed request for a team June 27, 2023 11:05
@MohamadJaara MohamadJaara self-assigned this Jun 27, 2023
@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #1888 (5a97449) into develop (ec3fc30) will increase coverage by 0.07%.
The diff coverage is 84.21%.

@@              Coverage Diff              @@
##             develop    #1888      +/-   ##
=============================================
+ Coverage      36.05%   36.12%   +0.07%     
- Complexity       784      790       +6     
=============================================
  Files            279      281       +2     
  Lines          10682    10698      +16     
  Branches        1398     1399       +1     
=============================================
+ Hits            3851     3865      +14     
- Misses          6447     6449       +2     
  Partials         384      384              
Impacted Files Coverage Δ
...oid/ui/home/settings/account/MyAccountViewModel.kt 53.65% <0.00%> (ø)
...gs/account/deleteAccount/DeleteAccountViewModel.kt 84.61% <84.61%> (ø)
...android/ui/home/settings/account/MyAccountState.kt 100.00% <100.00%> (ø)
...ttings/account/deleteAccount/DeleteAccountState.kt 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec3fc30...5a97449. Read the comment docs.

@github-actions
Copy link
Contributor

Build (beta-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

Build (dev-debug) available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 122 succeeded.

The build produced the following APK's:

Copy link
Contributor

@yamilmedina yamilmedina left a comment

Choose a reason for hiding this comment

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

LGTM! Just added a small suggestion.

app/src/main/kotlin/com/wire/android/util/CamelCase.kt Outdated Show resolved Hide resolved
@AndroidBob
Copy link
Collaborator

Build 159 failed.

# Conflicts:
#	app/src/main/res/values/strings.xml
#	kalium
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2023

@MohamadJaara looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
6fa0aaffdb4ddd4400076ce4cffe49b62ea421f3 133eef3c5fe7db351ffd0a894f1cadb9a35834fe

Is this intentional?

@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2023

Build (dev-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2023

Build (beta-debug) available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 160 succeeded.

The build produced the following APK's:

Copy link
Member

@vitorhugods vitorhugods left a comment

Choose a reason for hiding this comment

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

Looks pretty good to me.

I'd just consider moving the logic related to account deletion to its own ViewModel.

Comment on lines +34 to +35
val input = "هذا اختبار"
val expected = input
Copy link
Member

Choose a reason for hiding this comment

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

Today I've learned
image

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Build (dev-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Build (beta-debug) available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 177 succeeded.

The build produced the following APK's:

@MohamadJaara MohamadJaara enabled auto-merge July 3, 2023 16:20
@MohamadJaara MohamadJaara added this pull request to the merge queue Jul 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Build (beta-debug) available here. Scroll down to Artifacts!

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Build (dev-debug) available here. Scroll down to Artifacts!

Merged via the queue into develop with commit 8438b3e Jul 3, 2023
@MohamadJaara MohamadJaara deleted the feat/delete_account branch July 3, 2023 16:46
@AndroidBob
Copy link
Collaborator

Build 182 succeeded.

The build produced the following APK's:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants