[PR #8287] [CLOSED] modified #8339

Closed
opened 2026-03-23 23:23:44 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8287
Author: @R-Akila-2006
Created: 10/10/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 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:

  • Replace outdated README with a comprehensive documentation covering user installation, build setup, contributing guidelines, roadmap, license, and acknowledgments

🔄 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/AppFlowy-IO/AppFlowy/pull/8287 **Author:** [@R-Akila-2006](https://github.com/R-Akila-2006) **Created:** 10/10/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`411c538`](https://github.com/AppFlowy-IO/AppFlowy/commit/411c5389e69930b563981c6e9036f49c8823b10e) modified ### 📊 Changes **1 file changed** (+141 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/README.md` (+141 -34) </details> ### 📄 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: - Replace outdated README with a comprehensive documentation covering user installation, build setup, contributing guidelines, roadmap, license, and acknowledgments --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:23:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#8339
No description provided.