Skip to content

fix: render View button in alignment action cells#74

Merged
BeckettFrey merged 3 commits into
releasefrom
copilot/fix-view-button-missing
Apr 8, 2026
Merged

fix: render View button in alignment action cells#74
BeckettFrey merged 3 commits into
releasefrom
copilot/fix-view-button-missing

Conversation

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

view_btn in _create_alignment_action_buttons was fully constructed and connected but never added to the layout, silently dropping the button from every alignment row.

Change

# datasets_page.py
view_btn = QPushButton("View")
view_btn.setStyleSheet(button_style)
view_btn.clicked.connect(lambda: self._view_alignment(alignment))
layout.addWidget(view_btn)  # was missing

Release Branch PR

Target Release:

Changes

  • Add missing layout.addWidget(view_btn) in _create_alignment_action_buttons so the View button renders alongside Delete in each alignment row

Testing

  • Test testable logic
  • Edge cases addressed

Testing Notes: No existing test infrastructure for DatasetsPage widget; fix is a single missing addWidget call with no logic change.

Documentation

  • README updated (if applicable)
  • Code comments added/updated
  • User-facing documentation updated (if applicable)

Documentation Notes: No documentation changes required.

Checklist

  • Code follows project conventions
  • No breaking changes (or documented if intentional)
  • All CI checks pass

Copilot AI changed the title [WIP] Fix missing View button in alignment action cells fix: render View button in alignment action cells Apr 8, 2026
Copilot AI requested a review from BeckettFrey April 8, 2026 19:58
@BeckettFrey BeckettFrey marked this pull request as ready for review April 8, 2026 21:38
@BeckettFrey BeckettFrey merged commit 81ebb31 into release Apr 8, 2026
0 of 3 checks passed
@BeckettFrey

Copy link
Copy Markdown
Member

LGTM CI is currently out of commision and will be addressed as its own PR.

@BeckettFrey BeckettFrey deleted the copilot/fix-view-button-missing branch April 8, 2026 21:39
BeckettFrey added a commit that referenced this pull request Apr 9, 2026
)

* fix: render View button in alignment action cells (#74)

* Initial plan

* fix: add layout.addWidget(view_btn) in _create_alignment_action_buttons

Agent-Logs-Url: https://github.com/BrainBehaviorAnalyticsLab/voxkit-desktop/sessions/fd065a62-0e2c-4934-aae9-9420824c8957

Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

* fix: correct alignment dict key references in _view_alignment

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

* fix: update_dataset_metadata handles partial update dicts without KeyError (#76)

* Initial plan

* fix: update_dataset_metadata handles partial update dicts without KeyError

Agent-Logs-Url: https://github.com/BrainBehaviorAnalyticsLab/voxkit-desktop/sessions/26ca3ecd-bd76-4725-a6cc-05070880986d

Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

* Fix empty-state never shown on Datasets page (#77)

* Initial plan

* Fix empty-state bug in refresh_datasets: check metadata_list not the datasets module

Agent-Logs-Url: https://github.com/BrainBehaviorAnalyticsLab/voxkit-desktop/sessions/9a9edc69-7179-41de-9459-9a6f265a0cf3

Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

* fix: reload_models iterates all engines instead of hardcoding W2TGENGINE (#75)

* Initial plan

* fix: reload_models iterates all engines instead of hardcoding W2TGENGINE

Agent-Logs-Url: https://github.com/BrainBehaviorAnalyticsLab/voxkit-desktop/sessions/003f14fe-b32d-4938-9a69-f6efc8a5087d

Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BeckettFrey <83560790+BeckettFrey@users.noreply.github.com>

* Batch ci fixes (#83)

* lint: auto fixes applied

* format: auto fixes applied

* ci: all passing

* typecheck: passing and issues resolved (no checking untyped defs for now)

* ci: small fix for tests passing

* fix: attach ci actions to makefile commands

* ci: cut up testing into os dedicated workflows for visibility

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
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.

View button missing from alignment action cells (never added to layout)

2 participants