mattcasters opened a new pull request, #8405:
URL: https://github.com/apache/hop/pull/8405

   Fixes #8361
   
   Link the RDBMS connection metadata editor and the Database perspective so 
you can explore and query a connection without bouncing through extra dialogs.
   
   ### What changed
   
   - **Connection editor**: *Open in Database* (next to Explore) activates the 
Database perspective on that connection and opens a SQL tab. Unsaved 
connections with a name still work via an in-memory fallback. If the Database 
perspective is disabled, the floating Database window is used instead.
   - **Database workbench**: *Edit connection* on the toolbar and tree context 
menu opens the connection in the Metadata perspective (or a dialog if that 
perspective is disabled). Same control in the perspective, floating window, and 
dock.
   - **Database explorer**: Open SQL / Generate DDL / Truncate use the floating 
Database window (same as transform SQL buttons). DDL for another connection 
binds the SQL tab to the **target** connection. A toolbar button jumps to the 
Database perspective on the explorer's connection (and closes the explorer). 
The Linux explorer is no longer application-modal so that floating window stays 
usable.
   - **SqlEditor** stays as a public API for other callers (for example 
hopper-edw).
   - Docs updated for the Database perspective and RDBMS connection pages.
   
   ### Tests
   
   Targeted UI unit tests: `DisabledPerspectivesTest`, 
`DatabaseWorkbenchViewsTest`, `DatabaseWorkbenchReloadMetaTest` (19 tests).
   
   ------------------------
   
   Thank you for your contribution! Follow this checklist to help us 
incorporate your contribution quickly and easily:
   - [x] Run `mvn clean install apache-rat:check` to make sure basic checks 
pass. A more thorough check will be performed on your pull request 
automatically.
   - [x] If you have a group of commits related to the same change, please 
squash your commits into one and force push your branch using `git rebase -i`.
   - [x] Mention the appropriate issue in your description (for example: 
`addresses #123`), if applicable.
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to