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

feat: advanced search support #4117

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

shpran
Copy link
Contributor

@shpran shpran commented Oct 10, 2024

related to:

Changes

  • Added new property to set translated languages
  • Added event + listener to cover all translated resources
  • 3 translation actions modified to trigger this new event:
    • Create translation
    • Delete translation
    • Sync translations

image
image

Base automatically changed from feat/HKD-6/integration to develop November 11, 2024 14:26
Copy link

github-actions bot commented Nov 12, 2024

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
247 247 0 0

Copy link
Contributor

@gabrielfs7 gabrielfs7 left a comment

Choose a reason for hiding this comment

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

Thanks @shpran, amazing work!

It is working as expected and we have some minor things to address and I can approve the PR:

Issues related to adv search.

  • We need to make uniqueId available as criteria
  • Translation Type must not be displayed as criteria
  • Translation Progress must not be displayed as criteria
  • Original resource must not be displayed as criteria

@@ -13,7 +13,7 @@
"@oat-sa/tao-core-libs": "^1.0.0",
"@oat-sa/tao-core-sdk": "^3.2.1",
"@oat-sa/tao-core-shared-libs": "^1.6.1",
"@oat-sa/tao-core-ui": "^3.8.1",
"@oat-sa/tao-core-ui": "github:oat-sa/tao-core-ui-fe#feat/ADF-1811/group-conditions-logic",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • Change to release tag before merge

@shpran shpran force-pushed the feature/adf-1794/advanced-search-support branch 2 times, most recently from 2b65377 to cb01e05 Compare November 15, 2024 07:29
@shpran shpran force-pushed the feature/adf-1794/advanced-search-support branch from cb01e05 to b7fd61b Compare November 15, 2024 07:31
@@ -451,4 +451,14 @@
<widget:widget rdf:resource="http://www.tao.lu/datatypes/WidgetDefinitions.rdf#ComboBox"/>
<tao:TAOGUIOrder><![CDATA[2004]]></tao:TAOGUIOrder>
</rdf:Description>
<rdf:Description rdf:about="http://www.tao.lu/Ontologies/TAO.rdf#TranslatedIntoLanguages">
Copy link
Contributor

Choose a reason for hiding this comment

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

@shpran Can you please confirm that translation properties do not appear as filter in case the FEATURE_FLAG_TRANSLATION_ENABLED is disabled?

Copy link
Contributor

@gabrielfs7 gabrielfs7 left a comment

Choose a reason for hiding this comment

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

Thanks for this, @shpran. Looks great!

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

TODO

There is a small thing missing, but I am pre-approving as it is an improvement

  • Do not show translation filters or columns if the translation feature flag is not enabled
  • Do not show UniqueId filter o column if the feature flag is not enabled

Copy link

Version

Target Version 54.24.0
Last version 54.23.2

There are 0 BREAKING CHANGE, 1 feature, 0 fix

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.

3 participants