Skip to content

Conversation

Treeed
Copy link
Contributor

@Treeed Treeed commented Feb 2, 2025

When editing a part there is no way to highlight an attachment path in order to copy it. There is also no way to edit it without completely removing it, even if it has just been entered.
Another nuisance is that when entering a path that has been in that field before, that text is lost when clicking outside the field.

I wrote two small Tom Select plugins to fix that.

click_to_edit would probably also be nice to have in any other Tom Select fields that allow creating options and autoselect_typed would probably be nice to have in any other Tom Select fields in general.

Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.83%. Comparing base (d093721) to head (4820763).
Report is 5 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #849      +/-   ##
============================================
- Coverage     60.85%   60.83%   -0.02%     
  Complexity     5931     5931              
============================================
  Files           523      523              
  Lines         20089    20089              
============================================
- Hits          12225    12222       -3     
- Misses         7864     7867       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jbtronics
Copy link
Member

Looks good. Thanks

@jbtronics jbtronics merged commit 2fc70b8 into Part-DB:master Feb 16, 2025
16 checks passed
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

Successfully merging this pull request may close these issues.

2 participants