backend: make max note length configurable #210
No reviewers
Labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Blocks
#208 Make note character limit configurable}
FoundKeyGang/FoundKey
Reference: FoundKeyGang/FoundKey#210
Loading…
Reference in a new issue
No description provided.
Delete branch "configurable-max-note-text-length"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changelog: Added
Closes: #208
LGTM but I haven't tested
tired out for today
small nitpick
@ -310,7 +309,7 @@ export default define(meta, paramDef, async (ps, me) => {
iconUrl: instance.iconUrl,
backgroundImageUrl: instance.backgroundImageUrl,
logoImageUrl: instance.logoImageUrl,
maxNoteTextLength: MAX_NOTE_TEXT_LENGTH, // 後方互換性のため
Since this is now "officially" variable again I'd remove the comment here.
@ -312,3 +311,3 @@
backgroundImageUrl: instance.backgroundImageUrl,
logoImageUrl: instance.logoImageUrl,
maxNoteTextLength: MAX_NOTE_TEXT_LENGTH, // 後方互換性のため
maxNoteTextLength: config.maxNoteTextLength, // For backward compatibility
as above