Skip to content

feat(object-list): refresh only the objects a filtered list can show - #170

Merged
dustenhubbard merged 4 commits into
mainfrom
feat/141-filtered-refresh
Oct 15, 2026
Merged

dustenhubbard merged 4 commits into
mainfrom
feat/141-filtered-refresh

Conversation

@dustenhubbard

Copy link
Copy Markdown
Member

Refresh in the object list reloads every object in the series, so checking one edited object on a large series means a long wait. With a filter set, Refresh now reloads only the objects the filter shows, which took about 1 second instead of 5 on a 300-section test series. Change object alignment... now remeasures only the objects it changed. With no filter set, Refresh works as before.

Closes #141.

Refresh in the object list reloaded the whole series whatever the list
showed. With a filter set it now reloads only the objects passing it:
every section file is still read, so an object is found wherever its
traces are now, but only those objects' traces are measured, which is
most of a full refresh. Without a filter, Refresh reloads the series as
before. The tag and configuration filters read the data being reloaded,
so they are not used to choose what to reload.
Setting an object's alignment reloaded the whole series to remeasure
that object's traces. It now reloads the edited objects alone, and the
lists update their rows as they do after any other object edit.
Volume and flat area are computed from the section thickness held in the
series data. A filtered refresh left that value as it was, so a reloaded
object could get different numbers from a full refresh. It now reloads
each section's thickness and updates the section list rows that changed.
Changing an object's alignment goes through the same path.
Object volumes, the section list and ztrace distances are all computed
from section thickness. When a filtered refresh finds a thickness has
changed, it now recreates every open list rather than only the section
rows, so ztrace distances are current too. Otherwise it recreates the
object and trace lists as before.
@dustenhubbard
dustenhubbard merged commit bfa2488 into main Oct 15, 2026
6 checks passed
@dustenhubbard
dustenhubbard deleted the feat/141-filtered-refresh branch October 15, 2026 01:03
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.

Object List -- Refresh - only refresh based on the Regex Filter showing in the window

1 participant