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

refactor: folder strcuture #7558

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from

Conversation

LucasXu0
Copy link
Collaborator

@LucasXu0 LucasXu0 commented Mar 17, 2025

Feature Preview

  • integrate apis
    • get folder list {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/folder
    • create space {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/space
    • update space {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/space
    • update view {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/page-view/{{page_id}}
    • move view {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/page-view/{{page_id}}/move
    • create view {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/page-view
    • duplicate view {{APPFLOWY_BASE_URL}}/api/workspace/{{CURRENT_WORKSPACE_ID}}/page-view/{{CURRENT_PAGE_ID}}/duplicate
    • move page to trash
    • restore the page from trash
    • favorite
    • unfavorite
  • integrate the new apis in workspace service
    • remove the collab calls
    • switch the space
    • expand or collapse the space
    • update folder views after switching to another workspace
    • update view
    • update space
    • create view
    • create space
    • duplicate view
    • move page to trash
    • restore the page from trash
    • favorite
    • unfavorite
    • ...
  • Space bloc
    • create space
    • duplicate space
    • change space icon
    • delete space
    • reanme space
    • switch space
    • manage space
  • Folder view bloc
    • create page
    • duplicate page
    • change page icon
    • delete page
    • reanme page
    • add / remove from favorite
    • move to trash
    • restore from trash
  • Favorite Bloc
    • add to favorite
    • remove from favorite
    • pin
    • unpin
  • online: presist the request data
  • offline: presist the operations

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

@LucasXu0 LucasXu0 marked this pull request as draft March 17, 2025 09:39
@LucasXu0 LucasXu0 force-pushed the refactor_folder_strucuture branch from 34d42d6 to 5aba19c Compare March 17, 2025 10:16
@LucasXu0 LucasXu0 closed this Mar 18, 2025
@LucasXu0 LucasXu0 reopened this Mar 19, 2025
@LucasXu0 LucasXu0 force-pushed the refactor_folder_strucuture branch from d28063c to 688fddf Compare March 19, 2025 14:11
@LucasXu0 LucasXu0 force-pushed the refactor_folder_strucuture branch from dcbfae7 to cdc3b20 Compare March 28, 2025 01:42
@LucasXu0 LucasXu0 force-pushed the refactor_folder_strucuture branch from 4841323 to 07daee3 Compare March 28, 2025 09:43
@LucasXu0 LucasXu0 force-pushed the refactor_folder_strucuture branch from acd0b8b to 7675615 Compare March 31, 2025 02:48
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