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

Merge 0.8-dev to master #2731

Merged
merged 601 commits into from
Apr 29, 2024
Merged

Merge 0.8-dev to master #2731

merged 601 commits into from
Apr 29, 2024

Conversation

soininen
Copy link
Contributor

@soininen soininen commented Apr 29, 2024

Re #2692

Checklist before merging

  • Unit tests pass

soininen and others added 30 commits January 30, 2024 13:38
…ws (#2534)

- Don't limit psutil version because newer ones have wheels on PyPi for Python 3.10+
- Update Readme.md
  - Remove mentions about requiring Microsoft Visual Build Tools
  - Recommend Python 3.11 instead 3.9

Re #2524
This reverts commit 698ac6a, reversing
changes made to 55c8cb2.
Write item name on Design View on multiple lines

Re #2491
We incorrectly rendered the default multidimensional entity class icon
if no icon was set for a 0-dimensional entity class.

Re #2551
The restored item will be Asterisk when undoing purge. We need to
manually ask for all items if we want to process them somehow.

Re #2551
- Fix/update tests
- Update Changelog
- Update User Guide

Re #2560
- Added element
- Added multidimensional entity

Re #2513
Fixes a traceback from element pivot view when entity
class is deleted while it is selected.

Re #2306
Henrik Koski and others added 23 commits April 17, 2024 11:00
- Affected items are now listed in tables and the tables are tabbed
  by item type. The previous tree view could not really handle
  large number of items usability or performance wise.
- Affected items are now fetched in a worker thread to keep the
  window responsive.
- Parameter values are now shown like in the Parameter value table
  in DB editor proper instead of showing the JSON representation.
  This seems to give a huge performance boost: apparently Qt is not
  great when it needs to render large amounts of text in a tiny
  table cell.

Re #26062
It is possible that we fetch data that is no longer relevant e.g. when
user opens another database in DB editor while the previous one is not
yet fully loaded. We now drop data from databases that are not current
anymore in compound models to avoid the situation.

Re #2709
We can look for the item directly by its id in the mapped table.
According to the added benchmark, this is about 4x faster
than the previous detour via DatabaseMapping.get_item().

Re #2719
The parent entity class was not properly taken into account when selecting
n-dimensional entities deeper in the Entity tree. We now flag the
class as selected as well.

Re #2719
- Fix animations and item icons on Design View and headless mode
- Update CHANGELOG

Re Issue #2523
get_data_for_import() in spinedb_api handles conversion from
the legacy object/relationship data to entities, so we do not need
to "convert" the data via a temporary in-memory database.
The temporary database does not contain stuff from the original
database like entity classes which caused importing e.g. objects
to fail for no apparent reason.

Re #2725
Copy link

codecov bot commented Apr 29, 2024

Codecov Report

Attention: Patch coverage is 59.57447% with 133 lines in your changes are missing coverage. Please review.

Project coverage is 65.77%. Comparing base (f1f0d97) to head (94cc69b).
Report is 6 commits behind head on master.

❗ Current head 94cc69b differs from pull request most recent head e3393db. Consider uploading reports for the commit e3393db to get more accurate results

Files Patch % Lines
spinetoolbox/headless.py 0.00% 92 Missing ⚠️
spinetoolbox/helpers.py 61.81% 17 Missing and 4 partials ⚠️
spinetoolbox/fetch_parent.py 94.28% 4 Missing and 2 partials ⚠️
spinetoolbox/link.py 37.50% 5 Missing ⚠️
spinetoolbox/mvcmodels/minimal_tree_model.py 85.18% 2 Missing and 2 partials ⚠️
spinetoolbox/main.py 0.00% 3 Missing ⚠️
spinetoolbox/__main__.py 0.00% 1 Missing ⚠️
spinetoolbox/mvcmodels/array_model.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2731      +/-   ##
==========================================
+ Coverage   64.03%   65.77%   +1.74%     
==========================================
  Files         199      196       -3     
  Lines       35909    35879      -30     
  Branches     6133     6094      -39     
==========================================
+ Hits        22993    23599     +606     
+ Misses      11684    11017     -667     
- Partials     1232     1263      +31     

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

@soininen
Copy link
Contributor Author

Unit & execution tests pass. Yay!

@soininen soininen merged commit 6c85170 into master Apr 29, 2024
0 of 16 checks passed
@soininen soininen deleted the 2629_merge_0.8 branch April 29, 2024 13:42
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.

4 participants