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

Hybrid tag: text with number #491

Closed
vasnt opened this issue Mar 23, 2024 · 8 comments
Closed

Hybrid tag: text with number #491

vasnt opened this issue Mar 23, 2024 · 8 comments

Comments

@vasnt
Copy link

vasnt commented Mar 23, 2024

Usually tags/labels are text based. I am usually looking for hybrid tag i.e. text with number. & both should be updated independently.
i.e. instead of
image
i want as below
image

numbers identify its importance/weightage for that particular row item.

it should be possible to increase/decrease/edit/filter/sorting Number & text -independently easily (by user).
Only in UI/output they should be displayed together as per above snap.

@tea-artist
Copy link
Contributor

You can create a new table to store the tags and convert the first column into a formula. This way, you can freely combine tag rules. When you need to use tags, create a new link field to link with the tag table, allowing for selection.

@vasnt
Copy link
Author

vasnt commented Mar 25, 2024

numbers shown (2,12,5,20 in above snap) are not formulae generated, instead it is user inputted. & then increased/decreased manually as required. So i guess tag rules may not be useful in this case. This is kind of (hybrid/combinational) UI component. e.g. Just like what twitter has
image

@tea-artist
Copy link
Contributor

Here is an example, I think it should meet your needs
image
The Tags field is a LinkField linked with the Tags table
image

The primary field of Tags table is a formula that combines weights and tags
image
image
Now you can easily change the weight in the Tags table and the Main table will update automatically.

@vasnt
Copy link
Author

vasnt commented Mar 27, 2024

Thanks for detailed info.
This kind of table(shown below) is not suitable due to following reasons

  • I want to edit weight in main table, itself, inplace
  • Each Tag may have multiple weight

image

@vasnt
Copy link
Author

vasnt commented Mar 27, 2024

reiterating

image

@tea-artist
Copy link
Contributor

tea-artist commented Mar 27, 2024

I see, but it is not how relational database works.

“Each Tag may have multiple weight”
There will be a unique value check function in the future

@vasnt
Copy link
Author

vasnt commented Mar 28, 2024

I am not good at database fundamentals.
have you came across any other database in which this kind of feature/component is available (as an alternative to teable) ?

@vasnt
Copy link
Author

vasnt commented Jul 20, 2024

sample tag/label image just for info:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants