[PR #659] [MERGED] fix: open the latest view when AppFlowy launch. #12680

Closed
opened 2026-03-24 21:42:16 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/659
Author: @appflowy
Created: 7/20/2022
Status: Merged
Merged: 7/20/2022
Merged by: @appflowy

Base: mainHead: fix/resize_window_issue


📝 Commits (1)

  • da3fd11 fix: open the latest view when AppFlowy launch.

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart (+4 -1)
📝 frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart (+3 -1)

📄 Description

AppFlowy will open the view that the last time the user opened it. But the _buildHomeMenu function will get called when AppFlowy's screen resizes. So we only set the latestOpenView when it's null.


🔄 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/659 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 7/20/2022 **Status:** ✅ Merged **Merged:** 7/20/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `fix/resize_window_issue` --- ### 📝 Commits (1) - [`da3fd11`](https://github.com/AppFlowy-IO/AppFlowy/commit/da3fd117378053dee1195f7618dd3d8eb8fcece6) fix: open the latest view when AppFlowy launch. ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/workspace/presentation/home/home_screen.dart` (+4 -1) 📝 `frontend/app_flowy/lib/workspace/presentation/home/menu/menu.dart` (+3 -1) </details> ### 📄 Description AppFlowy will open the view that the last time the user opened it. But the _buildHomeMenu function will get called when AppFlowy's screen resizes. So we only set the latestOpenView when it's null. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-24 21:42:16 +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#12680
No description provided.