LogoLogo
  • AppFlowy
    • ⭐Start here
      • Welcome to AppFlowy Docs
      • How to get help
      • Install AppFlowy
    • 🛠️Installation
      • 🖥️System Requirements
      • 💿Installation methods
        • Mac / Windows / Linux Packages
          • Installing on Linux
            • Installing & Setting up Flutter on Linux from Source
        • Docker
    • 🌱Community
      • 🤙Get in contact
      • 📔AppFlowy Mentorship Program
        • Program Guidance
        • Proposal Template
        • Pull Request Template
        • Mentorship 2023
          • Mentee Projects
            • Calendar View for AppFlowy Database
            • Custom Themes
            • Shortcuts and Customized Hotkeys for AppFlowy
            • Table
            • ⭐Favorites
            • Code Block
            • Outlines
            • Importers
            • AI Writers
            • Templates
          • Project Ideas
      • ✍️Write for AppFlowy
        • 📃Drafts
          • [Draft] Use Case: Software Engineer
          • [Draft] Use Case: High School Students
          • [Draft] How to add a new property to appflowy database
      • 🍂Hacktoberfest
    • 🛣️Roadmap
    • 🌋Product
      • 💽Data Storage
      • 🎨Customize and Style Content
      • ⏮️Duplicate, Delete, and Restore
      • 💎Databases
        • 🔢Database Properties
        • 🗃️Manage Properties
      • Ⓜ️Markdown
      • ⌨️Shortcuts
      • 🪄AppFlowy AI
      • 🦙AppFlowy Local AI - Ollama
      • 🎨Themes
      • ☁️AppFlowy Cloud
      • 🧩AppFlowy Plugins
        • Table-view Databases
        • Kanban Board
        • Calendar
        • Auto Generator
        • Smart Edit
        • Code Blocks
        • Math Equations
        • Cover
        • Emoji
  • Documentation
    • 💎Software Contributions
      • 🟢Get started
      • 💀Architecture
        • Frontend
          • Tauri
            • 🗺️CodeMap
          • Web
            • 🌟Design Philosophy
          • Flutter
            • 🗺️Project Structure: CodeMap
            • 🧮Grid
            • ⚙️Setting
          • Inter-Process Communication
          • User
            • User Data
            • Events & Notifications
          • Folder
            • Events & Notifications
          • Document
          • Database View
            • Events & Notifications
            • Grid
            • Calendar
            • Kanban Board
        • Backend
          • Initialize
          • Events
          • Delta(WIP)
          • Profiling
          • Database
        • Domain Driven Design
        • Proposals
      • 🏗️Conventions
        • 🔤Naming Conventions
        • ⌨️Code Conventions
          • 🐦Flutter
        • 🐙Git Conventions
      • 💛Submitting Code
        • 🏦Setting Up Your Repositories
        • ⤴️Submitting your first Pull Request
      • 🤟Coding Standards and Practices
        • 👽Rust Backend
    • 🚀AppFlowy
      • 👾How to contribute to AppFlowy
      • 🏗️Building from Source
        • 🌳Flutter Setup
          • 🐧Building on Linux
          • 🍎Building on macOS
          • 🪟Building on Windows
        • 🌐Web Setup
        • 📡Tauri Setup
      • ☁️Debugging with AppFlowy Cloud
      • 🔁Debugging in VS Code
      • ☎️Translate AppFlowy
      • ❓Troubleshooting
      • 👮‍♀️Licenses
    • 🏍️AppFlowy Editor
      • ⌨️How to Implement Markdown Syntax To Style Text In AppFlowy Editor
      • 🧩How to Create a Plugin for AppFlowy Editor
      • 👮‍♀️Licenses
    • ☁️AppFlowy Cloud
      • 🌈Architecture
      • ☀️Deployment
  • Guides
    • Sync Desktop and Mobile
    • Self-Hosting AppFlowy
      • ☁️Self-hosting AppFlowy with AppFlowy Cloud
      • 🆓Self-hosting AppFlowy for free Using Supabase
    • Import From Notion
  • Blog Highlights
    • 🔮Demystifying AppFlowy Editor's Codebase
  • Handbook
    • Core values
Powered by GitBook
On this page
  • Events
  • Notifications

Was this helpful?

Edit on GitHub
  1. Documentation
  2. Software Contributions
  3. Architecture
  4. Frontend
  5. Folder

Events & Notifications

PreviousFolderNextDocument

Last updated 2 years ago

Was this helpful?

Events are used in the between the frontend and the backend. If you interested in the process about generating the events files, please check out.

This document explains the events and notifications defined in the Folder scope.

Events

FolderEvent

CreateWorkspace

Create a new workspace

ReadCurrentWorkspace

Read the current opening workspace

OpenWorkspace

Open the workspace and mark it as the current workspace

ReadWorkspaceApps

Return a list of apps that belong to this workspace

CreateApp

Create a new app

DeleteApp

Delete the app

ReadApp

Return the app info

UpdateApp

Update the app's properties including the name,description, etc.

CreateView

Create a new view in the corresponding app

ReadView

Return the view info

UpdateView

Update the view's properties including the name,description, etc.

DeleteView

Move the view to the trash folder

DuplicateView

Duplicate the view

CloseView

Close and release the resources that are used by this view

SetLatestView

Set the current visiting view

MoveItem

Move the view or app to another place

ReadTrash

Read the trash that was deleted by the user

PutbackTrash

Put back the trash to the origin folder

DeleteTrash

Delete the trash from the disk

RestoreAllTrash

Put back all the trash to its original folder

DeleteAllTrash

Delete all the trash from the disk

Notifications

FolderNotification

DidCreateWorkspace

Trigger after creating a workspace

DidDeleteWorkspace

Trigger after deleting a workspace

DidUpdateWorkspace

Trigger after updating a workspace

DidUpdateWorkspaceApps

Trigger when the number of apps of the workspace is changed

DidUpdateWorkspaceSetting

Trigger when the settings of the workspace are changed. The changes including the latest visiting view, etc

DidUpdateApp

Trigger when the properties including rename,update description of the app are changed

DidUpdateView

Trigger when the properties including rename,update description of the view are changed

DidDeleteView

Trigger after deleting the view

DidRestoreView

Trigger when restore the view from trash

DidMoveViewToTrash

Trigger after moving the view to trash

DidUpdateTrash

Trigger when the number of trash is changed

💎
💀
communication
this