Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for executing query at cursor position. #6841 #7380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anilsahoo20
Copy link
Contributor

No description provided.

@anilsahoo20
Copy link
Contributor Author

Pushed the code and the documentation is not updated as the execute query button icon need to be changed so the images need to be updated accordingly.

Copy link
Contributor

@adityatoshniwal adityatoshniwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Got this error in console:
image
  • The pop up looks ugly. It has unnecessary padding:
image
  • None of the new preferences works realtime.

  • Don't ask again? is not working.

  • The dialog should have max-ht after which CodeMirror should scroll.

image

docs/en_US/preferences.rst Outdated Show resolved Hide resolved
docs/en_US/preferences.rst Outdated Show resolved Hide resolved
docs/en_US/query_tool.rst Outdated Show resolved Hide resolved
docs/en_US/query_tool_toolbar.rst Outdated Show resolved Hide resolved
web/pgadmin/static/js/Theme/standard.js Show resolved Hide resolved
Copy link
Contributor

@adityatoshniwal adityatoshniwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. remove padding
image
  1. I cannot select and copy the SQL from SQL Popup.
  2. Preferences real-time is not fixed.
  3. Console error is not fixed. Getting the same error.
  4. Warning dialog sometimes is not showing even if enabled.
  5. The editor size issue of dialog is not fixed.
  6. These preferences should be move to Options, not Editor:
image

@@ -388,6 +396,12 @@ export function MainToolBar({containerRef, onFilterClick, onManageMacros}) {
});}
}
},
{
shortcut: queryToolPref.execute_script,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we migrating the old shorcut preference set by the user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants