mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-13 21:24:58 +08:00
aef785eb12
Summary: - This diff also restructures the search package in a few ways: - Rename package to `thread-search` instead of `search-bar` - Move SearchQuerySubscription and SearchMailboxPerspective inside package. This allows SearchQuerySubscription to have access to SearchActions in a clean way and keeps all of the search related code in 1 package - Remove SearchMailboxPerspetcive from mailbox-perspective.coffee - Adds temporary spinner while we get a new design for it Test Plan: - TODO Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2868
13 lines
229 B
CoffeeScript
13 lines
229 B
CoffeeScript
Reflux = require 'reflux'
|
|
|
|
SearchActions = Reflux.createActions [
|
|
"querySubmitted"
|
|
"queryChanged"
|
|
"searchBlurred"
|
|
"searchCompleted"
|
|
]
|
|
|
|
for key, action of SearchActions
|
|
action.sync = true
|
|
|
|
module.exports = SearchActions
|