|
From: Karl O. P. <ko...@me...> - 2011-05-09 18:13:42
|
On 05/09/2011 01:07:41 PM, Jehan-Guillaume (ioguix) de Rorthais wrote: > On 09/05/2011 20:03, Jehan-Guillaume (ioguix) de Rorthais wrote: > > On 09/05/2011 19:54, Karl O. Pinc wrote: > >> On 05/09/2011 12:39:54 PM, Jehan-Guillaume (ioguix) de Rorthais > wrote: > >>> On 09/05/2011 19:29, Leonardo Sápiras wrote: > >>>> Hi Karl, > >>>> > >>>>> I'm entirely ignorant of ppa and what plugins would do > >>>>> but wanted to write because I got a request from my users > >>>>> that might be able to be solved with a plugin. > >>>>> > >>>>> The request was to be able to associate hyperlinks with > >>>>> each table appearing in the browse view that reference > >>>>> the table's documentation. Please let me know > >>>>> if the plugin architecture being considered would allow > >>>>> for such a plugin. > >>>> > >>>> What do you mean about "reference the table's documentation"? > >>> Sorry, > >>>> it's not clear for me, could you show some example? > >>>> > >>>> I am working in a new plugin architecture as a project by Google > >>>> Summer of Code. My proposal can be found at > >>>> [http://wiki.postgresql.org/wiki/ > >>> New_phpPgAdmin_Plugin_Architecture_GSoC_2011]. > >>>> > >>>> In this proposal, there are some things that the new > architecture > >>> will > >>>> be able to, among them, entries in the action buttons and > >>> navigation > >>>> links. If I understood you well, it will able you to create a > >>> plugin > >>>> on this architecture. If it won't, I will need to talk to my > >>> mentors > >>>> first (Jehan 'ioguix', and Andreas 'ads') before add one more > entry > >>> in > >>>> this project, but it would might be done after the GSoC :) > >>>> > >>>> Andreas and Jehan, what do you thing about it? > >>> > >>> I don't understand this part neither. I need a better > understanding > >>> before being able to answer if this plugin architecture will > support > >>> it > >>> out of the box, or if it will be a future enhancement (ie, after > the > >>> gsoc). > >> > >> I have a table, say "biograph". It has documentation available > >> via an URL. > >> (http://papio.biology.duke.edu/babase_system_html/ > >> ch03s01.html#BIOGRAPH) > >> All the other tables in this database have similar documentation. > >> When in ppa and presented with a list of all the tables in the > >> schema (the "tables" tab after having clicked on the schema) > >> I'd like a link (or button/whatever) to appear by each table so > >> that the user can go read the documentation on the table. > >> > >> I'd like the same functionality for views as well. > > > > Ok, so it will be possible by adding a button amongs the actions > and/or > > a new entry in the browser tree under each table (let's say after > the > > table export one). > > > > These are covered by points 1 and 5 here: > > actually, you can even add your link in tabs and navigation links > (points 2 & 4)...Just pick your favorite ones. > > Or maybe you will want to create a plugin where you can set where the > links should appear in its conf file :) Good news. Thanks. Yet another reason to get my patches into HEAD. (And I'll be able to run HEAD in a production environment to work out the kinks too.) Karl <ko...@me...> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein |