diff --git a/ui/src/components/poker/CreatePokerGame.svelte b/ui/src/components/poker/CreatePokerGame.svelte index e96cf11c..85e6b700 100644 --- a/ui/src/components/poker/CreatePokerGame.svelte +++ b/ui/src/components/poker/CreatePokerGame.svelte @@ -420,7 +420,7 @@ class="block text-gray-700 dark:text-gray-400 text-sm font-bold mb-2" for="joinCode" > - {$LL.passCode()} + {$LL.joinCodeLabelOptional()}
- AutoFinishVoting - PointAverageRounding - HideVoterIdentity + {$LL.autoFinishVotingLabel()} + {$LL.pointAverageRounding()} + {$LL.hideVoterIdentity()} - Join Code - Facilitator Code + {$LL.joinCodeLabelOptional()} + {$LL.facilitatorCodeOptional()} {#if defaultSettings.id !== ''} diff --git a/ui/src/components/poker/UpdatePokerSettings.svelte b/ui/src/components/poker/UpdatePokerSettings.svelte index 146abc2f..41b85434 100644 --- a/ui/src/components/poker/UpdatePokerSettings.svelte +++ b/ui/src/components/poker/UpdatePokerSettings.svelte @@ -8,8 +8,6 @@ import SolidButton from '../global/SolidButton.svelte'; import { createEventDispatcher } from 'svelte'; - const dispatch = createEventDispatcher(); - export let toggleClose = () => {}; export let xfetch; export let notifications; @@ -29,6 +27,7 @@ facilitatorCode: '', }; + const dispatch = createEventDispatcher(); const allowedPointAverages = ['ceil', 'round', 'floor']; // let estimationScales = [] @@ -134,7 +133,7 @@ class="block text-gray-700 dark:text-gray-400 text-sm font-bold mb-2" for="joinCode" > - {$LL.passCode()} + {$LL.joinCodeLabelOptional()}
@@ -72,15 +78,14 @@ />
- MaxVotes - AllowMultipleVotes - BrainstormVisibility - PhaseTimeLimit - PhaseAutoAdvance - AllowCumulativeVoting + {$LL.retroMaxVotesPerUserLabel()} + {$LL.brainstormPhaseFeedbackVisibility()} + {$LL.retroPhaseTimeLimitMinLabel()} + {$LL.phaseAutoAdvanceLabel()} + {$LL.allowCumulativeVotingLabel()} - Join Code - Facilitator Code + {$LL.joinCodeLabelOptional()} + {$LL.facilitatorCodeOptional()} {#if defaultSettings.id !== ''} @@ -89,14 +94,7 @@ {defaultSettings.maxVotes} - - - - + {defaultSettings.brainstormVisibility} {defaultSettings.phaseTimeLimit} @@ -123,4 +121,33 @@
+ + {#if showCreateDefaultSettings} + + {/if} + + {#if showUpdateDefaultSettings} + + {/if}
diff --git a/ui/src/components/retro/UpdateRetroSettings.svelte b/ui/src/components/retro/UpdateRetroSettings.svelte new file mode 100644 index 00000000..edf9f558 --- /dev/null +++ b/ui/src/components/retro/UpdateRetroSettings.svelte @@ -0,0 +1,210 @@ + + + +
+
+ +
+ +
+
+ +
+ +
+ +
+ + + {#each brainstormVisibilityOptions as item} + + {/each} + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ Save Settings +
+
+