====== invest-applet ====== On this page I take notes on what I'm doing to improve Gnome's invest-applet. My work has focused on the following issues: * [[.:invest-applet#look|look]], get rid of some glitches Ivest had * [[.:invest-applet#addremove stock|add/remove stock]], call it with its name (edit list instead of preferences) * [[.:invest-applet#connectivity_and_tooltip|connectivity and tooltip]], better support when downloading images/csv (proxy included) See [[.:invest-applet#download_it|download]] section on how to easily install invest from my personal repository ===== look ===== ==== previous icons ==== | {{user:matteo_zandi:invest-applet:invest-16.png|}} | {{user:matteo_zandi:invest-applet:invest-button.png|}} | ==== new icons ==== ^ ^ 16x16 png ^ 22x22 png ^ 48x48 png ^ svg ^ | neutral | {{user:matteo_zandi:invest-applet:invest-16_neutral.png|}} | {{user:matteo_zandi:invest-applet:invest-22_neutral.png|}} | {{user:matteo_zandi:invest-applet:invest-48_neutral.png|}} | [[http://www.webalice.it/mzandi/invest-applet/invest_neutral.svg|invest_neutral.svg]] | | up | {{user:matteo_zandi:invest-applet:invest-16_up.png|}}| {{user:matteo_zandi:invest-applet:invest-22_up.png|}}| {{user:matteo_zandi:invest-applet:invest-48_up.png|}}| [[http://www.webalice.it/mzandi/invest-applet/invest_up.svg|invest_up.svg]]| | down | {{user:matteo_zandi:invest-applet:invest-16_down.png|}}| {{user:matteo_zandi:invest-applet:invest-22_down.png|}}| {{user:matteo_zandi:invest-applet:invest-48_down.png|}}| [[http://www.webalice.it/mzandi/invest-applet/invest_down.svg|invest_down.svg]] | ==== before and after ==== * restored external indicator * make sure that not only US stocks are plotted with double-click * added sparkline graph * removed monospace font * sort columns in order to improve usability === before === {{user:matteo_zandi:invest-applet:invest-applet2.png|}} === after === {{user:matteo_zandi:invest-applet:invest-applet3.png|}} ===== add/remove stock ===== Improve usability when add/removing stocks, targeted bugs: [[http://bugzilla.gnome.org/show_bug.cgi?id=460085|460085]], [[http://bugzilla.gnome.org/show_bug.cgi?id=473706|473706]], [[http://bugzilla.gnome.org/show_bug.cgi?id=450176|450176]], [[http://bugzilla.gnome.org/show_bug.cgi?id=499206|499206]] Changes: * rename 'preferences' to 'edit list' * remember the order of the stocks, let the user choose manually or by column sort * show a small icon to identify if entry is a ticker or a position (position icon is not definitive) * help the user in inserting tickers (auto start editing on add, if amount is entered auto start editing price cell, etc) * backend: new classes to deal with stock entries, new stocks file definition (auto convert if old one is found) * TODO: handle multi-purchase positions | before | after | | {{http://raphael.slinckx.net/images/invest-applet-3.png?200}}|{{user:matteo_zandi:invest-applet:edit_list.png?250|}} | ===== connectivity and tooltip ===== While I'm doing some tests for removing dependency from gnome-vfs, I'm experimenting with the tooltip also. It is a nice and quick way to communicate invest's state. {{user:matteo_zandi:invest-applet:invest-applet_tooltip.png|}} ===== download it! ===== newest invest-applet can be found on [[https://edge.launchpad.net/~matteozandi/+archive|my repository on launchpad]], you're encouraged to test it and provide feedback add the following lines on your /etc/apt/sources.list deb http://ppa.launchpad.net/matteozandi/ubuntu hardy main deb-src http://ppa.launchpad.net/matteozandi/ubuntu hardy main Please note that packages provided on my repository are for testing purposes, use at your own risk. ~~DISCUSSION~~