-
Notifications
You must be signed in to change notification settings - Fork 0
US-002 #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
US-002 #107
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fb6a8da
US-002 - Fix issue with z-index and stepper line
m-GDEV 2c4a518
US-002 - Update launchSettings.json to automatically restart on break…
m-GDEV 24f6d4e
US-002 - Working on onboarding
m-GDEV 98ccea1
US-002 - Add validation
m-GDEV 0159083
US-002 - Making UI nicer
m-GDEV 18cdb0b
US-002 - Fix notifications to not stack on one another
m-GDEV 5be6c27
US-002 - Fix layout bug with notifications
m-GDEV c0164df
US-002 - Moved MainLayout to view model
m-GDEV fa8f6da
US-002 - Fixed issue with AuthenticationCredentialsModel.cs not havin…
m-GDEV 8de7682
US-002 - Do not notify user of unauthorized requests
m-GDEV a88d7a6
US-002 - Make two folders for ViewModels (pages, components) and modi…
m-GDEV e369304
US-002 - Fix failing tests after old refactor broke them
m-GDEV 4f81962
US-002 - Fix broken unit test
m-GDEV f9e4ad4
US-002 - Fix deepsource anti-patterns
m-GDEV 7eb48d4
US-002 - Fix deepsource issues
m-GDEV dc0c6ac
US-002 - Add new pull request template
m-GDEV 99d39a8
US-002 - Implement copilot suggestions
m-GDEV 82e6d43
US-002 - Make onboarding responsive
m-GDEV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
1 change: 1 addition & 0 deletions
1
WardrobeManager.Presentation.Tests/ViewModels/DashboardViewModelTests.cs
This file contains hidden or 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
1 change: 1 addition & 0 deletions
1
WardrobeManager.Presentation.Tests/ViewModels/HomeViewModelTests.cs
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
40 changes: 34 additions & 6 deletions
40
WardrobeManager.Presentation/Components/Onboarding/OnboardingSection.razor
This file contains hidden or 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 |
|---|---|---|
| @@ -1,14 +1,42 @@ | ||
| @namespace WardrobeManager.Presentation.Components.Onboarding | ||
|
|
||
| <div class="grow w-full flex flex-col items-center gap-5 justify-evenly"> | ||
| <h3 class="subheading-text text-primary">@Title</h3> | ||
| @ChildContent | ||
| <button @onclick="ButtonClickCallback" class="btn btn-accent btn-wide subtitle-text">@ButtonText</button> | ||
| <div class="grow w-full flex flex-col items-center gap-3 smj:gap-5 py-4 sm:py-12 px-4 sm:px-0"> | ||
| <div class="grow flex flex-col items-center gap-5 justify-evenly min-h-[15rem] h-full sm:h-[30rem] w-full xl:w-[70rem]"> | ||
| <h3 class="text-xl sm:text-4xl text-primary text-center">@Title</h3> | ||
| @ChildContent | ||
| </div> | ||
| <div class="flex gap-6 w-full justify-center"> | ||
| <Button Type="ButtonType.Secondary" Size="ButtonSize.Large" Text="Back" OnClick="PreviousButtonClickCallback"/> | ||
| <Button Type="ButtonType.Primary" Size="ButtonSize.Large" Text="Next" OnClick="NextButtonClickCallback"/> | ||
| @if (SkipTutorialButtonClickCallback.HasDelegate) | ||
| { | ||
| <Button Type="ButtonType.Outline" Size="ButtonSize.Large" Text="Skip Tutorial" class="sm:ml-auto" | ||
| OnClick="() => ShowSkipTutorialDialog = true"/> | ||
| <Dialog Show="@ShowSkipTutorialDialog" Width="500px" OnClose="() => ShowSkipTutorialDialog = false"> | ||
| <Header> | ||
| <div class="flex-col g4"> | ||
| <p class="large">Are you sure you want to skip the tutorial?</p> | ||
| <p class="muted">The tutorial has important information that helps you start using the app.</p> | ||
| </div> | ||
| </Header> | ||
| <Content> | ||
| <span></span> | ||
| </Content> | ||
| <Footer> | ||
| <div style="width: 100%; display: flex"> | ||
| <Button Text="Skip Tutorial" Type="ButtonType.Secondary" OnClick="SkipTutorialButtonClickCallback" /> | ||
| </div> | ||
| </Footer> | ||
| </Dialog> | ||
| } | ||
| </div> | ||
| </div> | ||
|
|
||
| @code { | ||
| [Parameter] public required string Title { get; set; } | ||
| [Parameter] public required RenderFragment ChildContent { get; set; } | ||
| [Parameter] public required string ButtonText { get; set; } | ||
| [Parameter] public required EventCallback ButtonClickCallback { get; set; } | ||
| [Parameter] public required EventCallback NextButtonClickCallback { get; set; } | ||
| [Parameter] public required EventCallback PreviousButtonClickCallback { get; set; } | ||
| [Parameter] public EventCallback SkipTutorialButtonClickCallback { get; set; } | ||
| private bool ShowSkipTutorialDialog { get; set; } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.