Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit 4a1d914

Browse files
committed
2.0.0 Release
1 parent 68da721 commit 4a1d914

4 files changed

Lines changed: 26 additions & 27 deletions

File tree

CodeHub.Core/ViewModels/Events/BaseEventsViewModel.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,6 @@ private void GoToChangeset(RepositoryIdentifier repo, string sha)
158158
});
159159
}
160160

161-
private void GoToWebPage(string url)
162-
{
163-
ShowViewModel<WebBrowserViewModel>(new WebBrowserViewModel.NavObject
164-
{
165-
Url = url
166-
});
167-
}
168-
169161
private EventBlock CreateEventTextBlocks(EventModel eventModel)
170162
{
171163
var eventBlock = new EventBlock();
@@ -330,7 +322,7 @@ private EventBlock CreateEventTextBlocks(EventModel eventModel)
330322
foreach (var page in gollumEvent.Pages)
331323
{
332324
var p = page;
333-
eventBlock.Body.Add(new AnchorBlock(page.PageName, () => GoToWebPage(p.HtmlUrl)));
325+
eventBlock.Body.Add(new AnchorBlock(page.PageName, () => GoToUrlCommand.Execute(p.HtmlUrl)));
334326
eventBlock.Body.Add(new TextBlock(" - " + page.Action + "\n"));
335327
}
336328
}

CodeHub.iOS/CodeHub.iOS.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,6 @@
175175
<Compile Include="Views\Filters\SourceFilterViewController.cs" />
176176
</ItemGroup>
177177
<ItemGroup>
178-
<ProjectReference Include="..\CodeHub.Core\CodeHub.Core.iOS.csproj">
179-
<Project>{B7970173-9022-466B-B57A-7AB1E1F3145F}</Project>
180-
<Name>CodeHub.Core.iOS</Name>
181-
</ProjectReference>
182178
<ProjectReference Include="..\lib\GitHubSharp\GitHubSharp.MonoTouch.csproj">
183179
<Project>{89E14828-85BB-4790-9B4E-E44DD4CE000E}</Project>
184180
<Name>GitHubSharp.MonoTouch</Name>
@@ -199,6 +195,10 @@
199195
<Project>{6D7B9B53-CFEF-46BE-A608-14A4A1381CF6}</Project>
200196
<Name>MonoTouch.SlideoutNavigation</Name>
201197
</ProjectReference>
198+
<ProjectReference Include="..\CodeHub.Core\CodeHub.Core.iOS.csproj">
199+
<Project>{B7970173-9022-466B-B57A-7AB1E1F3145F}</Project>
200+
<Name>CodeHub.Core.iOS</Name>
201+
</ProjectReference>
202202
</ItemGroup>
203203
<ItemGroup>
204204
<Reference Include="Cirrious.CrossCore">

CodeHub.iOS/CodeHub.iOS.sln

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeFramework.iOS", "..\lib
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{F112095C-7262-445E-91C4-D35C1E986E69}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeHub.Core.iOS", "..\CodeHub.Core\CodeHub.Core.iOS.csproj", "{B7970173-9022-466B-B57A-7AB1E1F3145F}"
11-
EndProject
1210
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeFramework.Core.iOS", "..\lib\CodeFramework\CodeFramework.Core\CodeFramework.Core.iOS.csproj", "{C99FE7E3-0985-48F1-9EBB-91680A795F0F}"
1311
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeHub.Core.iOS", "..\CodeHub.Core\CodeHub.Core.iOS.csproj", "{B7970173-9022-466B-B57A-7AB1E1F3145F}"
13+
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lib", "Lib", "{F7C14107-24A4-404A-AD12-A12EC9F28490}"
1515
EndProject
1616
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHubSharp.MonoTouch", "..\lib\GitHubSharp\GitHubSharp.MonoTouch.csproj", "{89E14828-85BB-4790-9B4E-E44DD4CE000E}"
@@ -210,33 +210,40 @@ Global
210210
{B061316A-F386-4FE2-93B7-555584234FF8}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
211211
{B061316A-F386-4FE2-93B7-555584234FF8}.Release|Mixed Platforms.ActiveCfg = Release|iPhoneSimulator
212212
{B061316A-F386-4FE2-93B7-555584234FF8}.Release|Mixed Platforms.Build.0 = Release|iPhoneSimulator
213-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
214-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
213+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
214+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
215215
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AdHoc|iPhone.ActiveCfg = Debug|Any CPU
216216
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
217217
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AdHoc|iPhone.Build.0 = Debug|Any CPU
218+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
218219
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AdHoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
219-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
220+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
220221
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AdHoc|iPhoneSimulator.Build.0 = Debug|Any CPU
221-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Mixed Platforms.ActiveCfg = Release|Any CPU
222-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Mixed Platforms.Build.0 = Release|Any CPU
223-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
224-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Any CPU.Build.0 = Release|Any CPU
222+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
223+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Mixed Platforms.ActiveCfg = Debug|Any CPU
224+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Ad-Hoc|Mixed Platforms.Build.0 = Debug|Any CPU
225+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
226+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Any CPU.Build.0 = Debug|Any CPU
225227
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|iPhone.ActiveCfg = Release|Any CPU
226-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
227-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Mixed Platforms.ActiveCfg = Release|Any CPU
228-
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Mixed Platforms.Build.0 = Release|Any CPU
228+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|iPhone.Build.0 = Release|Any CPU
229+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
230+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
231+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Mixed Platforms.ActiveCfg = Debug|Any CPU
232+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.AppStore|Mixed Platforms.Build.0 = Debug|Any CPU
229233
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
230234
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|Any CPU.Build.0 = Debug|Any CPU
231235
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|iPhone.ActiveCfg = Debug|Any CPU
236+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|iPhone.Build.0 = Debug|Any CPU
232237
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
233238
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
234239
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
235240
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
236241
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|Any CPU.ActiveCfg = Release|Any CPU
237242
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|Any CPU.Build.0 = Release|Any CPU
238243
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|iPhone.ActiveCfg = Release|Any CPU
244+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|iPhone.Build.0 = Release|Any CPU
239245
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
246+
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
240247
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
241248
{B7970173-9022-466B-B57A-7AB1E1F3145F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
242249
{C99FE7E3-0985-48F1-9EBB-91680A795F0F}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
@@ -277,8 +284,8 @@ Global
277284
{C99FE7E3-0985-48F1-9EBB-91680A795F0F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
278285
EndGlobalSection
279286
GlobalSection(NestedProjects) = preSolution
280-
{B7970173-9022-466B-B57A-7AB1E1F3145F} = {F112095C-7262-445E-91C4-D35C1E986E69}
281287
{C99FE7E3-0985-48F1-9EBB-91680A795F0F} = {F112095C-7262-445E-91C4-D35C1E986E69}
288+
{B7970173-9022-466B-B57A-7AB1E1F3145F} = {F112095C-7262-445E-91C4-D35C1E986E69}
282289
{89E14828-85BB-4790-9B4E-E44DD4CE000E} = {F7C14107-24A4-404A-AD12-A12EC9F28490}
283290
{3FFBFFF8-5560-4EDE-82E5-3FFDFBBA8A50} = {F7C14107-24A4-404A-AD12-A12EC9F28490}
284291
{6D7B9B53-CFEF-46BE-A608-14A4A1381CF6} = {F7C14107-24A4-404A-AD12-A12EC9F28490}

CodeHub.iOS/Views/Repositories/RepositoryView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public void Render(RepositoryModel model)
213213

214214
if (!string.IsNullOrEmpty(model.Homepage))
215215
{
216-
var web = new StyledStringElement("Website".t(), () => ViewModel.GoToUrlCommand.Execute(model.Homepage));
216+
var web = new StyledStringElement("Website".t(), () => ViewModel.GoToUrlCommand.Execute(model.Homepage), Images.Webpage);
217217
root.Add(new Section { web });
218218
}
219219

0 commit comments

Comments
 (0)