Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

view-workspace's SelectedView input does not update the view selector

Open Beginner friendly
#5,836 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start with the SelectedView setter on the <mj-view-workspace> component and trace how it passes state to the grid and view selector. Set SelectedViewId from the incoming view's ID, falling back to null, and verify that hosting the element highlights the same view shown by the grid.

Written by the indexing model from the issue text.

Description

bug
Summary

When a host passes a view through mj-view-workspace's [SelectedView] input, the grid shows that view but the view selector does not highlight it, because the setter never updates selectedViewId. A fix sets the selected ID from the view in the setter.

What happened

Follow-up from bizapps-orders PR #243 (known MJ limitation), never filed. https://github.com/MemberJunction/bizapps-orders/pull/243

The orders grids open on the shared "Orders: Working" view through [SelectedView]; the selector shows no selection.

Expected: the selector highlights the view the workspace is showing.
Actual: nothing is highlighted.

Steps to reproduce
  1. Host <mj-view-workspace [SelectedView]="someView">.
  2. The grid shows the view; the selector has no selected item.
Confidence

Inferred from code, not observed

Environment

MJ 6.1.5 · bizapps-orders @ next 8e104ce9
MJ next f6faded5 (same code)

Severity proposed

minor

Target line

next

Duplicate search

Searched "SelectedView", "view-workspace SelectedView", "view selector highlight" (MemberJunction/MJ) — none found.

Blocking?

Not blocked.

Proposed fix (optional) — tested? no

Proposed: in the setter, this.SelectedViewId = value?.ID ?? null;.
Tested: no

Dominant language
TSQL
Stars
32
Forks
7
Avg merge
1d 12h
Merged PRs (30d)
682

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MemberJunction/MJ

All issues in MemberJunction/MJ

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.