This project is read-only.

Navigating to a url in tweet

Apr 28, 2010 at 6:54 PM
Edited Apr 28, 2010 at 8:02 PM

Hi!

First of all, this is a very nice project. I stumbled upon it on a blog somewhere. If it's ok with you, i'm going to try contribute with features and/or patches.

The keyboard support is very nice. However, there is no way to open a url just using the keyboard. Since 99% of all tweets only include a single uri, a quick shortcut would be pressing `Enter` to open that uri. This is a patch for that:

On line 147 in Views/TweetsPage.xaml.cs:

if(e.Key == Key.Enter)
{
var url = item.TextLinks.FirstOrDefault().ToString();

if(uri != null)
Process.Start(uri);
}

If you want and have the time, please write down some of your plans for this project.

 

May 5, 2010 at 10:17 AM

I only just noticed this post, Alex! Thanks for the suggestion - I'll look at getting it into the code soon!