-
-
Notifications
You must be signed in to change notification settings - Fork 459
[Feature Request]: Unified Text Field Editor #1357
Copy link
Copy link
Open
Labels
Priority: LowDoesn't require immediate attentionDoesn't require immediate attentionType: EnhancementNew feature or requestNew feature or requestType: QoLA quality of life (QoL) enhancement or suggestionA quality of life (QoL) enhancement or suggestionType: RefactorCode that needs to be restructured or cleaned upCode that needs to be restructured or cleaned upType: UI/UXUser interface and/or user experienceUser interface and/or user experience
Milestone
Metadata
Metadata
Assignees
Labels
Priority: LowDoesn't require immediate attentionDoesn't require immediate attentionType: EnhancementNew feature or requestNew feature or requestType: QoLA quality of life (QoL) enhancement or suggestionA quality of life (QoL) enhancement or suggestionType: RefactorCode that needs to be restructured or cleaned upCode that needs to be restructured or cleaned upType: UI/UXUser interface and/or user experienceUser interface and/or user experience
Type
Projects
Status
🛠 Ready for Development
Checklist
Description
As of #1354,
TEXT_LINEandTEXT_BOXfields are now a singleTextFieldtype differentiated by anis_multilineboolean 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 futureTextFieldattributes.Solution
Unified Text Field Mockup
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.