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)

noobmonkey 2009-12-06 16:21

Re: witter - a python twitter client
 
Also, xterm did bring up alot of things!!!
Here's the end of it :)
http://farm3.static.flickr.com/2511/...5f2d1cb0_o.png

dwould 2009-12-06 16:44

Re: witter - a python twitter client
 
Quote:

Originally Posted by noobmonkey (Post 413021)
Also, xterm did bring up alot of things!!!
Here's the end of it :)
http://farm3.static.flickr.com/2511/...5f2d1cb0_o.png

ok I can see a bug there, which I've just fixed. though I may roll up a few more things before trying to push through a new version.

as far as the refreshing when you switch views goes...I am not sure about doing it that way. sometimes I might want to just switch through the already loaded view, without necessarily incurring a refresh. particulaly if you wanted to refer to something that you had already loaded, but whilst you are not connected. then it would be annoying to have an error every time you switch views.

noobmonkey 2009-12-06 16:47

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 413053)
ok I can see a bug there, which I've just fixed. though I may roll up a few more things before trying to push through a new version.

as far as the refreshing when you switch views goes...I am not sure about doing it that way. sometimes I might want to just switch through the already loaded view, without necessarily incurring a refresh. particulaly if you wanted to refer to something that you had already loaded, but whilst you are not connected. then it would be annoying to have an error every time you switch views.

can you check for a connection first?

ie: If connection then refresh, else show refresh button - or just refresh :)

dwould 2009-12-06 16:56

Re: witter - a python twitter client
 
Quote:

Originally Posted by noobmonkey (Post 413055)
can you check for a connection first?

ie: If connection then refresh, else show refresh button - or just refresh :)

interesting idea, no idea whether I can query from python whether there is an active data connection. I guess I'll look into it.

noobmonkey 2009-12-06 16:57

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 413061)
interesting idea, no idea whether I can query from python whether there is an active data connection. I guess I'll look into it.

sorry i've allways done VB and asp, i really should learn Python :)

dwould 2009-12-07 09:42

Re: witter - a python twitter client
 
I have now created a project space for witter here:
https://garage.maemo.org/projects/witter/

at some point this week I'll try to figure it out enough to upload witter into proper SCM. but in any case this seems a place in which people can raise bugs/enhancements etc if they really want to.

I'm in no way suggesting that I will necessarily fix or add anything, but it will in theory be a more sensible place to manage such things.

noobmonkey 2009-12-07 10:06

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 414109)
I have now created a project space for witter here:
https://garage.maemo.org/projects/witter/

at some point this week I'll try to figure it out enough to upload witter into proper SCM. but in any case this seems a place in which people can raise bugs/enhancements etc if they really want to.

I'm in no way suggesting that I will necessarily fix or add anything, but it will in theory be a more sensible place to manage such things.

Thank you very much :) - i'll pop by and join in if needed :) - happy to test and try to help if i can :)

thp 2009-12-07 10:30

Re: witter - a python twitter client
 
Quote:

Originally Posted by dwould (Post 413061)
interesting idea, no idea whether I can query from python whether there is an active data connection. I guess I'll look into it.

python-conic (the binding for libconic) allows you to do this:

http://pymaemo.garage.maemo.org/conic.html
http://maemo.org/api_refs/5.0/5.0-final/libconic/

And to quote from bug 5399:

Quote:

All network types supported by the device are found as directories in gconf at '/system/osso/connectivity/network_type/', if an application needs them anyway. There is no API in libconic for this, though.

noobmonkey 2009-12-07 10:37

Re: witter - a python twitter client
 
Quote:

Originally Posted by thp (Post 414185)
python-conic (the binding for libconic) allows you to do this:

http://pymaemo.garage.maemo.org/conic.html
http://maemo.org/api_refs/5.0/5.0-final/libconic/

And to quote from bug 5399:

thanks thp :) - useful having that!

thp 2009-12-07 11:12

Re: witter - a python twitter client
 
And here's some more generic feedback after trying out your app:
  • Buttons should be hildon.Button instances (with FINGER size, probably)
  • The gtk.Entry you have should be hildon.Entry (for the styling)

Also, it's not really obvious that the entry box belongs to the "Search" button (in addition to other things). A nicer design would be to open a dialog with a text entry box when the "Search" button is clicked and open the search results in another view (StackableWindow).

When I'm not entering any authentication data, Clicking on "timeline"+"refresh" should probably use a Hildon Note instead of a dialog with the title (and ideally with a 401 error, you could show the login dialog, as this is where most users would want to go in this situation).

The "Exit" button in the appmenu is redundant, as there is the "X" button in the titlebar already.

What does "Invert" in the app menu do?

The context menu should pop up at the location of the mouse coordinates, and should have the widget name set to "hildon-context-sensitive-menu" to get the correct styling.

The "TwitPic!" item should use a hildon file chooser instead of the GTK+ one.

I would also suggest either opening a new subview for different content (e.g. "Trends", etc..) or at least changing the window title so that the user knows which "mode" he/she is currently in (e.g. "Witter - Search for maebar" or "Witter - Your timeline").

Oh, and a feature request: Add support for identi.ca :)

Thanks for the great application - I especially like the "search" functionality, as the only other twitter app that I know of does not yet have this functionality ;)


All times are GMT. The time now is 04:56.

vBulletin® Version 3.8.8