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

Make pasting into tables faster #2870

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

PiispaH
Copy link
Collaborator

@PiispaH PiispaH commented Jul 3, 2024

The row autocompletion is now disabled when data is pasted into a table. Pasting large amounts of data took a long time if the db had a lot of items in it already, because fetching the candidate entity classes from the db_map got slow. Now instead it is assumed that the user knows what they are doing and therefore when pasting data, the entity classes are correctly defined.

Re #2867

Checklist before merging

  • Unit tests have been added/updated accordingly
  • Code has been formatted by black
  • Unit tests pass

The row autocompletion is now disabled when data is pasted into
a table. Pasting large amounts of data took a long time if the
db had a lot of items in it already, because fetching the
candidate entity classes from the db_map got slow. Now instead
it is assumed that the user knows what they are doing and
therefore when pasting data, the entity classes are correctly
defined.

Re #2867
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.86%. Comparing base (9e0711f) to head (07e8866).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2870   +/-   ##
=======================================
  Coverage   66.85%   66.86%           
=======================================
  Files         187      187           
  Lines       36369    36384   +15     
  Branches     6229     6231    +2     
=======================================
+ Hits        24316    24329   +13     
- Misses      10754    10756    +2     
  Partials     1299     1299           

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

@PiispaH PiispaH merged commit c59fca2 into master Jul 3, 2024
22 checks passed
@PiispaH PiispaH deleted the issue_2867_make_table_pasting_faster branch July 3, 2024 08:47
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.

1 participant