django-sql-explorer icon indicating copy to clipboard operation
django-sql-explorer copied to clipboard

Feature Enhancement: All Queries Outlining Expand/Collapse Indicators and Related Enhancements

Open MYX-GitHub opened this issue 3 years ago • 3 comments

The automatic grouping and collapsible outlining of queries is a great feature! I did not know it even existed until a few minutes ago when I was about to request that feature, so now I'm submitting an enhancement request. :-)

If the All Queries list had a +/- toggle next to the group headings, the existence of that feature would be more apparent.

Other associated feature enhancements could include:

  • Auto-Collapse (i.e. expanding a collapsed group automatically collapses the previously expanded group)
  • Collapse All
  • Expand All
  • Remember the Expanded group(s) between sessions

BTW: SQL-Explorer is a GREAT tool! Thanks for responding to previous issues ... it just keeps getting better and better!!!

Regards,

Mike

MYX-GitHub avatar Jan 09 '22 17:01 MYX-GitHub

Interesting. I think the way to do this would be to use some kind of better library/control on the front-end. The implementation of the collapsable rows is very lightweight (uses a bootstrap plugin called "collapse"). There aren't really any configurable options and I don't think it's very extensible. I'm sure someone has developed some kind of tree view that could do it -- but it would require replacing bootstrap collapse.

chrisclark avatar Apr 19 '22 20:04 chrisclark

Hi Chris,

Sounds like it requires a little bit of head-scratching for someone who knows what they’re doing … or in my case, a lot of head-scratching.

I appreciate your consideration and feedback, though, so thanks!

Regards,

Mike

[]

From: Chris Clark @.*** Sent: Tuesday, April 19, 2022 4:08 PM To: groveco/django-sql-explorer Cc: MYX-GitHub; Author Subject: Re: [groveco/django-sql-explorer] Feature Enhancement: All Queries Outlining Expand/Collapse Indicators and Related Enhancements (Issue #464)

Interesting. I think the way to do this would be to use some kind of better library/control on the front-end. The implementation of the collapsable rows is very lightweight (uses a bootstrap plugin called "collapse"). There aren't really any configurable options and I don't think it's very extensible. I'm sure someone has developed some kind of tree view that could do it -- but it would require replacing bootstrap collapse.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

MYX-GitHub avatar Apr 29 '22 19:04 MYX-GitHub