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

Add DisableQueryElements parameter to disable query elements from extended table #2355

Closed
AlexanderSavelyev opened this issue Mar 15, 2023 · 0 comments · Fixed by #2371
Closed

Comments

@AlexanderSavelyev
Copy link
Contributor

AlexanderSavelyev commented Mar 15, 2023

Background
There should be a possibility to disable Extended Table elements.

Solution
Add Ketcher API parameter "disableQueryElements" with an array list of elements
for example
ketcher.setSettings({ disableQueryElements": ["Pol", "CYH", "CXH"] })

It should disable the elements from the Extended Table. See design attachment below
Disabled elements should also show tooltip: "{elementName} is disabled"

** Additional context**
elements_style.zip

#184498615

@AlexanderSavelyev AlexanderSavelyev added this to the Ketcher 2.10.0-rc.1 milestone Mar 15, 2023
@AnastasiiaPlyako AnastasiiaPlyako self-assigned this Mar 15, 2023
AnastasiiaPlyako added a commit that referenced this issue Mar 17, 2023
AnastasiiaPlyako added a commit that referenced this issue Mar 17, 2023
AnastasiiaPlyako added a commit that referenced this issue Mar 21, 2023
KonstantinEpam23 added a commit that referenced this issue Mar 24, 2023
AnastasiiaPlyako added a commit that referenced this issue Mar 28, 2023
…arameter-to-disable-query-elements-from-extended-table' into #2355-add-DisableQueryElements-parameter-to-disable-query-elements-from-extended-table
AnastasiiaPlyako added a commit that referenced this issue Mar 31, 2023
KonstantinEpam23 added a commit that referenced this issue Mar 31, 2023
…om extended table (#2371)

* #2355 add DisableQueryElements parameter to disable query elements from extended table

* #2355 create separate component for buttom GenSet

* #2355 add import in less file

* #2355 add and update copyright

* #2355 update readme

* #2355 update readme.md

* #2355 update style accroding design

* #2355 fix issue to simplifying ButtonGenSet

* #2355 fix type in ButtonGenSet

---------

Co-authored-by: Konstantin Levin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants