Repository navigation
fix(search): update Simple Search help for asset labels - #17142
sanketpatel32 wants to merge 2 commits into
Conversation
|
This pull request contains a critical finding where a sensitive template file was modified by an author not on the allowed list.
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in
|
| Vulnerability | Configured Sensitive Codepath Modified by Non-Allowed Author |
|---|---|
| Description | File 'dojo/templates/dojo/simple_search.html' matches configured sensitive codepath pattern 'dojo/templates/**/*.html' and was modified by 'sanketpatel32' (commit c00b313) who is not in the allowed authors list. |
We've notified @mtesauro.
Comment to provide feedback on these findings.
Report false positive: @dryrunsecurity fp [FINDING ID] [FEEDBACK]
Report low-impact: @dryrunsecurity nit [FINDING ID] [FEEDBACK]
Example: @dryrunsecurity fp drs_90eda195 This code is not user-facing
All finding details can be found in the DryRun Security Dashboard.
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
1 similar comment
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
054150a to
820cf72
Compare
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
|
Conflicts with |
Fixes #17128
Description
The Simple Search help popover still described results as products, while the rest of the UI is moving to the Asset naming. This change:
labels.ASSET_PLURAL_LABELin the popover prose instead of hard-coded product wording.product:,product-tag, andproduct-tagsunchanged because they are query syntax parsed bydojo/search/views.py.test-tag/test-tags,engagement-tag/engagement-tags,product-tag/product-tags).to to perform,finegrained, and the invalid</br>tag.Application Technolgiestab label.msgstr; the other translations are machine-produced, so native-speaker review is welcome.This is complementary to #17127, which covers the result labels on the same page rather than the help-popover prose.
Test results
unittests/test_simple_search_help_popover.py(3 tests). The rendering assertions failed on currentdevbefore the fix and pass with it:product:/product-tagquery operators.dev:test_simple_search_asset_labels,test_simple_search_tab_panes,test_simple_search_scoping,test_simple_search_bad_input, andtest_watson_search_disabled(12 tests OK).ruff check --config ruff.tomlandruff format --checkpass for the new test module with Ruff 0.16.10.msgfmt --checkpasses for all 28 catalogs.msgidexactly matches theblocktrans trimmedmessage extracted from the template.Documentation
None needed; this is a UI copy bug fix.
Checklist
dev.devbranch.This change was implemented and validated with AI assistance (Devin), under the direction of Sanket Patel.