mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #8287] [CLOSED] modified #8339
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#8339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8287
Author: @R-Akila-2006
Created: 10/10/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
411c538modified📊 Changes
1 file changed (+141 additions, -34 deletions)
View changed files
📝
frontend/appflowy_flutter/README.md(+141 -34)📄 Description
Verify the CSS Alignment Fix ✅
Action: Go to your running Refine application (http://localhost:3000) and navigate to any Edit page.
Test: Slowly resize your browser window to simulate a mobile screen (make it very narrow).
Expected Result: The "Save" and "Delete" buttons in the footer should wrap neatly to a new line when space runs out, and both buttons should remain aligned to the right of the card footer.
Verify the Authentication Loop Fix ✅
Action: You need to trigger a session expiry or manually simulate an unauthorized state.
Test (Simulated):
Log in successfully.
Open your browser's Developer Tools → Application → Local Storage and delete the stored authToken (or whatever key you use).
Attempt to navigate to a restricted page or refresh the current page.
You should be redirected immediately to the /login page.
Expected Result: You should not see a flash of the main application or get stuck in a loop of redirects. The application should handle the session expiry cleanly and immediately land on the login screen.
Summary by Sourcery
Provide a sample refine authProvider implementation in place of the old README, including secure token storage, identity retrieval, and handling of expired sessions to prevent infinite redirects.
New Features:
Add a complete Refine AuthProvider implementation with login, logout, checkAuth, and getIdentity methods
Bug Fixes:
Fix infinite authentication redirect loop by handling 401/403 errors in onError and triggering logout
Documentation:
Replace outdated README content with usage example for the custom authProvider
Summary by Sourcery
Documentation:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.