I'm working on https://redmine.postgresql.org/issues/5488 and as per the discussion, we'll remove the current tooltip way for showing the details. Instead, we'll add some popover/panel upon clicking a node which will stay until closed.
Below is the screenshot of partial implementation.
I like the idea of showing details in the pop up.
I agree, though I think the presentation could use some work to make the table-like layout a little cleaner (maybe alternating row shading or subtle cell borders or something). Perhaps check with Aradhana or Chethana for ideas?
Yes.
We also need to think about the details in the SVG file downloaded.
We ignore the popups entirely at the moment don't we? It would be good to render any that are open though.
We have put details in the title attribute, hence - it should be visible as cluttered text on hover. (Assumption - I have not tried).
OK, well it seems reasonable to continue to do that for all nodes. However, maybe we should also render any popups that are open at time of download - that way, printing or converting to a raster format will still display those popups.
With the new changes, the SVG tooltip will be removed completely. The new pop up is HTML based and floats above the diagram. I mean, if you zoom in/out the plan, it does not affect the popup.
I'm thinking to append all the tables to the download SVG and add click events on the nodes which will scroll to that table. This is just a thought, not sure if it will work. But that would be a separate task.
— Ashesh
-- Ashesh
Please confirm if I can proceed with full implementation.