mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
e44a7e28b6
Summary: Add spinner and refactor container view to be router add `NylasStore` as a global importable. specs for APIEnv login page fixes add old fixes to container view finish extracting pages fix onboarding flow Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1652
14 lines
426 B
CoffeeScript
14 lines
426 B
CoffeeScript
PageRouter = require "./page-router"
|
|
{WorkspaceStore, ComponentRegistry} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state) ->
|
|
# This package does nothing in other windows
|
|
return unless atom.getWindowType() is 'onboarding'
|
|
|
|
WorkspaceStore.defineSheet 'Main', {root: true},
|
|
list: ['Center']
|
|
ComponentRegistry.register PageRouter,
|
|
location: WorkspaceStore.Location.Center
|