feat: add AI-generated description field to File Manager files#5123
Merged
adrians5j merged 28 commits intofeat/wb-ai-page-generationfrom Apr 21, 2026
Merged
Conversation
… feat/wb-ai-page-generation-aip-fflags
… feat/wb-ai-page-generation-aip-fflags
… feat/wb-ai-page-generation-fm-file-descr # Conflicts: # extensions/MyApiRoute.ts # packages/api-file-manager/src/index.ts # packages/api-file-manager/src/tasks/AiImageTaggingTask.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
A
descriptionfield has been added to File Manager files. When an image is uploaded, AI automatically generates and populates the description. Users can also view and edit it manually in the file details panel.Why
Tags were already being auto-generated by AI in a previous PR. Description adds richer context to each file — a short human-readable sentence that's more useful for search and discoverability than tags alone.
How
description(text, default"") to theFmFileCMS modelFile/FileInputtypes,CreateFileInput,UpdateFileInput, all three mappers (EntryToFileMapper,FileInputToEntryInputMapper,FileToEntryMapper), and both use casesAiImageTaggingTaskto request bothtagsanddescriptionfrom the AI provider in a single call and save both to the fileDescriptiontextarea component to the file details panel inapp-file-managerChangelog
AI-Generated Description for File Manager Files
Files uploaded to the File Manager now have a description field. For images, the description is automatically generated by AI on upload. It can also be set and edited manually in the file details panel.
Squash Merge Commit