enthought / enthought/traits-enaml

TraitsView doesn't refresh when its view changes

Open
#41 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
15
Forks
11
PR merge metrics
No merged PRs in 30d

Description

`TraitsView` should `@observe()` its 'view' and 'model' attributes (atoms?). That way you can switch the view or model at runtime and have things work as expected. You can probably do this now with an enaml `Include` declaration, but I think that's asking too much.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TraitsView implementation and checking how its view and model attributes are declared and observed. Verify the existing behavior, then confirm that changing either attribute at runtime refreshes the displayed view or model as expected; the issue does not name a test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.