James01010101 / Comic_Tracker

IOS Swift app for tracking my comics
0 stars 0 forks source link

Give the user a short text box if the brand or series is too long #29

Closed James01010101 closed 1 month ago

James01010101 commented 2 months ago

Mainly for the brand i think but also for series

if when im inputting it in it is over some amount of character i choose, lets say 30 for now for example. THen another text box will appear and i need to put in a shorthand for it. this way ill only display the shorthand if it is too long.

I can also opt into storing a shorthand of the brand if i want. The brans would mainly be an acronym But for series that have very long names i might need to shorten it to something that i choose even it it isnt what most people would use, to enable it. to actually be shown.

Note: all checking on the backend should still be done with the full name, only displaying to the screen will be done in shorthand. so still compare names with the full one since the full one will be unique but the short might not.

For instance Brand: Jujutsu Kaisen Short: JJK

Brand: The Walking Dead Short: TWD

Brand: Five Nights At Freedy's Short: FNAF

James01010101 commented 2 months ago

Allow the user to have a toggle to prioties shorthand name if i want even if it doeesnt need to. like Jujutsu Kaisen might not go over the character limit but i might want it to show JJK anyway

James01010101 commented 2 months ago

Have an empty box there i can give a shorthand name to. If i write somehting in it give me a toggle box saying prioetise shorthand or not. In check if the name is longer than x characters force me to have something in the shorthand box

James01010101 commented 2 months ago

Allow me a shorthand for all strings. Just do it then i dont need to worry about it later. I dont have to use it but its there

James01010101 commented 2 months ago

Need to do checks for length, If its over the max length then itll turn on the toggle and lock it on. and require a shorthand which is under the length.

so next time i check itll make sure that there is shorthand and that its length is under the max and the toggle is on.

Need to lock and unlock the toggle as i type the main text so if i go back under itll unlock again

James01010101 commented 2 months ago

Remove the prioritize shorthand toggle if i give a shorthand then it will be prioritezed anyway and if the main text is too long then i need to give a shorthand. no reason to give a shorthand and then not use it.

Maybe take away the question mark if it is required (do it dynamically)

James01010101 commented 1 month ago

Im going to leave the shorthand toggle in just to give myself more control. Eg JJK i might want to show up as Jujutsu Kaisen but ill store short too. i dont have a use case currently for non priotizes shorthand but i can work on that later