diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-04-21 17:20:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 17:20:04 +0200 |
commit | 438f5f2fc4bc3aff924eb92ab37a2618edd6ae59 (patch) | |
tree | 1d862e5768ac34b664b91f5e1af782f9304eafbf /src-vue/src | |
parent | ca65fb29fc2895e1912d931b4f486388fabaf7bd (diff) | |
download | FlightCore-438f5f2fc4bc3aff924eb92ab37a2618edd6ae59.tar.gz FlightCore-438f5f2fc4bc3aff924eb92ab37a2618edd6ae59.zip |
refactor: Reorder DevView elements (#276)
* refactor: Move release note generator to bottom
It takes up a lot of space and generally isn't used as often as other
buttons
* refactor: Move mod install further down
Generally isn't used as often as other buttons
Diffstat (limited to 'src-vue/src')
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 76 |
1 files changed, 39 insertions, 37 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index d9e268e3..7e11bd11 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -5,38 +5,6 @@ This page is designed for developers. Some of the buttons here can break your Northstar install if you do not know what you're doing! </el-alert> - <el-button type="primary" @click="getTags"> - Get tags - </el-button> - - <el-select v-model="firstTag" class="m-2" placeholder="First tag"> - <el-option - v-for="item in ns_release_tags" - :key="item.value" - :label="item.label" - :value="item" - /> - </el-select> - <el-select v-model="secondTag" class="m-2" placeholder="Second tag"> - <el-option - v-for="item in ns_release_tags" - :key="item.value" - :label="item.label" - :value="item" - /> - </el-select> - - <el-button type="primary" @click="compareTags"> - Compare Tags - </el-button> - - <el-input - v-model="release_notes_text" - type="textarea" - :rows="5" - placeholder="Output" - /> - <h3>Basic:</h3> <el-button type="primary" @click="disableDevMode"> @@ -63,6 +31,16 @@ Launch Northstar via Steam </el-button> + <h3>Repair:</h3> + + + <el-button type="primary" @click="getInstalledMods"> + Get installed mods + </el-button> + + <h3>Testing</h3> + <pull-requests-selector /> + <h3>Mod install:</h3> <el-input v-model="mod_to_install_field_string" placeholder="Please input Thunderstore dependency string (example: AuthorName-ModName-1.2.3)" clearable /> @@ -71,15 +49,39 @@ Install mod </el-button> - <h3>Repair:</h3> + <h3>Release management</h3> + + <el-button type="primary" @click="getTags"> + Get tags + </el-button> + <el-select v-model="firstTag" class="m-2" placeholder="First tag"> + <el-option + v-for="item in ns_release_tags" + :key="item.value" + :label="item.label" + :value="item" + /> + </el-select> + <el-select v-model="secondTag" class="m-2" placeholder="Second tag"> + <el-option + v-for="item in ns_release_tags" + :key="item.value" + :label="item.label" + :value="item" + /> + </el-select> - <el-button type="primary" @click="getInstalledMods"> - Get installed mods + <el-button type="primary" @click="compareTags"> + Compare Tags </el-button> - <h3>Testing</h3> - <pull-requests-selector /> + <el-input + v-model="release_notes_text" + type="textarea" + :rows="5" + placeholder="Output" + /> </el-scrollbar> </div> </template> |