forked from stream-labs/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scene Collections V2: Backup and Sync (stream-labs#202)
* WIP scene collection sync * embarking on a scene collections rewrite * WIP Scene Collections V2 * working basic functionality v2 * implement recovery * implement overlay installation in the new system * tmp working on onboarding * recopy nodes * implement login-logout and onboarding step * add migration code * carry over fetch scene collection schema thing * move over to the new system * notify the server of newly active scene collections * remove migrator * fix tests * clean up API * small refactor to add state management to a separate class * update comment * move over initial state to state service * update README with new scene collection loading process * update cache uploader * remove comment * update comment
- Loading branch information
Showing
57 changed files
with
1,448 additions
and
762 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
app/components/pages/onboarding_steps/SceneCollectionsImport.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<template> | ||
<div> | ||
<div class="onboarding-step"> | ||
<div class="onboarding-title">Scene Collections Import</div> | ||
<div class="onboarding-desc">The following scene collections have been imported from your Streamlabs account</div> | ||
<ul class="scene-collections-list"> | ||
<li v-for="collection in sceneCollections" :key="collection.id"> | ||
{{ collection.name }} | ||
</li> | ||
</ul> | ||
<button | ||
class="button button--action button--lg" | ||
@click="next"> | ||
Continue | ||
</button> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" src="./SceneCollectionsImport.vue.ts"></script> | ||
|
||
<style lang="less" scoped> | ||
@import '../../../styles/index'; | ||
.scene-collections-list { | ||
margin: 0; | ||
padding: 10px; | ||
width: 100%; | ||
height: 200px; | ||
color: white; | ||
list-style: none; | ||
overflow: auto; | ||
border-radius: 3px; | ||
background: @day-secondary; | ||
} | ||
.night-theme { | ||
.scene-collections-list { | ||
background: @night-secondary; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.