Lowered 'Channel Description' limit from 5000 to 3000 chars.
## Issue Closes 5571: Limit description length on channel edit ## Notes Similar to the previous value of '5000', this is a trial-and-error estimate.
This commit is contained in:
parent
52878efae1
commit
aa8b1f8602
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@ import classnames from 'classnames';
|
|||
import { FormField } from 'component/common/form';
|
||||
import Button from 'component/button';
|
||||
import TagsSearch from 'component/tagsSearch';
|
||||
import { FF_MAX_CHARS_IN_DESCRIPTION } from 'constants/form-field';
|
||||
import { FF_MAX_CHARS_IN_DESCRIPTION_CHANNEL } from 'constants/form-field';
|
||||
import ErrorText from 'component/common/error-text';
|
||||
import ChannelThumbnail from 'component/channelThumbnail';
|
||||
import { isNameValid, parseURI } from 'lbry-redux';
|
||||
|
@ -317,7 +317,7 @@ function ChannelForm(props: Props) {
|
|||
placeholder={__('Description of your content')}
|
||||
value={params.description}
|
||||
onChange={text => setParams({ ...params, description: text })}
|
||||
textAreaMaxLength={FF_MAX_CHARS_IN_DESCRIPTION}
|
||||
textAreaMaxLength={FF_MAX_CHARS_IN_DESCRIPTION_CHANNEL}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
export const FF_MAX_CHARS_DEFAULT = 2000;
|
||||
export const FF_MAX_CHARS_IN_COMMENT = 2000;
|
||||
export const FF_MAX_CHARS_IN_DESCRIPTION = 5000;
|
||||
export const FF_MAX_CHARS_IN_DESCRIPTION_CHANNEL = 3000;
|
||||
export const FF_MAX_CHARS_IN_POST = 10000;
|
||||
|
|
Loading…
Add table
Reference in a new issue