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 account deletion flow #1990

Merged
merged 16 commits into from
Oct 31, 2023
Merged

feat: add account deletion flow #1990

merged 16 commits into from
Oct 31, 2023

Conversation

nickytonline
Copy link
Member

@nickytonline nickytonline commented Oct 23, 2023

Description

Adds the account deletion flow to the app. The only way you can test this is by deleting your own account in beta. Once tested, your soft delete can be reset, but it's a manual process.

To test this, head to https://deploy-preview-1990--oss-insights.netlify.app/user/settings and scroll to the bottom to delete your account.

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Closes https://github.com/open-sauced/engineering/issues/174
Relates to https://github.com/open-sauced/api/pull/396
fixes #1990

Mobile & Desktop Screenshots/Recordings

Desktop

CleanShot 2023-10-25 at 09 50 44

Smaller Screens

CleanShot 2023-10-25 at 07 31 22

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 docs.opensauced.pizza
  • 🍕 dev.to/opensauced
  • 📕 storybook
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Oct 23, 2023

Deploy Preview for oss-insights ready!

Name Link
🔨 Latest commit 2d7c6bc
🔍 Latest deploy log https://app.netlify.com/sites/oss-insights/deploys/654143942c49310008fc1072
😎 Deploy Preview https://deploy-preview-1990--oss-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 23, 2023

Deploy Preview for design-insights ready!

Name Link
🔨 Latest commit 2d7c6bc
🔍 Latest deploy log https://app.netlify.com/sites/design-insights/deploys/654143940f9df2000864d844
😎 Deploy Preview https://deploy-preview-1990--design-insights.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nickytonline nickytonline changed the title nickytonline/danger zone feat: add account deletion flow Oct 24, 2023
@nickytonline nickytonline force-pushed the nickytonline/danger-zone branch 6 times, most recently from b6264ec to 5c7f6ba Compare October 25, 2023 02:59
@nickytonline nickytonline force-pushed the nickytonline/danger-zone branch 3 times, most recently from 3bdb815 to c7fdf04 Compare October 25, 2023 18:23
@nickytonline nickytonline force-pushed the nickytonline/danger-zone branch from c7fdf04 to 708ca2a Compare October 25, 2023 21:33
@bdougie
Copy link
Member

bdougie commented Oct 26, 2023

@nickytonline are we able to add a "Type CONFIRM" to confirm, similar to deleting insight pages?

Also can you share what is blocking this here?

@nickytonline
Copy link
Member Author

nickytonline commented Oct 26, 2023

@nickytonline are we able to add a "Type CONFIRM" to confirm, similar to deleting insight pages?

Also can you share what is blocking this here?

We can type CONFIRM. I'll go grab that from the insights code.

The blocker is I need to build the API endpoint which I'm looking at shortly. That has to go in first before this is merged.

I have a PR up for that https://github.com/open-sauced/api/pull/395

@nickytonline nickytonline force-pushed the nickytonline/danger-zone branch 3 times, most recently from 04bc8fc to cf2b031 Compare October 26, 2023 19:25
@nickytonline nickytonline force-pushed the nickytonline/danger-zone branch from cf2b031 to f81c72b Compare October 26, 2023 19:27
@nickytonline nickytonline marked this pull request as ready for review October 31, 2023 13:12
Copy link
Member

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

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

LGTM! Nice work Nick!!

Copy link
Contributor

@OgDev-01 OgDev-01 left a comment

Choose a reason for hiding this comment

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

🍕

@bdougie bdougie mentioned this pull request Oct 31, 2023
2 tasks
@nickytonline nickytonline merged commit daeb10e into beta Oct 31, 2023
11 checks passed
@nickytonline nickytonline deleted the nickytonline/danger-zone branch October 31, 2023 18:18
open-sauced bot pushed a commit that referenced this pull request Oct 31, 2023
## [1.74.0-beta.4](v1.74.0-beta.3...v1.74.0-beta.4) (2023-10-31)

### 🍕 Features

* add account deletion flow ([#1990](#1990)) ([daeb10e](daeb10e))
@bdougie
Copy link
Member

bdougie commented Oct 31, 2023

Want to comment earlier before this was merged but the UI for the danger zone, same as insights with the a grey background

image

open-sauced bot pushed a commit that referenced this pull request Nov 6, 2023
## [1.74.0](v1.73.0...v1.74.0) (2023-11-06)

### 🍕 Features

* add account deletion flow ([#1990](#1990)) ([daeb10e](daeb10e))
* add contributor's when editing a list ([#2016](#2016)) ([1a0b4da](1a0b4da))
* add GitHub Org Repositories sync to insight page creation ([#2023](#2023)) ([e5f38ac](e5f38ac))
* add GitHub team import to new list page ([#2006](#2006)) ([3113a74](3113a74))
* add grey background for delete account ([#2030](#2030)) ([ea10161](ea10161))

### 🐛 Bug Fixes

* add check to allow team member access for private insight pages ([#2049](#2049)) ([2e48b95](2e48b95))
* change avatar alignment with highlight input ([#2032](#2032)) ([dc409c4](dc409c4))
* change label style of bio to bold ([#2033](#2033)) ([647fca3](647fca3))
* chart tooltip cut in contributors card ([#2029](#2029)) ([7c16863](7c16863))
* code standard errors ([e93bdca](e93bdca))
* don't recommend discordapp & use user's full id ([c5cad45](c5cad45))
* don't recommend discordapp as url & use user's full id ([#2014](#2014)) ([58df997](58df997))
* dropdown flickery on single highlight card ([#2040](#2040)) ([672ce2f](672ce2f))
* eslint issue by using `eslint-disable` ([#1993](#1993)) ([bc285a2](bc285a2))
* made notifications buttons more accessible ([#2034](#2034)) ([50bcf9d](50bcf9d))
* occurence eslint disable ([3d84665](3d84665))
* remove build commands from netlify.toml ([#2018](#2018)) ([138a125](138a125))
* ToggleSwitch component has required label via aria-label or aria-labelledby ([#2035](#2035)) ([0684081](0684081))
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.

5 participants