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

[2.19.x] Disable attributes that are not supported by selected sources #5827

Merged
merged 29 commits into from
Mar 12, 2020

Conversation

mazarag2
Copy link
Contributor

@mazarag2 mazarag2 commented Feb 12, 2020

What does this PR do?

Disables attributes from the dropdown when a source with supportedAttributes is selected. Display a warning below the dropdown that the currently selected attribute is not available to be selected in the dropdown

Who is reviewing it?

Select relevant component teams:

@codice/ui

How should this be tested?

TBD

Any background context you want to provide?

TBD
These changes were done in catalog-ui-search which is now removed from master a forward port to ddf-ui will be necessary

What are the relevant tickets?

Fixes: #____

Screenshots

TBD

Checklist:

  • Documentation Updated
  • Update / Add Threat Dragon models
  • Update / Add Unit Tests
  • Update / Add Integration Tests

Notes on Review Process

Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.

Review Comment Legend:

  • ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist.
  • ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.
  • ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.

5652 resolve conflict markers

5652 add missing settingsModel and check when other search forms are selected

5652 enable all attributes when no source is selected and clean up files

5652 fix comments
@bdeining bdeining changed the title 2.19.x disable attributes that are not supported by selected content stores 2.19.x disable attributes that are not supported by selected sources Feb 12, 2020
mazarag2 and others added 5 commits February 14, 2020 09:07
…inputs/enum-input/enum-input.js

Co-Authored-By: David Morales <david.morales@connexta.com>
…-builder/filter-builder.view.js

Co-Authored-By: David Morales <david.morales@connexta.com>
mazarag2 and others added 11 commits February 17, 2020 14:35
…advanced/query-advanced.view.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…filter/filter.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…inputs/enum-input/enum-input.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…inputs/enum-input/enum-input.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…filter/filter.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…inputs/enum-input/enum-input.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
…inputs/enum-input/enum-input.js

Co-Authored-By: kentmorrissey <kentmorrissey0@gmail.com>
mazarag2 and others added 3 commits February 20, 2020 09:33
…filter/filter.js

Co-Authored-By: David Morales <david.morales@connexta.com>
…filter/filter.js

Co-Authored-By: David Morales <david.morales@connexta.com>
@bdeining bdeining changed the title 2.19.x disable attributes that are not supported by selected sources [2.19.x] Disable attributes that are not supported by selected sources Feb 26, 2020
@mojogitoverhere
Copy link
Contributor

build now

@cxddfbot
Copy link

Internal build has been started, your results will be available at build completion.

@cxddfbot
Copy link

Build FAILURE See the job results in legacy Jenkins UI or in Blue Ocean UI.

@mazarag2
Copy link
Contributor Author

build now

@cxddfbot
Copy link

Internal build has been started, your results will be available at build completion.

@mojogitoverhere
Copy link
Contributor

Working on the hero now

@cxddfbot
Copy link

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.

@mojogitoverhere
Copy link
Contributor

build now

@cxddfbot
Copy link

cxddfbot commented Mar 9, 2020

Internal build has been started, your results will be available at build completion.

@cxddfbot
Copy link

cxddfbot commented Mar 9, 2020

Build SUCCESS See the job results in legacy Jenkins UI or in Blue Ocean UI.

@mojogitoverhere
Copy link
Contributor

🎉 Hero was successful! 🎉

  1. Installed the standard profile
  2. Verified queries and attribute dropdown still work as expected (no attributes filtered out)
  3. Verified filtering functionality in downstream project

@mojogitoverhere mojogitoverhere merged commit 168254c into codice:2.19.x Mar 12, 2020
bdeining pushed a commit to codice/ddf-ui that referenced this pull request Mar 25, 2020
…selected sources (#130)

Forward port of codice/ddf#5827

Disables attributes from the dropdown when a source with supportedAttributes is selected. Display a warning below the dropdown that the currently selected attribute is not available to be selected in the dropdown
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.

8 participants