Skip to content

autocomplete tags#657

Merged
pozylon merged 7 commits into
masterfrom
autocomplete-product-tags
Sep 22, 2025
Merged

autocomplete tags#657
pozylon merged 7 commits into
masterfrom
autocomplete-product-tags

Conversation

@Mikearaya
Copy link
Copy Markdown
Contributor

@Mikearaya Mikearaya commented Sep 15, 2025

Closes #441

defaults can be customized by providing comma separated string using UNCHAINED_DEFAULT_PRODUCT_TAGS env

@deepsource-io
Copy link
Copy Markdown
Contributor

deepsource-io Bot commented Sep 15, 2025

Here's the code health analysis summary for commits 6221289..696994c. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@Mikearaya Mikearaya requested a review from pozylon September 15, 2025 11:34
@pozylon pozylon force-pushed the autocomplete-product-tags branch from 696994c to 3656afa Compare September 19, 2025 12:56
Copy link
Copy Markdown
Member

@pozylon pozylon left a comment

Choose a reason for hiding this comment

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

Add this to your solution please:

  1. Allow to set the tags via adminUiConfig property in startPlatform. Env variables should not be the only option to configure this.
  2. If you frame it "product tags" also make sure to name it more explicit in the ShopInfo: productTags.
  3. Also support configuring the assortment tags as tagging assortments is similar important to products because we allow filtering by it in Query.assortments like in Query.products

Ah, and while you're doing this, I spotted "externalLinks" which is built only from env. Can you please do the same and allow it beeing set also via adminUiConfig and not only via env? Similarily singleSignOnURL and customProperties should both also be configurable through env. My goal is actually that all the adminUiConfig options can be set either by code or by env. Env should take precedence.

@Mikearaya Mikearaya force-pushed the autocomplete-product-tags branch from 3656afa to 9efbaef Compare September 22, 2025 07:35
@Mikearaya Mikearaya requested a review from pozylon September 22, 2025 12:38
Copy link
Copy Markdown
Member

@pozylon pozylon left a comment

Choose a reason for hiding this comment

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

Almost there, only some fine grained suggestions left

Comment thread packages/core-assortments/src/module/configureAssortmentsModule.ts Outdated
Comment thread packages/core-products/src/module/configureProductsModule.ts Outdated
Comment thread examples/kitchensink/.env.defaults
const products = await configureProductsModule({
db,
migrationRepository,
options: options.products,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

currently nothing is passed but i noticed that it was the only that module options not passed down to it. (consistency)

@Mikearaya Mikearaya requested a review from pozylon September 22, 2025 14:55
@pozylon pozylon merged commit 273d2d2 into master Sep 22, 2025
5 checks passed
@pozylon pozylon deleted the autocomplete-product-tags branch September 22, 2025 15:12
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.

[FEATURE REQUEST] Tag Autocompletion

2 participants