Skip to content

Conversation

@plohan
Copy link
Contributor

@plohan plohan commented Aug 27, 2025

Why did you create this PR

Default image label text does not provide information developer want to convey to user. Adding customizable hint text make this process easier.

What did you do

This pull request introduces a new hintText property for media upload fields, allowing for more customizable and informative hints in the user interface. The change propagates this property from the backend field definition through to the frontend components, ensuring that users see context-relevant hints (such as suggested image ratios) when uploading files.

  • Added an optional hintText property to the FieldColumnStringMediaOptions interface, enabling backend specification of custom hints for media fields.
  • Updated the user collection definition to include a suggested image ratio hint for the image field (users.ts).

Screenshots / Recordings

SCR-20250828-daex

The screenshot taken by enable user create page because only user has media field.

Checklist

  • Self-reviewed your code
  • Wrote coverage tests
  • Added screenshots or recordings if applicable

@changeset-bot
Copy link

changeset-bot bot commented Aug 27, 2025

🦋 Changeset detected

Latest commit: af6664c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@genseki/react Patch
@example/erp Patch
@example/ui-playground Patch
@genseki/next Patch
@genseki/plugins Patch
@genseki/prisma-generator Patch
@genseki/react-query Patch
@genseki/rest Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@plohan plohan force-pushed the push-vqxsonymuyuv branch from 15cd697 to af6664c Compare August 27, 2025 19:49
@saenyakorn saenyakorn merged commit 1b5d2ff into softnetics:main Aug 30, 2025
0 of 2 checks passed
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.

2 participants