maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   witter - a python twitter client (https://talk.maemo.org/showthread.php?t=35596)

kryptoniankid17 2009-12-07 21:10

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 411632)
witter 0.1.0-7 should now be in extras testing for the n900
I'm keeping a page on my blog up to date
http://danielwould.wordpress.com/witter/

now with kinetic scrolling and a fremantle style menu.

looks very promosing. congrats on your 1st app. Have you reached out to any of the ui guys for any help.

kryptoniankid17 2009-12-07 21:24

Re: witter - a python twitter client
 
Quote:

Originally Posted by kryptoniankid17 (Post 415276)
looks very promosing. congrats on your 1st app. Have you reached out to any of the ui guys for any help.

my bad on the first app comment.

dwould 2009-12-07 21:30

Re: witter - a python twitter client
 
Quote:

Originally Posted by kryptoniankid17 (Post 415314)
my bad on the first app comment.

nothing to feel bad about...I'm no UI guy, at the moment I'm worrying more about learning enough python to be able to implement core function.
I'll take suggestions on the UI, but given I'm not certain I'd be able to implement them. It would seem a little premature to ask others to come up with designs.

joshua.maverick 2009-12-07 21:30

Re: witter - a python twitter client
 
Quote:

Originally Posted by kryptoniankid17 (Post 415276)
looks very promosing. congrats on your 1st app. Have you reached out to any of the ui guys for any help.

I'm down to help out if the developer is, I think the functionality looks great. My mock up could use some tweaking too, I'll mess around some more if I get the okay from the dev.

dwould 2009-12-07 21:34

Re: witter - a python twitter client
 
Quote:

Originally Posted by tso (Post 414884)
Just want to say, nice work :D

I seem to have bumped into a issue with 0.1.0-4 where it fails to save user name and password on exit. This is on a N800/N810 btw.

right, I think I fixed that in fremantle. I probably ought to spend some time figuring out the diablo version. I've added a few things which are fremantle only, without much thought. perhaps once I've got the source into SCM it will be the right time to make things neater for the two versions
Quote:

Originally Posted by tso (Post 414884)
On the scrolling side, i am not much fan of kinetic scrolling, but it may work better on witter vs mauku, as witter do not have a double-tap action on entries. That is, if you get so far as to implement drag to scroll on the N810 version at all. Optionally i guess you could just do a wider scroll bar, so that its easier to use with fingers (see modest as an example).

There is a small issue with the long-tap menu, where even tho it shows a focued menu, one have to tap the menu twice before it shows any sub-menus.

I've noticed that problem with the long-tap menu, and I have no idea why it happens. if I figure it out, I'll try to fix it
Quote:

Originally Posted by tso (Post 414884)
And some of the text flows under the scroll bar, rather then shift the word down to the next line.

Oh, and a feature request. It would be nice if a long-tap menu option would be to show the timeline for the specific user, as sometimes its nice to dig back and see what kind of entries a user have made lately.

I tend to use 'search' and search for a user to pick up their history at the moment. Though it's a fair request,

dwould 2009-12-07 21:38

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415162)
how about a layout similar to this? It's a quick mock up but do you think it would be beneficial to make it a little more visually pleasing?

Interesting layout. Any particular reason for buttons down the side? I suppose my feeling was that I wanted the entire width for tweets.
I'm very conscious of making the most of the screen real estate.

dwould 2009-12-07 21:40

Re: witter - a python twitter client
 
Quote:

Originally Posted by tso (Post 415249)
i found myself thinking, would it be possible to trigger the long-tap menu using center dpad?

would be useful when one scroll thru the list using the dpad anyways.

I've no idea what button the cetrer dpad maps to, I would have assumed it would be something like enter. assuming it has it's own key event, I guess there is no reason why it *couldn't* be triggered that way.
though as I said on a previous post, I need to spend some time to ge thte source into SCM, and properly arranged for diablo/fremantle because at the moment I'm focusing on fremantle and it's not easy ot keep things in step.

dwould 2009-12-07 21:47

Re: witter - a python twitter client
 
ok, I don't know if auto-builder is asleep, or just busy. but it's taking it's time...
In theory witter 0.1.1-1 is going into extras-devel

It contains reply_to support.
if a tweet is in reply to another, it will load the other and put it in small text beneath the time stamp. Unless the replied to tweet is from a private feed. For some reason even if you are authorised to see the original tweet, the API for getting a specific single tweet blocks access.

if you tap-hold on someone you can select reply_to which a) fills their username in the text entry field, and sets a flag with the tweet it. if you submit a tweet it will get marked as a reply to that selected tweet. if you change your mind, just deleting the username should do the trick.

there is a ReTweet option too...but it's not working, all it does is copy the tweet text to the text entry, at that point I realised that included all the formatting that I'd added to the tweet. so I need to think longer on this one

error notifications are now hildon 'notes' instead of dialogs

text entry is now hildon.Entry

buttons are now hildon buttons (but I've haven't done anything to work around styling not being applied right)

I'll probably keep this version in extras-devel for a while to sort a few more big things out. But I thought I'd let people know it's coming...assuming auto builder eventually does it's thing

dwould 2009-12-07 21:50

Re: witter - a python twitter client
 
Quote:

Originally Posted by thp (Post 414762)
AFAIK Identi.ca has a Twitter-compatible API, so just having a "API URL" setting should be enough to support Identi.ca as well (with the default being the URL of the Twitter API).

Since you were so helpful with your post, the 0.1.1-1 build contains the ability to 'toggle serviceType' in the main menu.
this switches the root url from twitter to identi.ca

At the moment this is just so that you (or anyone with an identi.ca account) can check that it does basically work with the switched urls. assuming that bit is as simple as that, then I'll think more about how to integrate this, and the multiple account request into something a bit more structured.

bdogg64 2009-12-07 22:29

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 415398)
Since you were so helpful with your post, the 0.1.1-1 build contains the ability to 'toggle serviceType' in the main menu.
this switches the root url from twitter to identi.ca

At the moment this is just so that you (or anyone with an identi.ca account) can check that it does basically work with the switched urls. assuming that bit is as simple as that, then I'll think more about how to integrate this, and the multiple account request into something a bit more structured.

Just saying thanks for the work your doing. Keep it up!

bdogg64 2009-12-07 22:48

Re: witter - a python twitter client
 
I don't know if you've seen this already, but it might make it easier to implement some of these requested features

http://code.google.com/p/python-twitter/

I modified one of your earlier builds from your blog post and it works pretty good

joshua.maverick 2009-12-07 22:52

Re: witter - a python twitter client
 
1 Attachment(s)
Quote:

Originally Posted by dwould (Post 415358)
Interesting layout. Any particular reason for buttons down the side? I suppose my feeling was that I wanted the entire width for tweets.
I'm very conscious of making the most of the screen real estate.

I thought it made more room for the users tweet (2 lines are viewable instead of 1). I can definitely try fitting it all across the top, and reduce the 2 line entry point to 1.

Here is an updated version of the one I was working on, somehow my layer styles got messed about.

joshua.maverick 2009-12-07 22:53

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415531)
I thought it made more room for the users tweet (2 lines are viewable instead of 1). I can definitely try fitting it all across the top, and reduce the 2 line entry point to 1.

Here is an updated version of the one I was working on, somehow my layer styles got messed about.

Actually, that whole top bar should be moved to the bottom, so that tweets can be read first.

joshua.maverick 2009-12-08 00:33

Re: witter - a python twitter client
 
Layout with entry on the bottom. Thoughts?

http://mav-media.com/jrichards/maemo.../witter003.jpg

bdogg64 2009-12-08 01:09

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415671)
Layout with entry on the bottom. Thoughts?

http://mav-media.com/jrichards/maemo.../witter003.jpg

Its purdy ... Is the left side able to be hidden?

joshua.maverick 2009-12-08 01:28

Re: witter - a python twitter client
 
just a mock up, totally up to the dev!

Tintin 2009-12-08 03:32

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415671)
Layout with entry on the bottom. Thoughts?

http://mav-media.com/jrichards/maemo.../witter003.jpg

Purty indeed.
I'd personally prefer it if;
- the menu items on the left hand side were on the right hand side as I mosly use Twitter to read and it'd be nice not to have to look at those options every time.

- that there were no 'Twitter' icon - and instead the message is just sent pressing Enter - but having said that..that may not work so well for our friends on N800's.

- that the theme was muh more dark/black (personal preference of course)

joshua.maverick 2009-12-08 04:19

Re: witter - a python twitter client
 
http://mav-media.com/jrichards/maemo.../witter004.jpg

Thoughts?

wazd 2009-12-08 07:40

Re: witter - a python twitter client
 
http://i026.radikal.ru/0912/36/089658a648d5.png

ian_ryge 2009-12-08 08:25

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415860)
Thoughts?

I just replied here.

joshua.maverick 2009-12-08 08:28

Re: witter - a python twitter client
 
Quote:

Originally Posted by Tintin (Post 415816)
Purty indeed.
I'd personally prefer it if;
- the menu items on the left hand side were on the right hand side as I mosly use Twitter to read and it'd be nice not to have to look at those options every time.

- that there were no 'Twitter' icon - and instead the message is just sent pressing Enter - but having said that..that may not work so well for our friends on N800's.

- that the theme was muh more dark/black (personal preference of course)

@TinTin: Took your advice, aside from the dark/black, though I may mess around with that. Great input on the right side idea! Let's wait to hear what dwould says before I continue. Maybe he'll want to run with wazd's layout, or his own.

http://talk.maemo.org/showpost.php?p...0&postcount=58

Regardless, dwould, if there is anything I can do to help, just let me know.

Tintin 2009-12-08 08:33

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 416020)
@TinTin: Took your advice, aside from the dark/black, though I may mess around with that. Great input on the right side idea! Let's wait to hear what dwould says before I continue. Maybe he'll want to run with wazd's layout, or his own.

http://talk.maemo.org/showpost.php?p...0&postcount=58

Regardless, dwould, if there is anything I can do to help, just let me know.

You're good.

The only other thing I would personally prefer is 'icons' for "Tweet' and 'Refresh' instead of big icons with text in them.

Nice.

kryptoniankid17 2009-12-08 09:55

Re: witter - a python twitter client
 
Quote:

Originally Posted by joshua.maverick (Post 415860)

i like the right side too. seems alot less distracting to the eye.

heavenstorm 2009-12-08 11:54

Re: witter - a python twitter client
 
Hello everybody,

i have a N900 since yesterday... and was very amused to read about the witter-aplication...

i have installed it as it was written, but it don't start.. it opens but nothing happens... i waited for almost 15 minutes but i could only read witter in the status bar...

has anybody the same problem or a solution for that?

Have i to install any phyton-packages first?

Sorry if the question is stupid, but i am a real newbi...

ARJWright 2009-12-08 14:39

Re: witter - a python twitter client
 
Quote:

Originally Posted by wazd (Post 415978)

You know something, while the other mock up looks great from a functional end - and seems to borrow form Gravity (Symbian^1 version) - this one seems to better follow the UI guidelines, and evne introduces a bit of a nuance with the bottom text box that needs to be considered for future updates to the UI guide.

Tintin 2009-12-08 17:21

Re: witter - a python twitter client
 
Installed it to my N810 and here are some areas of improvement (sorry if they have been mentioned);

1) I'd love to see the avatars and not just the twitter names

2) Some texts in the timeline goes past the right edge of the screen and does not seem to wrap correctly

3) Nothing happens when selecting direct messages, mentions or search.

4) Could you add a 'retweet' option that takes advantage of the now built-in retweeting function?

5) I'd love kinetic scrolling on the N810 platform as well

6) I would much prefer that instead of a full date and time stamp in the tweets that it would say 'Posted 4 mins ago', etc.

7) Auto-refresh of the timeline would be great

8) A better looking UI :)

9) When on the Friends/Contacts list it would be nice to be able to click the name of a contact and then see all his/hers tweets

Like the contact management options a lot!

dwould 2009-12-08 20:20

Re: witter - a python twitter client
 
Quote:

Originally Posted by wazd (Post 415978)

I really like this one.

I guess I should learn how to put pictures on buttons instead of text...
I also have not the slightest clue how I would put the remaining character count inside the test entry field.

My personal though on avatars is they provide nothing I want to see at the cost of screen space. I can't recognise most people from their avatar pictures anyhow.

unfortunately this week is likely to see little progress because I had a day job, and it rather gets in the way ;-)

my plan for now is to figure out the garage project stuff to get the code in SCM, and sort out diablo versus fremantle. As there is a good chance diablo will get left behind in the enthusiasm for the nice new n900

With that sorted I might stand a chance of keeping track of various enhancement requests!

dwould 2009-12-08 20:22

Re: witter - a python twitter client
 
Quote:

Originally Posted by bdogg64 (Post 415523)
I don't know if you've seen this already, but it might make it easier to implement some of these requested features

http://code.google.com/p/python-twitter/

I modified one of your earlier builds from your blog post and it works pretty good

yes I saw it, but the intention when I started this was to learn python, more than it was to make a twitter application anyone else would use. So I'm making life hard for myself by writing from scratch (badly) many things I'm sure I could just pick up from existing stuff.

dwould 2009-12-08 20:43

Re: witter - a python twitter client
 
Quote:

Originally Posted by Tintin (Post 416908)
Installed it to my N810 and here are some areas of improvement (sorry if they have been mentioned);

1) I'd love to see the avatars and not just the twitter names

2) Some texts in the timeline goes past the right edge of the screen and does not seem to wrap correctly

3) Nothing happens when selecting direct messages, mentions or search.

4) Could you add a 'retweet' option that takes advantage of the now built-in retweeting function?

5) I'd love kinetic scrolling on the N810 platform as well

6) I would much prefer that instead of a full date and time stamp in the tweets that it would say 'Posted 4 mins ago', etc.

7) Auto-refresh of the timeline would be great

8) A better looking UI :)

9) When on the Friends/Contacts list it would be nice to be able to click the name of a contact and then see all his/hers tweets

Like the contact management options a lot!

1) sorry, I persnally don't want to spend the screen space on a tiny picture

2,3,4)I'm afraid the 810 verison is currently quite far behind
nothing will happen when you select any of the views until you hit 'refresh'
retweet is being developed and if I figure out a sensible way to manage two slightly different code streams, then it will go to the n810 too

5)kinetic scrolling on the 810 is a question of me figuring out library that provides it

6)the problem with time stamps that show you how long ago, is that you have to have a constantly updating process to keep them up to date. that means battery drain vs inaccuarcy. fixed time stamp is just right.

7) same thing with 6. but very commonly requested. so I'll probably work on it, but it means me learning how to do threads etc.

8) everyones a critic....;-)

9) yeah, I guess that would be nice...perhaps one of the core things to get working before I worry about multiple accounts etc

Tintin 2009-12-08 20:46

Re: witter - a python twitter client
 
I guess we're all different - for me avatars help a lot as i subscribe to a lot of news/site updates that oftgen post 4-5 tweets in a row. Having the avatars is a great way for me to quickly see what sort of posts I have.

dwould 2009-12-08 20:50

Re: witter - a python twitter client
 
Quote:

Originally Posted by heavenstorm (Post 416315)
Hello everybody,

i have a N900 since yesterday... and was very amused to read about the witter-aplication...

i have installed it as it was written, but it don't start.. it opens but nothing happens... i waited for almost 15 minutes but i could only read witter in the status bar...

has anybody the same problem or a solution for that?

Have i to install any phyton-packages first?

Sorry if the question is stupid, but i am a real newbi...

I discovered earlier that I was missing a dependacy in package for python-hildon
if you install any other python package it will install this, and hence most people haven't noticed the missing dependancy. at least I'm working on that assumption at the moment.
open a terminal and run 'witter' from there
if it complains about the hildon import then try installing something like gpodder, to see if that helps.

I will fix the missing dependancy but it might be a while before it makes it into an available version

thp 2009-12-09 16:13

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 417357)
5)kinetic scrolling on the 810 is a question of me figuring out library that provides it

You probably want to use mokoui2 (python-mokoui) for this:

http://talk.maemo.org/showthread.php?t=25640

dwould 2009-12-09 20:57

Re: witter - a python twitter client
 
Quote:

Originally Posted by thp (Post 419102)
You probably want to use mokoui2 (python-mokoui) for this:

http://talk.maemo.org/showthread.php?t=25640

Thanks! I've just uploaded 0.1.1-1 to diablo extras-devel with kinetic scrolling thanks to mokoui.

Tempted though I was to forget about the n8*0 stuff, particularly as my 810 seems to be having intermittent network problems. I have now uploaded a version of witter that brings it in line with the fremantle verison.

I've also uploaded 0.1.1-2 to the fremantle extras devel.

In addition to the previous version the only real changes are notifications. Errors retrieving any of the feeds show up as hildon notes, and successful retrieval puts up a hildon banner.

Next I'm going to try and get RT working properly.

edit: actually decided to promote both, so 0.1.1-1 is going to diablo extras, and 0.1.1-2 is going to fremantle extras-testing
retweet now 'works' using the new twitter api for retweet. but I'm not sure I like that style of retweet with no chance for extra text.

tso 2009-12-10 04:41

Re: witter - a python twitter client
 
hmm, seems the python package on diablo is called python2.5-hildon.

That One Guy 2009-12-10 05:10

Re: witter - a python twitter client
 
Thank you. Works great on the N900, if only a little scarce when it comes to making the UI pretty. But I'm not complaining.

I am curious, how hard would it be to code an auto "refresh" after the user tweets something?

dwould 2009-12-10 08:06

Re: witter - a python twitter client
 
damn, thats what I get for thinking i can get away with only checking install on n900.

0.1.1-2 on it's way to diablo extras-devel.

dwould 2009-12-10 08:07

Re: witter - a python twitter client
 
Quote:

Originally Posted by That One Guy (Post 420162)
Thank you. Works great on the N900, if only a little scarce when it comes to making the UI pretty. But I'm not complaining.

I am curious, how hard would it be to code an auto "refresh" after the user tweets something?

to be honest I've been thinking about doing that. it's a trivial change, so probably do it first thing this evening.

mece 2009-12-10 09:08

Re: witter - a python twitter client
 
Using Witter 0.1.1-1 And I really like it! I'm a heavy twitter user and I really appreciate the effort.
I have some stuff for you to consider. They are in priority order:

Bugs (Haven't tried the devel version, so could already be fixed)
  • Url actions don't seem to work on my device. Nothing happens.
  • The long-click menu should also open where you click, because it disappears when you try to move to it otherwise, that's a bug I guess.
  • Twitpic button closes the program, and nothing happens

Smaller suggestions
  • In the long-click menu on tweets it would be nice to have a User actions -> view user. This could open in browser if you don't want to implement a profile viewer
  • I'd like the timeline, mentions and direct messages to refresh the first time you open them since you don't open them to look at the empty screen. After that the manual refresh is a quite good idea.
  • The long-click menu could have a direct message user option
  • Search window should have the "Tweet" button removed
  • I believe there are some nice shaded standard buttons that could replace the flat ones for a quick aesthetic upgrade. (Hildon.Button perhaps)

Stuff for the future
  • Now that you have notifications and other fancy stuff, I'd like to see an option for some automatic updates with notifications. Separate option for autoupdate and notifications for the different areas would be mint. Personally I'd only autoupdate "mentions", and would use proper notification on that.
  • Saved searches - This is something I use a lot on desktop clients to follow certain hashtags, for example one search I have is "#maemo" OR "#n900". Would be nice to have a set of them in the search dialogue that you could just click on to see.
  • I'd like to see the buttons moved to the side because I find it easier to read tweets that are wrapped, and it's easier to scroll when you have a taller area to poke at.
  • click hashtag in a tweet could go to search and search for that hashtag (Or search hashtag option in the long-click menu)

That's all I have for now.

I find witter very nice and usable even if you don't add any of the stuff I suggested. Keep up the good work

stobbsc 2009-12-10 12:15

Re: witter - a python twitter client
 
mece , I see you mentioned there are auto notifications? How are these reported as I don't get anyone on my device?
Also are their any plans for a widget if there are no notifications?

Otherwise Kudos to the creator as this is a great app :-)

rEv9 2009-12-10 12:20

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 417315)
My personal though on avatars is they provide nothing I want to see at the cost of screen space. I can't recognise most people from their avatar pictures anyhow.

I use the avatars all the time to scan through large amount of twits to read the ones I really are interested in. I don't go around remembering usernames, I remember their pictures. For me this is a really important feature :)


All times are GMT. The time now is 08:10.

vBulletin® Version 3.8.8