constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Import from Database - Import messages are shown in alphabetical order and not time order, suggest updating

Open GammaVel opened this issue 2 years ago • 2 comments

Prerequisites

  • [X] Put an X between the brackets on this line if you have done all of the following:

    • Running the latest version of Constellation

    • Attached the Support Package via Help > Support Package

    • Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ

    • Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues

    • Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories

Description

I've been really enjoying importing data from my database into Constellation and setting up some different filters so I can make all sorts of graphs from my database. There is a very handy import icon on the bottom left which I can click on to see all of my imports. I have noticed that this is displaying the imports in what appears to be Alphabetical order instead of time. It would be more handy to have them displayed in time sequence with the most recent at the top.

This will help me in case I don't see the import bubble and need to check the exact details or compare my recent imports.

Steps to Reproduce

  1. Using the import from Database set up and configure DB connection and driver
  2. Query the data and set up some filters to restrict the data
  3. Import
  4. Check the message balloon to see how many rows were imported.
  5. Watch the message bubble disappear (whoops, missed it)
  6. Click on the import icon to see where my message is > this is hard to find as there are getting to be so many
  7. Observe that the list looks to be in alphabetical order instead of time

Expected behaviour: The most recent imports are at the top of the list with the scroll to see the older ones

Actual behaviour: Appears to be AO Reproduces how often: 100%

Additional Information

image

GammaVel avatar Feb 04 '22 01:02 GammaVel

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.

github-actions[bot] avatar Aug 04 '22 00:08 github-actions[bot]

hi! This might be a limitation of how Netbeans work and could be better with a newer version.

In saying that a simple workaround would be to pre-pend the date/time to the imports so then they would be sorted correctly.

If this is a Netbeans limitation after upgrading, a ticket could be raised with them to follow it up.

GammaVel avatar Aug 11 '22 05:08 GammaVel

Thanks @antares1470 for making this little improvement. The messages are in a logical order now which is good. This is a nifty improvement to the Import from DB.

Note the ordering is the most recent messages are at the bottom of the list which is different to above but it makes sense when you consider the ordering of logs (most recent entry last).

image

GammaVel avatar Jan 11 '23 03:01 GammaVel