├── .gitattributes ├── .github ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CodeHub.sln ├── CodeHub ├── App.xaml ├── App.xaml.cs ├── Assets │ ├── Images │ │ ├── appLogoPurple.png │ │ ├── git │ │ │ ├── git-issue-closed.png │ │ │ ├── git-issue-opened.png │ │ │ ├── git-issue-reopened.png │ │ │ ├── git-merge.png │ │ │ └── git-pull-request.png │ │ ├── green.jpeg │ │ └── placeholder.jpg │ ├── NewStoreLogo.scale-100.png │ ├── NewStoreLogo.scale-125.png │ ├── NewStoreLogo.scale-150.png │ ├── NewStoreLogo.scale-200.png │ ├── NewStoreLogo.scale-400.png │ ├── Noise.png │ ├── SplashScreen.scale-100.png │ ├── SplashScreen.scale-125.png │ ├── SplashScreen.scale-150.png │ ├── SplashScreen.scale-200.png │ ├── SplashScreen.scale-400.png │ ├── Square150x150Logo.scale-100.png │ ├── Square150x150Logo.scale-125.png │ ├── Square150x150Logo.scale-150.png │ ├── Square150x150Logo.scale-200.png │ ├── Square150x150Logo.scale-400.png │ ├── Square310x310Logo.scale-100.png │ ├── Square310x310Logo.scale-125.png │ ├── Square310x310Logo.scale-150.png │ ├── Square310x310Logo.scale-200.png │ ├── Square310x310Logo.scale-400.png │ ├── Square44x44Logo.scale-100.png │ ├── Square44x44Logo.scale-125.png │ ├── Square44x44Logo.scale-150.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.scale-400.png │ ├── Square44x44Logo.targetsize-16.png │ ├── Square44x44Logo.targetsize-16_altform-unplated.png │ ├── Square44x44Logo.targetsize-24.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── Square44x44Logo.targetsize-256.png │ ├── Square44x44Logo.targetsize-256_altform-unplated.png │ ├── Square44x44Logo.targetsize-32.png │ ├── Square44x44Logo.targetsize-32_altform-unplated.png │ ├── Square44x44Logo.targetsize-48.png │ ├── Square44x44Logo.targetsize-48_altform-unplated.png │ ├── Square71x71Logo.scale-100.png │ ├── Square71x71Logo.scale-125.png │ ├── Square71x71Logo.scale-150.png │ ├── Square71x71Logo.scale-200.png │ ├── Square71x71Logo.scale-400.png │ ├── StoreLogo.scale-100.png │ ├── StoreLogo.scale-125.png │ ├── StoreLogo.scale-150.png │ ├── StoreLogo.scale-200.png │ ├── StoreLogo.scale-400.png │ ├── Target.scale-100.png │ ├── Target.scale-150.png │ ├── Target.scale-1600.png │ ├── Target.scale-300.png │ ├── Wide310x150Logo.scale-100.png │ ├── Wide310x150Logo.scale-125.png │ ├── Wide310x150Logo.scale-150.png │ ├── Wide310x150Logo.scale-200.png │ ├── Wide310x150Logo.scale-400.png │ ├── css │ │ └── github-markdown.css │ ├── flame.png │ ├── profile-placeholder.png │ └── transparent.png ├── CodeHub.csproj ├── Controls │ ├── ActivityListItem.xaml │ ├── ActivityListItem.xaml.cs │ ├── AnimatedComboBox.cs │ ├── BusyScreen.xaml │ ├── BusyScreen.xaml.cs │ ├── CodeListItem.xaml │ ├── CodeListItem.xaml.cs │ ├── CommentListItem.xaml │ ├── CommentListItem.xaml.cs │ ├── CommitFileListItem.xaml │ ├── CommitFileListItem.xaml.cs │ ├── CommitListItem.xaml │ ├── CommitListItem.xaml.cs │ ├── CustomFrame.cs │ ├── FirstTrendingRepoControl.xaml │ ├── FirstTrendingRepoControl.xaml.cs │ ├── HamMenuListItem.xaml │ ├── HamMenuListItem.xaml.cs │ ├── HtmlToRtfConverter.cs │ ├── IssueListItem.xaml │ ├── IssueListItem.xaml.cs │ ├── LabelListItem.xaml │ ├── LabelListItem.xaml.cs │ ├── MarkdownEditorControl.xaml │ ├── MarkdownEditorControl.xaml.cs │ ├── OrganizationListItem.xaml │ ├── OrganizationListItem.xaml.cs │ ├── PullRequestListItem.xaml │ ├── PullRequestListItem.xaml.cs │ ├── ReleaseListItem.xaml │ ├── ReleaseListItem.xaml.cs │ ├── RepoListItem.xaml │ ├── RepoListItem.xaml.cs │ ├── SignInPage.xaml │ ├── SignInPage.xaml.cs │ ├── SyntaxHighlightPreviewControl.xaml │ ├── SyntaxHighlightPreviewControl.xaml.cs │ ├── TopScrollerControl.xaml │ ├── TopScrollerControl.xaml.cs │ ├── UserListItem.xaml │ ├── UserListItem.xaml.cs │ ├── WhatsNewPopupControl.xaml │ └── WhatsNewPopupControl.xaml.cs ├── Converters │ ├── BooleanToVisibilityConverter.cs │ ├── ColorStringToColorBrushConverter.cs │ ├── EventTypeToActionStringConverter.cs │ ├── EventTypeToCommentStringConverter.cs │ ├── EventTypeToSymbolConverter.cs │ ├── ForegroundFromBackgroundConverter.cs │ ├── InverseBooleanConverter.cs │ ├── IssueDetailStringConverter.cs │ ├── IssueStateToColorConverter.cs │ ├── IssueToSymbolConverter.cs │ ├── NotifTypeToSymbolConverter.cs │ ├── ObjectToStringConverter.cs │ ├── PullRequestDetailStringConverter.cs │ ├── PullRequestStateToColorConverter.cs │ ├── RepositoryContentToFileIconConverter.cs │ ├── RepositoryCreationTimeConverter.cs │ ├── ReverseBooleanToVisibilityConverter.cs │ └── TimeAgoConverter.cs ├── Helpers │ ├── AnimatedGradientBrush.cs │ ├── BackgroundTaskStatus.cs │ ├── BackgroundTaskStorage.cs │ ├── BadgeHelper.cs │ ├── CollectionHelper.cs │ ├── Extensions.cs │ ├── GlobalHelper.cs │ ├── HTTPHelper.cs │ ├── OctokitNotificationHelper.cs │ ├── StringHelper.cs │ ├── TilesHelper.cs │ ├── ToastHelper.cs │ └── XAMLHelper.cs ├── Models │ ├── Account.cs │ ├── BackgroundTaskBuilderModel.cs │ ├── HamItem.cs │ ├── IStartupNotification.cs │ ├── RepositoryContentWithCommitInfo.cs │ ├── SettingsItem.cs │ ├── StartupNotification.cs │ ├── StartupNotificationGroup.cs │ ├── StartupNotificationTypes.cs │ ├── SyntaxHighlightStyle.cs │ └── WrappedWebResult.cs ├── Package.appxmanifest ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── Resources │ ├── SVGIconsDictionary.xaml │ ├── SharedCompiledDataTemplates.xaml │ └── SharedCompiledDataTemplates.xaml.cs ├── Services │ ├── Auth │ │ ├── AccountsService.cs │ │ ├── AppCredentials.cs │ │ └── AuthService.cs │ ├── BackgroundTaskService.cs │ ├── ExecutionService.cs │ ├── Hilite-me │ │ ├── HiliteAPI.cs │ │ ├── Samples │ │ │ ├── Borland.html │ │ │ ├── Colorful.html │ │ │ ├── Emacs.html │ │ │ ├── Fruity.html │ │ │ ├── LineNumbers │ │ │ │ ├── Borland.html │ │ │ │ ├── Colorful.html │ │ │ │ ├── Emacs.html │ │ │ │ ├── Fruity.html │ │ │ │ ├── Perldoc.html │ │ │ │ ├── VS.html │ │ │ │ ├── monokai.html │ │ │ │ ├── native.html │ │ │ │ └── vim.html │ │ │ ├── Perldoc.html │ │ │ ├── VS.html │ │ │ ├── monokai.html │ │ │ ├── native.html │ │ │ └── vim.html │ │ └── SyntaxHighlightStyle.cs │ ├── HtmlParseService.cs │ ├── IAsyncNavigationService.cs │ ├── NavigationService.cs │ ├── Octokit │ │ ├── ActivityService.cs │ │ ├── CommitService.cs │ │ ├── GistUtility.cs │ │ ├── IssueUtility.cs │ │ ├── NotificationsService.cs │ │ ├── OrganizationsUtility.cs │ │ ├── PullRequestUtility.cs │ │ ├── RepositoryUtility.cs │ │ ├── SearchUtility.cs │ │ └── UserService.cs │ └── SettingsService.cs ├── Strings │ ├── bn-BD │ │ └── Resources.resw │ ├── de │ │ └── Resources.resw │ ├── el │ │ └── Resources.resw │ ├── en-US │ │ └── Resources.resw │ ├── es │ │ └── Resources.resw │ ├── fr │ │ └── Resources.resw │ ├── hu-HU │ │ └── Resources.resw │ ├── it │ │ └── Resources.resw │ ├── pt │ │ └── Resources.resw │ ├── tr-TR │ │ └── Resources.resw │ ├── vi │ │ └── Resources.resw │ └── zh-Hans │ │ └── Resources.resw ├── Styles │ ├── MiscStyles.xaml │ └── TextStyles.xaml ├── ViewModels │ ├── AppViewmodel.cs │ ├── CommentViewmodel.cs │ ├── CommitDetailViewmodel.cs │ ├── CommitsViewmodel.cs │ ├── ContentViewmodel.cs │ ├── DeveloperProfileViewmodel.cs │ ├── EditProfileViewmodel.cs │ ├── FeedViewmodel.cs │ ├── FileContentViewModel.cs │ ├── IssueDetailViewmodel.cs │ ├── IssuesViewmodel.cs │ ├── MainViewmodel.cs │ ├── MyOrganizationsViewmodel.cs │ ├── MyReposViewmodel.cs │ ├── NotificationsViewmodel.cs │ ├── PullRequestDetailViewmodel.cs │ ├── PullRequestsViewmodel.cs │ ├── RepoDetailViewmodel.cs │ ├── SearchViewmodel.cs │ ├── Settings │ │ ├── AboutSettingsViewModel.cs │ │ ├── AppearenceSettingsViewModel.cs │ │ ├── GeneralSettingsViewModel.cs │ │ └── NofiticationSettingsViewModel.cs │ ├── SettingsViewmodel.cs │ ├── SourceCodeViewmodel.cs │ └── TrendingViewmodel.cs ├── Views │ ├── CommentView.xaml │ ├── CommentView.xaml.cs │ ├── CommitDetailView.xaml │ ├── CommitDetailView.xaml.cs │ ├── CommitsView.xaml │ ├── CommitsView.xaml.cs │ ├── ContentView.xaml │ ├── ContentView.xaml.cs │ ├── DeveloperProfileView.xaml │ ├── DeveloperProfileView.xaml.cs │ ├── EditProfileView.xaml │ ├── EditProfileView.xaml.cs │ ├── FeedView.xaml │ ├── FeedView.xaml.cs │ ├── FileContentView.xaml │ ├── FileContentView.xaml.cs │ ├── IssueDetailView.xaml │ ├── IssueDetailView.xaml.cs │ ├── IssuesView.xaml │ ├── IssuesView.xaml.cs │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── MyOrganizationsView.xaml │ ├── MyOrganizationsView.xaml.cs │ ├── MyReposView.xaml │ ├── MyReposView.xaml.cs │ ├── NotificationsView.xaml │ ├── NotificationsView.xaml.cs │ ├── PullRequestDetailView.xaml │ ├── PullRequestDetailView.xaml.cs │ ├── PullRequestsView.xaml │ ├── PullRequestsView.xaml.cs │ ├── RepoDetailView.xaml │ ├── RepoDetailView.xaml.cs │ ├── SearchView.xaml │ ├── SearchView.xaml.cs │ ├── Settings │ │ ├── AboutSettingsView.xaml │ │ ├── AboutSettingsView.xaml.cs │ │ ├── AppearanceView.xaml │ │ ├── AppearanceView.xaml.cs │ │ ├── CreditSettingsView.xaml │ │ ├── CreditSettingsView.xaml.cs │ │ ├── DonateView.xaml │ │ ├── DonateView.xaml.cs │ │ ├── GeneralSettingsView.xaml │ │ ├── GeneralSettingsView.xaml.cs │ │ ├── NotificationSettings.xaml │ │ ├── NotificationSettings.xaml.cs │ │ └── SettingsDetailPageBase.cs │ ├── SettingsView.xaml │ ├── SettingsView.xaml.cs │ ├── SourceCodeView.xaml │ ├── SourceCodeView.xaml.cs │ ├── TrendingView.xaml │ └── TrendingView.xaml.cs ├── _scale-100.appx ├── _scale-125.appx ├── _scale-150.appx ├── _scale-400.appx └── app.config ├── EdgeAuth ├── EdgeAuth.csproj ├── Properties │ ├── AssemblyInfo.cs │ └── EdgeAuth.rd.xml ├── WebAuthenticationBroker.cs ├── WebAuthenticationOptions.cs ├── WebAuthenticationResult.cs └── WebAuthenticationStatus.cs ├── LICENSE.txt ├── README.md ├── Screenshots ├── repoView.PNG └── trending.PNG └── _config.yml /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | 19 | #Linguist manual override 20 | CodeHub/Services/Hilite-me/Samples/* linguist-vendored 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## I'm submitting a... 2 | 3 | ``` 4 | [ ] Regression (a behavior that used to work and stopped working in a new release) 5 | [ ] Bug report 6 | [ ] Feature request 7 | [ ] Question 8 | ``` 9 | 10 | ## Current behavior 11 | 12 | 13 | ## Expected behavior 14 | 15 | 16 | ## Steps to reproduce the behavior 17 | 18 | 19 | ## Environment 20 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## PR Type 2 | What kind of change does this PR introduce? 3 | 4 | 5 | ``` 6 | [ ] Bugfix 7 | [ ] Feature 8 | [ ] Code style update (formatting) 9 | [ ] Refactoring (no functional changes, no api changes) 10 | [ ] Documentation content changes 11 | [ ] Other... Please describe: 12 | ``` 13 | 14 | ## What is the current behavior? 15 | 16 | 17 | ## What is the new behavior? 18 | 19 | 20 | ## Does this PR introduce a breaking change? 21 | ``` 22 | [ ] Yes 23 | [ ] No 24 | ``` 25 | 26 | ## Other information 27 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at aalok_2@live.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | When contributing to this repository, please first discuss the change you wish to make via issue, 4 | email, or any other method with the owners of this repository before making a change. 5 | 6 | Please note we have a code of conduct, please follow it in all your interactions with the project. 7 | 8 | ## Pull Requests 9 | 10 | 1. Always keep `dev` as the base branch of your PR. 11 | 2. Name the head branch of your PR in the following convention : 12 | If the PR adds a new feature: `feature-Feature_Name`. If the PR adds a fix: `fix-Fix_Description` and so on. 13 | 3. Keep the code simple and add comments wherever necessary. 14 | -------------------------------------------------------------------------------- /CodeHub.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2026 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeHub", "CodeHub\CodeHub.csproj", "{360629C8-E107-4DAC-942F-1730A9C289C8}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EdgeAuth", "EdgeAuth\EdgeAuth.csproj", "{43D93B09-439B-45BE-B838-474AC63ADE7E}" 9 | EndProject 10 | Global 11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 | Debug|Any CPU = Debug|Any CPU 13 | Debug|ARM = Debug|ARM 14 | Debug|x64 = Debug|x64 15 | Debug|x86 = Debug|x86 16 | Release|Any CPU = Release|Any CPU 17 | Release|ARM = Release|ARM 18 | Release|x64 = Release|x64 19 | Release|x86 = Release|x86 20 | EndGlobalSection 21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 22 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|Any CPU.ActiveCfg = Debug|x86 23 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|ARM.ActiveCfg = Debug|ARM 24 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|ARM.Build.0 = Debug|ARM 25 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|ARM.Deploy.0 = Debug|ARM 26 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x64.ActiveCfg = Debug|x64 27 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x64.Build.0 = Debug|x64 28 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x64.Deploy.0 = Debug|x64 29 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x86.ActiveCfg = Debug|x86 30 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x86.Build.0 = Debug|x86 31 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Debug|x86.Deploy.0 = Debug|x86 32 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|Any CPU.ActiveCfg = Release|x86 33 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|ARM.ActiveCfg = Release|ARM 34 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|ARM.Build.0 = Release|ARM 35 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|ARM.Deploy.0 = Release|ARM 36 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x64.ActiveCfg = Release|x64 37 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x64.Build.0 = Release|x64 38 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x64.Deploy.0 = Release|x64 39 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x86.ActiveCfg = Release|x86 40 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x86.Build.0 = Release|x86 41 | {360629C8-E107-4DAC-942F-1730A9C289C8}.Release|x86.Deploy.0 = Release|x86 42 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 43 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|Any CPU.Build.0 = Debug|Any CPU 44 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|ARM.ActiveCfg = Debug|ARM 45 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|ARM.Build.0 = Debug|ARM 46 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|x64.ActiveCfg = Debug|x64 47 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|x64.Build.0 = Debug|x64 48 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|x86.ActiveCfg = Debug|x86 49 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Debug|x86.Build.0 = Debug|x86 50 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|Any CPU.ActiveCfg = Release|Any CPU 51 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|Any CPU.Build.0 = Release|Any CPU 52 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|ARM.ActiveCfg = Release|ARM 53 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|ARM.Build.0 = Release|ARM 54 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|x64.ActiveCfg = Release|x64 55 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|x64.Build.0 = Release|x64 56 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|x86.ActiveCfg = Release|x86 57 | {43D93B09-439B-45BE-B838-474AC63ADE7E}.Release|x86.Build.0 = Release|x86 58 | EndGlobalSection 59 | GlobalSection(SolutionProperties) = preSolution 60 | HideSolutionNode = FALSE 61 | EndGlobalSection 62 | GlobalSection(ExtensibilityGlobals) = postSolution 63 | SolutionGuid = {4463461D-4C16-4C73-A42D-FF75E419A466} 64 | EndGlobalSection 65 | EndGlobal 66 | -------------------------------------------------------------------------------- /CodeHub/App.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | #60B53B 18 | 19 | #519932 20 | 21 | 24 | 25 | 26 | 31 | 32 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /CodeHub/Assets/Images/appLogoPurple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/appLogoPurple.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/git/git-issue-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/git/git-issue-closed.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/git/git-issue-opened.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/git/git-issue-opened.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/git/git-issue-reopened.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/git/git-issue-reopened.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/git/git-merge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/git/git-merge.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/git/git-pull-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/git/git-pull-request.png -------------------------------------------------------------------------------- /CodeHub/Assets/Images/green.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/green.jpeg -------------------------------------------------------------------------------- /CodeHub/Assets/Images/placeholder.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Images/placeholder.jpg -------------------------------------------------------------------------------- /CodeHub/Assets/NewStoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/NewStoreLogo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/NewStoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/NewStoreLogo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/NewStoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/NewStoreLogo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/NewStoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/NewStoreLogo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/NewStoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/NewStoreLogo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Noise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Noise.png -------------------------------------------------------------------------------- /CodeHub/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square310x310Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square310x310Logo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square310x310Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square310x310Logo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square310x310Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square310x310Logo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square310x310Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square310x310Logo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-16_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-16_altform-unplated.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-256_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-256_altform-unplated.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-32_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-32_altform-unplated.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square44x44Logo.targetsize-48_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square44x44Logo.targetsize-48_altform-unplated.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square71x71Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square71x71Logo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square71x71Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square71x71Logo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square71x71Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square71x71Logo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square71x71Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square71x71Logo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/Square71x71Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Square71x71Logo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/Target.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Target.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Target.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Target.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Target.scale-1600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Target.scale-1600.png -------------------------------------------------------------------------------- /CodeHub/Assets/Target.scale-300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Target.scale-300.png -------------------------------------------------------------------------------- /CodeHub/Assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /CodeHub/Assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /CodeHub/Assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /CodeHub/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /CodeHub/Assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /CodeHub/Assets/flame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/flame.png -------------------------------------------------------------------------------- /CodeHub/Assets/profile-placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/profile-placeholder.png -------------------------------------------------------------------------------- /CodeHub/Assets/transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aalok05/CodeHub/cbdcfacbb38f0e17113f4dc12102e43218178793/CodeHub/Assets/transparent.png -------------------------------------------------------------------------------- /CodeHub/Controls/ActivityListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class ActivityListItem : UserControl 8 | { 9 | public ActivityListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/AnimatedComboBox.cs: -------------------------------------------------------------------------------- 1 | using CodeHub.Helpers; 2 | using System.Collections; 3 | using UICompositionAnimations; 4 | using UICompositionAnimations.Enums; 5 | using Windows.UI.Xaml; 6 | using Windows.UI.Xaml.Controls; 7 | 8 | namespace CodeHub.Controls 9 | { 10 | /// 11 | /// A simple ComboBox with an open/close animation for the drop down menu 12 | /// 13 | public class AnimatedComboBox : ComboBox 14 | { 15 | // The element that contains the drop down menu to animate 16 | private FrameworkElement _TranslationElement; 17 | 18 | protected override void OnApplyTemplate() 19 | { 20 | base.OnApplyTemplate(); 21 | _TranslationElement = GetTemplateChild("CoreGrid") as FrameworkElement; 22 | } 23 | 24 | // Animate the drop down menu 25 | protected override async void OnDropDownOpened(object e) 26 | { 27 | if (_TranslationElement != null) 28 | { 29 | // Pick the animation direction depending on the current position 30 | int? count = ((ItemsSource as ICollection)?.Count ?? (ItemsSource as IEnumerable)?.Count()) 31 | ?? Items?.Count; 32 | bool down = count == null || ((SelectedIndex < 1 || SelectedIndex <= count / 2) && 33 | !(count == 2 && SelectedIndex == 1)); 34 | float start = down ? -16 : 16; 35 | 36 | _TranslationElement.Animation().Offset(Axis.Y, start); 37 | 38 | // Animate using Windows.UI.Composition animations to avoid frame drops 39 | await _TranslationElement.Animation() 40 | .Translation(Axis.Y, start, 0, Easing.CircleEaseOut) 41 | .Duration(250) 42 | .StartAsync(); 43 | 44 | } 45 | base.OnDropDownOpened(e); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /CodeHub/Controls/BusyScreen.xaml: -------------------------------------------------------------------------------- 1 |  13 | 14 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /CodeHub/Controls/BusyScreen.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml; 2 | using Windows.UI.Xaml.Controls; 3 | 4 | namespace CodeHub.Controls 5 | { 6 | public sealed partial class BusyScreen : UserControl 7 | { 8 | public BusyScreen() 9 | { 10 | InitializeComponent(); 11 | } 12 | public string BusyText 13 | { 14 | get => (string)GetValue(BusyTextProperty); 15 | set => SetValue(BusyTextProperty, value); 16 | } 17 | 18 | public static readonly DependencyProperty BusyTextProperty = 19 | DependencyProperty.Register(nameof(BusyText), typeof(string), typeof(BusyScreen), new PropertyMetadata(false)); 20 | 21 | public bool IsBusy 22 | { 23 | get => (bool)GetValue(IsBusyProperty); 24 | set => SetValue(IsBusyProperty, value); 25 | } 26 | 27 | public static readonly DependencyProperty IsBusyProperty = 28 | DependencyProperty.Register(nameof(IsBusy), typeof(bool), typeof(BusyScreen), new PropertyMetadata(false)); 29 | 30 | } 31 | } -------------------------------------------------------------------------------- /CodeHub/Controls/CodeListItem.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 21 | 22 | 23 | 24 | 25 | 26 | 33 | 41 | 42 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /CodeHub/Controls/CodeListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class CodeListItem : UserControl 8 | { 9 | public CodeListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommentListItem.xaml: -------------------------------------------------------------------------------- 1 |  12 | 13 | 14 | 15 | 19 | 20 | 21 | 33 | 41 | 52 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommentListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using CodeHub.Views; 2 | using GalaSoft.MvvmLight.Ioc; 3 | using Octokit; 4 | using Windows.UI.Xaml.Controls; 5 | using Windows.UI.Xaml.Input; 6 | 7 | 8 | namespace CodeHub.Controls 9 | { 10 | public sealed partial class CommentListItem : UserControl 11 | { 12 | public CommentListItem() 13 | => InitializeComponent(); 14 | 15 | public void User_Tapped(object sender, TappedRoutedEventArgs e) 16 | => SimpleIoc 17 | .Default 18 | .GetInstance() 19 | .NavigateAsync(typeof(DeveloperProfileView), (DataContext as IssueComment).User); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommitFileListItem.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 16 | 20 | 23 | 24 | 25 | 29 | 32 | 36 | 39 | 43 | 44 | 51 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommitFileListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using UICompositionAnimations; 2 | using UICompositionAnimations.Enums; 3 | using Windows.UI.Xaml; 4 | using Windows.UI.Xaml.Controls; 5 | 6 | 7 | namespace CodeHub.Controls 8 | { 9 | public sealed partial class CommitFileListItem : UserControl 10 | { 11 | public CommitFileListItem() 12 | => InitializeComponent(); 13 | 14 | private async void Expander_Click(object sender, RoutedEventArgs e) 15 | { 16 | if (PatchText.Visibility == Visibility.Visible) 17 | { 18 | ExpanderIcon.Glyph = "\uE0E5"; 19 | 20 | await PatchText.Animation() 21 | .Opacity(1, 0) 22 | .Scale(1, 0.98f, Easing.SineEaseInOut) 23 | .Duration(100) 24 | .StartAsync(); 25 | PatchText.Visibility = Visibility.Collapsed; 26 | } 27 | else 28 | { 29 | ExpanderIcon.Glyph = "\uE0E4"; 30 | 31 | PatchText.Visibility = Visibility.Visible; 32 | await PatchText.Animation() 33 | .Opacity(0, 1) 34 | .Scale(0.98f, 1, Easing.SineEaseInOut) 35 | .Duration(100) 36 | .StartAsync(); 37 | } 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommitListItem.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 19 | 22 | 25 | 26 | 29 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /CodeHub/Controls/CommitListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class CommitListItem : UserControl 8 | { 9 | public CommitListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/FirstTrendingRepoControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Octokit; 2 | using Windows.UI.Xaml; 3 | using Windows.UI.Xaml.Controls; 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class FirstTrendingRepoControl : UserControl 8 | { 9 | public FirstTrendingRepoControl() 10 | => InitializeComponent(); 11 | 12 | public Repository Repository 13 | { 14 | get => (Repository)GetValue(RepositoryProperty); 15 | set => SetValue(RepositoryProperty, value); 16 | } 17 | 18 | public static readonly DependencyProperty RepositoryProperty = 19 | DependencyProperty.Register(nameof(Repository), typeof(Repository), typeof(FirstTrendingRepoControl), new PropertyMetadata(false)); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /CodeHub/Controls/HamMenuListItem.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 24 | 25 | 28 | 32 | 33 | 34 | 35 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /CodeHub/Controls/HamMenuListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class HamMenuListItem : UserControl 8 | { 9 | public HamMenuListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/HtmlToRtfConverter.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml; 2 | using Windows.UI.Xaml.Controls; 3 | 4 | namespace CodeHub.Controls 5 | { 6 | public class HtmlToRtfConverter 7 | { 8 | // Getter and Setter 9 | public static string GetHtmlString(DependencyObject obj) 10 | => (string)obj.GetValue(HtmlStringProperty); 11 | 12 | public static void SetHtmlString(DependencyObject obj, string value) 13 | => obj.SetValue(HtmlStringProperty, value); 14 | 15 | public static readonly DependencyProperty HtmlStringProperty = 16 | DependencyProperty.RegisterAttached("HtmlString", typeof(string), typeof(HtmlToRtfConverter), new PropertyMetadata("", OnHtmlChanged)); 17 | 18 | private static void OnHtmlChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs) 19 | { 20 | if (sender is WebView wv && eventArgs.NewValue != null) 21 | { 22 | wv.NavigateToString((string)eventArgs.NewValue); 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /CodeHub/Controls/IssueListItem.xaml: -------------------------------------------------------------------------------- 1 |  12 | 13 | 14 | 15 | 16 | 17 | 25 | 26 | 31 | 34 | 35 | 36 | 40 | 41 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /CodeHub/Controls/IssueListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class IssueListItem : UserControl 8 | { 9 | public IssueListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/LabelListItem.xaml: -------------------------------------------------------------------------------- 1 |  12 | 13 | 14 | 15 | 16 | 20 | 21 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /CodeHub/Controls/LabelListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class LabelListItem : UserControl 8 | { 9 | public LabelListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/MarkdownEditorControl.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /CodeHub/Controls/MarkdownEditorControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Toolkit.Uwp.UI.Controls; 2 | using System; 3 | using Windows.UI.Text; 4 | using Windows.UI.Xaml; 5 | using Windows.UI.Xaml.Controls; 6 | 7 | namespace CodeHub.Controls 8 | { 9 | public sealed partial class MarkdownEditorControl : UserControl 10 | { 11 | public MarkdownEditorControl() 12 | => InitializeComponent(); 13 | 14 | public string MarkdownText 15 | { 16 | get => (string)GetValue(MarkdownTextProperty); 17 | set => SetValue(MarkdownTextProperty, value); 18 | } 19 | 20 | public static readonly DependencyProperty MarkdownTextProperty = 21 | DependencyProperty.Register(nameof(MarkdownText), typeof(string), typeof(MarkdownEditorControl), new PropertyMetadata(false)); 22 | 23 | private void EditZone_TextChanged(object sender, RoutedEventArgs e) 24 | { 25 | MarkdownText = Toolbar.Formatter?.Text; 26 | Previewer.Text = string.IsNullOrWhiteSpace(Toolbar.Formatter?.Text) ? new Windows.ApplicationModel.Resources.ResourceLoader().GetString("markdownComment_NoContent") : Toolbar.Formatter?.Text; 27 | } 28 | 29 | public async void MarkdownTextBlock_LinkClicked(object sender, LinkClickedEventArgs e) 30 | => await Windows.System.Launcher.LaunchUriAsync(new Uri(e.Link)); 31 | 32 | public void SetMarkdowntext(string text) 33 | => EditZone.Document.SetText(TextSetOptions.ApplyRtfDocumentDefaults, text); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /CodeHub/Controls/OrganizationListItem.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 24 | 25 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /CodeHub/Controls/OrganizationListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class OrganizationListItem : UserControl 8 | { 9 | public OrganizationListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/PullRequestListItem.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 24 | 25 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /CodeHub/Controls/PullRequestListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class PullRequestListItem : UserControl 8 | { 9 | public PullRequestListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/ReleaseListItem.xaml: -------------------------------------------------------------------------------- 1 |  12 | 13 | 14 | 15 | 17 | 20 | 22 | 23 | 26 | 29 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /CodeHub/Controls/ReleaseListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 4 | 5 | namespace CodeHub.Controls 6 | { 7 | public sealed partial class ReleaseListItem : UserControl 8 | { 9 | public ReleaseListItem() 10 | => InitializeComponent(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /CodeHub/Controls/RepoListItem.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | 4 | namespace CodeHub.Controls 5 | { 6 | public sealed partial class RepoListItem : UserControl 7 | { 8 | public RepoListItem() 9 | => InitializeComponent(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /CodeHub/Controls/SignInPage.xaml: -------------------------------------------------------------------------------- 1 |  14 | 15 | 18 | 19 | 20 | 21 | 25 | 26 | 33 | 39 | 40 | 41 | 46 | 47 |