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

Create parameter to remove/modify shrinkWord method's DEFAULT_MAX_SIZE_WORD=30 #49

Open
hb-webdev opened this issue Jan 1, 2025 · 0 comments

Comments

@hb-webdev
Copy link

hb-webdev commented Jan 1, 2025

Is your feature request related to a problem? Please describe.
Yes, I can't modify the wordShrink function to extend more than 30 characters. Therefore, the filetype field is sometimes gets shortened when it should not. I want it to be a standard text field--no programmatic shrinking....

Describe the solution you'd like
Allow a parameter to remove (or adjust) the DEFAULT_MAX_SIZE_WORD in /@files-ui/core/build/utils/shrinkWord.d.ts:
https://www.npmjs.com/package/@files-ui/core?activeTab=code

Describe alternatives you've considered
Overwrite the filetype text with CSS, dynamic javascript text replacement

Additional context
image

image

image

@hb-webdev hb-webdev changed the title Create parameter to modify DEFAULT_MAX_SIZE_WORD from 30 to something else. Please Create parameter to modify DEFAULT_MAX_SIZE_WORD in shrinkWord from 30 to something else. Jan 1, 2025
@hb-webdev hb-webdev changed the title Create parameter to modify DEFAULT_MAX_SIZE_WORD in shrinkWord from 30 to something else. Create parameter to modify shrinkWord method's DEFAULT_MAX_SIZE_WORD=30 to something else. Jan 1, 2025
@hb-webdev hb-webdev changed the title Create parameter to modify shrinkWord method's DEFAULT_MAX_SIZE_WORD=30 to something else. Create parameter to remove/modify shrinkWord method's DEFAULT_MAX_SIZE_WORD=30 Jan 1, 2025
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

No branches or pull requests

1 participant