Skip to content

[Feature Request]: Unified Text Field Editor #1357

@CyanVoxel

Description

@CyanVoxel

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

Description

As of #1354, TEXT_LINE and TEXT_BOX fields are now a single TextField type differentiated by an is_multiline boolean column in the database. As the difference is now superficial, I believe that this should be a toggleable option inside a unified text editor modal. As new options are added in the future (e.g. rich text options, hyperlink options, etc.) the single text editor interface can be added upon to handle all future TextField attributes.

Solution

Unified Text Field Mockup

Image Switching from "Single Line" mode to "Multiple Lines" mode Image

Alternatives

The mockups are one potential approach, which tries to also accommodate for the future ability to edit field titles as well as potential rich text editing options. Because there might be unconventional options in TagStudio such as treating an entire text field's contents as a hyperlink, or changing the the rendering mode from plain text to markdown to HTML, or enabling/disabling syntax highlighting, the UI will need to avoid becoming too cluttered as time goes on. Perhaps that's out of the scope of this feature request though, and a simple "Single Line/Multiple Lines" view toggle will suffice for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowDoesn't require immediate attentionType: EnhancementNew feature or requestType: QoLA quality of life (QoL) enhancement or suggestionType: RefactorCode that needs to be restructured or cleaned upType: UI/UXUser interface and/or user experience

    Projects

    Status

    🛠 Ready for Development

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions