Skip to content

Pin calc stats to sidebar#1983

Open
KenManDev wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
KenManDev:pin-calc-stats-to-sidebar
Open

Pin calc stats to sidebar#1983
KenManDev wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
KenManDev:pin-calc-stats-to-sidebar

Conversation

@KenManDev
Copy link
Copy Markdown

Fixes #1731

Description of the problem being solved:

The Calcs tab can be difficult to read at a glance when trying to monitor a small number of specific values. This adds a lightweight way to keep selected calculation values visible without requiring a custom layout system.

  • Added the ability to pin/unpin Calcs tab values to the left sidebar by right-clicking them.
  • Left-click behavior is unchanged and still pins/preserves the breakdown popup within calcs tab.
  • Added a "Clear Pinned Stats" button next to the Calcs tab search field.
  • Added helper text explaining that right-clicking a stat pins it to the sidebar.

Steps taken to verify a working solution:

  • Verified that right-clicking a Calcs tab value adds it to the pinned section in the sidebar.
  • Verified that right-clicking the same value again removes it from the pinned section.
  • Verified that the pinned sidebar values use the existing calc formatting and update correctly.
  • Verified that left-clicking still preserves the existing breakdown popup behavior.
  • Verified that the "Clear Pinned Stats" button removes all pinned values.

Before screenshot:

image

After screenshot:

image

KenManDev added 3 commits May 30, 2026 10:30
Allows user to right click any item in the calcs tab to pin that item to the sidebar display.
Added clear all pinned button and a tooltip. Also rewrote classname to "toggle" to better describe its function.
Final polish before publishing
@KenManDev KenManDev force-pushed the pin-calc-stats-to-sidebar branch from c69d64e to 351223c Compare May 30, 2026 15:31
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.

User defined UI element positions & parent -> child nesting in custom sub-categories for the calculations screen

1 participant