[PR #54] [MERGED] [core] Sign Out from Current Device #58

Closed
opened 2025-10-31 16:56:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feeddeck/feeddeck/pull/54
Author: @ricoberger
Created: 10/29/2023
Status: Merged
Merged: 10/29/2023
Merged by: @ricoberger

Base: mainHead: core-signout-from-current-device


📝 Commits (1)

  • e0fae20 [core] Sign Out from Current Device

📊 Changes

1 file changed (+99 additions, -4 deletions)

View changed files

📝 app/lib/widgets/settings/profile/settings_profile_signout.dart (+99 -4)

📄 Description

Until now a user was always signed out from all devices when he clicked on the "Sign Out" button in the settings. Now we will display a actions modal bottom sheet where a user can select if he wants to sign out from the current device or from all devices.

For this we pass the [SignOutScope] to the "signOut" function of Supabase. if the scope is "local" the user will be signed out from the current device. If the scope is "global" the user will be signed out from all devices.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feeddeck/feeddeck/pull/54 **Author:** [@ricoberger](https://github.com/ricoberger) **Created:** 10/29/2023 **Status:** ✅ Merged **Merged:** 10/29/2023 **Merged by:** [@ricoberger](https://github.com/ricoberger) **Base:** `main` ← **Head:** `core-signout-from-current-device` --- ### 📝 Commits (1) - [`e0fae20`](https://github.com/feeddeck/feeddeck/commit/e0fae204b8afeb80a71325930b882bac519a364b) [core] Sign Out from Current Device ### 📊 Changes **1 file changed** (+99 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/lib/widgets/settings/profile/settings_profile_signout.dart` (+99 -4) </details> ### 📄 Description Until now a user was always signed out from all devices when he clicked on the "Sign Out" button in the settings. Now we will display a actions modal bottom sheet where a user can select if he wants to sign out from the current device or from all devices. For this we pass the [SignOutScope] to the "signOut" function of Supabase. if the scope is "local" the user will be signed out from the current device. If the scope is "global" the user will be signed out from all devices. <!-- Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz". If you add a breaking change within your PR you should add ":warning:" to the title, e.g. ":warning: [core] My breaking change" --> <!-- Description of what have been changed. Please also reference an issue, when available. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-10-31 16:56:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/feeddeck#58