Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] The Ability to Re-order Metadata Fields #102

Open
TrulyFlawed opened this issue Apr 30, 2024 · 2 comments
Open

[SUGGESTION] The Ability to Re-order Metadata Fields #102

TrulyFlawed opened this issue Apr 30, 2024 · 2 comments
Labels
enhancement New feature or request library system Relating to the TagStudio library system UI/UX User interface and/or user experience

Comments

@TrulyFlawed
Copy link

Overview

This isn't very high priority but it would be nice if we could move metadata fields around to change the order they appear in. To my extent of knowledge this is not possible so it would be nice to have it so we could have more consistent field order. If this feature already exists please notify me, I would greatly appreciate knowing how to do this. I digress, let's talk about how we could implement it—as general concepts at least, I don't know anything about python in general.

Possible Implementation

This could maybe be done through an icon that would let you drag the field around, or through buttons that change what position the field is in. If it wouldn't be too much to ask, it would also be nice if we could set a default field order so whenever we added a field it would always adhere to the default we've set unless overridden by the user.


I apologize in advance if this is a bad idea or poorly written issue—I can add further context or explanation as to what I mean if you want—otherwise, I hope you're having a great day/night CyanVoxel, keep up the good work :3

@CyanVoxel CyanVoxel added the enhancement New feature or request label Apr 30, 2024
@Loran425
Copy link
Collaborator

Currently the fields appear to just be displayed in the order they are saved in the ts_library.json file. which means they should stay in the order they are added.

As a sorting option this would mean there are two options.

  1. I don't think its user configurable so it would be opinionated but consistent there is a sort fields option under macros that sorts the fields though I haven't dug into how exactly it determines the order.

Caution

This could result in corruption of your library
2. While its still a JSON database you could manually edit the order of the fields to change the display order

Good to hear this is a desired feature, I think there are plans to examine this behavior during the DB switch

@TrulyFlawed
Copy link
Author

Having now checked out macros, I can say that it does work as intended with sorting the fields. I do really appreciate you informing me about these, but for now it would appear that the order of these macros is hard-coded, and thus unable to be changed by me. Hopefully this changes soon but for now it will do.

Given the warning and my lack of knowledge or experience in working with JSON files, I think it'd be best course for me to avoid modifying that since the odds of me completely screwing something over are certain.

I was going to bring up the database reworks I'd been hearing about while snooping around on the Discord and the GitHub repository but it didn't seem like necessary context given that this would probably be more annoying to implement while using JSON. I would like to add that I am more than willing to wait for database and backend reworks before anything on this is done since this falls more under UI/UX changes than anything.


For now macros are a good alternative to not being able to sort fields at all. I appreciate the info :3

@CyanVoxel CyanVoxel added UI/UX User interface and/or user experience library system Relating to the TagStudio library system labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request library system Relating to the TagStudio library system UI/UX User interface and/or user experience
Projects
None yet
Development

No branches or pull requests

3 participants