3
1
Fork
You've already forked meadow
0

Object browser should show overriden props like it does overridden verbs #11

Closed
opened 2026年06月09日 18:26:49 +02:00 by robertpateii · 0 comments

I noticed an issue in the object browser. Props that are overridden show the original value from the highest ancestor, not their closest overridden value. Verbs already handle this by showing the overridden verb and the inherited verb. Props should behave the same way.

You can see this in the attached image. In the message stream is the actual overridden value of $player.description: "You see a player who..."

But in the object browser, you see only #1:description: "Root prototype object..."

image

It should show both the inherited and the overridden version like verbs do, as seen here where I overrode $test_player:name:
image

Question: should we also add overridden properties from parent and/or all ancestors? Currently it only shows the original property and ignores any overridden versions in parent/ancestors. Example:, $player's parent is $event_receiver which has its own overridden description: "Generic event receiver prototype providing...". So should that be displayed in the object browser for $player somehow?

Originally posted by @robertpateii in timbran/cowbell#7 (comment)

I noticed an issue in the object browser. Props that are overridden show the original value from the highest ancestor, not their closest overridden value. Verbs already handle this by showing the overridden verb and the inherited verb. Props should behave the same way. You can see this in the attached image. In the message stream is the actual overridden value of $player.description: "You see a player who..." But in the object browser, you see only #1:description: "Root prototype object..." ![image](/attachments/1a45eacc-7d1f-49d3-8b98-d9650defb864) It **should show both the inherited and the overridden version** like verbs do, as seen here where I overrode $test_player:name: ![image](/attachments/f87a33ad-8a1f-4bef-bfed-123dd3b445d2) Question: **should we also add overridden properties from parent and/or all ancestors?** Currently it only shows the original property and ignores any overridden versions in parent/ancestors. Example:, $player's parent is $event_receiver which has its own overridden description: "Generic event receiver prototype providing...". So should that be displayed in the object browser for $player somehow? _Originally posted by @robertpateii in https://codeberg.org/timbran/cowbell/issues/7#issue-5571608_
Sign in to join this conversation.
No Branch/Tag specified
main
v1.0-release
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
timbran/meadow#11
Reference in a new issue
timbran/meadow
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?