How to submit a new extension
Is there a process for submitting a new extension? I thought I remembered some information on this website, but I can't find it anymore.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Sean Reilly on 26 Nov, 2015 12:03 PM
Hi Jim,
Yes to submit an extension please send an email to [email blocked] with a pointer to the source (preferably in an accessible git or mercurial repository) and I'll then check it out, build, and sign the compiled binary. If you are happy to distribute the extension to the public we can also put it into the extension directory.
Thanks!
Sean
2 Posted by Jim Larus on 26 Nov, 2015 12:23 PM
Thanks. Here's the source: https://github.com/jameslarus/stockglance.git
It is a plugin for the startpage that tracks stocks and lists in a table
the 1 day, 1 week, 1 month, and 1 year performance. A more informative
version of the list of stocks and prices in the existing plugin.
Best
/Jim
System closed this discussion on 19 Mar, 2016 05:02 AM.
Ben Spencer re-opened this discussion on 19 Mar, 2016 05:16 PM
System closed this discussion on 19 Mar, 2016 05:20 PM.
Sean Reilly re-opened this discussion on 21 Mar, 2016 11:44 AM
3 Posted by JFG on 21 Mar, 2016 06:28 PM
Hi Jim,
Your Stock Glance extension is a GREAT! addition to the homepage, thanks!
I'm experiencing two minor problems with it:
1) It displays the £ symbol for all my stock, rather than the € symbol. The PRICE is correct, just the currency symbol is incorrect. (FYI, My default Moneydance currency is €, the base currency for my investment account is €, and all the stock are listed in € on the Amsterdam Stock Exchange whose currency is €.)
2) The last column, "% 365day", appears to be repeated, but the second instance is very small and partially obscured by the first instance. If I click away from the Summary Page and then back, the repeated column disappears.
I'd like to suggest the addition of one column: current total value, and of one row in which the total of current values is displayed.
Moneydance 2015.7 build 1343, Windows 10
Again, thanks for your extension!
Regards,
Scott.
Support Staff 4 Posted by Sean Reilly on 22 Mar, 2016 12:27 PM
Hi Jim,
Sorry for the long delay but I should mention that I've signed and published this extension. I've also submitted a pull request to you for a couple of minor tweaks to the build process.
Thanks for building such a handy tool!
Sean Reilly
Developer, The Infinite Kind
http://infinitekind.com
5 Posted by Jim Larus on 24 Mar, 2016 02:50 PM
Thanks Sean and Scott for the pull request and helpful feedback. I've
accepted the pull request and fixed both of these bugs.
The code is on github.
For the additional suggestion (current total value), is there a function to
compute that somewhere in MD, or do I need to iterate over all of the
transactions to get this information?
/Jim
6 Posted by JFG on 24 Mar, 2016 05:02 PM
Thanks for the quick response, Jim.
Support Staff 7 Posted by Sean Reilly on 25 Mar, 2016 12:03 PM
Hi Jim,
I don't think you'll need to iterate over all transactions, but you might want to iterate over all accounts and add the value for accounts with each security as their currency.
I think it'd look something like:
Can you let me know if that isn't what you were describing? I really should add this to the built-in functions.
(edited to fix formatting and also to limit the total value for currencies to non-categories)
Thanks!
Sean Reilly
Developer, The Infinite Kind
http://infinitekind.com
8 Posted by Jim Larus on 26 Mar, 2016 06:14 PM
OK, I've added the balance for each security and a total across all
securities. Good suggestion.
Thanks
/Jim
9 Posted by JFG on 28 Mar, 2016 09:57 AM
Excellent, I look forward to its release and will let you know how it works.
Scott.
10 Posted by Jim Larus on 28 Mar, 2016 10:15 AM
Wait please. There is a bug with leap year I'll fix today.
Jim
11 Posted by Jim Larus on 28 Mar, 2016 06:10 PM
OK, fixed that problem.
/Jim
12 Posted by JFG on 27 Apr, 2016 07:55 AM
Hi Jim, Thanks for the update to your Stock Glance extension. Unfortunately it has a couple of problems. The first are the balances, which are 100 times greater than my actual balances. My guess is, it's taking the price to be cents rather than euros. So, for example, instead of a balance/sum of 12,345.67 it displays a balance/sum of 1,234,567. The second problem is that the bounding frame is now much bigger than the list of stocks, so it pushes everything else below it on the homepage off the screen (the bounding frame used to exactly match the size of the list, now there's a lot of empty space under the list). One minor cosmetic issue is that the width of the list is about 1 or 2 pixels smaller than the width of the bounding frame.
Hope this helps.
Scott.
13 Posted by Jim Larus on 27 Apr, 2016 07:58 AM
Scott,
Which version are you using? The latest is v4
/Jim
14 Posted by JFG on 28 Apr, 2016 08:02 AM
v4 is the one I'm using.
15 Posted by Jim Larus on 28 Apr, 2016 12:36 PM
Scott
I just push v5 with some changes to fix the currency symbol and
representation problems. Can you try it and let me know if it fixes the
problem.
I can't reproduce the UI problems on either a Mac or Win10 system. Can you
send me a screenshot so I can see what the problem looks like?
Thanks
/Jim
16 Posted by JFG on 28 Apr, 2016 02:22 PM
Hi Jim,
Attached is a (partial) screenshot. As you can see, there's a bounding frame around your Stock Glance extension, and it extends way down below the actual bottom of the list, leaving a lot of white space and pushing other extensions down.
Also (as I said, just a minor cosmetic detail), you can see the right side of the list does not meet/overlap the bounding frame the way the left side does.
I'm using MD 2015.7 (build 1343) on Windows 10 Pro (fully updated).
Regards,
Scott.
17 Posted by Jim Larus on 28 Apr, 2016 06:09 PM
Dear Scott
I think I've fixed both of these problems, but as I never saw the white
space issue on my system, can you try it out and let me know if it works?
Thanks
/Jim
18 Posted by JFG on 29 Apr, 2016 07:52 AM
Hi Jim,
I'll try it just as soon as Moneydance pushes the update. I'll keep you posted...
Regards,
Scott.
19 Posted by JFG on 29 Apr, 2016 08:36 AM
Hi Jim,
I just discovered another UI issue (still on v4). If I have my mouse-pointer above any other extension and use the scroll-wheel, the whole homepage page scrolls. If my mouse-pointer is above the Stock Glance extension, the page does not scroll (i.e. the Stock Glance list is receiving the scroll messages).
Regards,
Scott.
20 Posted by Jim Larus on 29 Apr, 2016 08:40 AM
Yeah, I'm still trying to figure out the whole Java Gui mess. Since I'm
using a table, I put it in a JScrollPane, which is where they normally go,
and that seems to interact badly with the layout of the home page, where
everything else is a JPanel. I'll get it eventually, but I really hate this
type of fiddle GUI stuff.
/jim
Support Staff 21 Posted by Sean Reilly on 29 Apr, 2016 12:23 PM
Hi Jim,
I think in this case it'd be best to leave off the JScrollPane since it conflicts with the smooth scrolling of the outer scroll pane that contains the whole home page.
If it's a matter of simply having too many rows to feasibly display I'd recommend having a "more..." link below the table if there are more than a certain number of items.
Thanks!
Sean
22 Posted by Jim Larus on 29 Apr, 2016 05:59 PM
Yes, that makes sense. I've fixed the code and pushed a new version to the
repo with this change.
Best
/jim
System closed this discussion on 30 Jul, 2016 03:50 AM.