Skip to content

View: Render Subjects using Display Rules #660

@alistair3149

Description

@alistair3149

Result of planning session with @alistair3149.
Context: the NeoWiki codebase and ADR 018 (Views).
Written by Claude Code, Opus 4.6

Summary

Wire Views into Subject display. When a View is specified, use its Display Rules to:

  • Filter properties to only those listed (allowlist behavior)
  • Order properties according to the Display Rules order
  • Apply display attribute overrides from Display Rules, falling back to Property Definition defaults

When no View is specified, fall back to showing all properties in Schema-defined order (current AutomaticInfobox
behavior). This fallback also applies when a referenced View no longer exists.

When a View has no Display Rules (empty or absent list), all properties are shown in Schema-defined order
(ADR 018).

Dependencies

Scope

  • Implement rendering logic that takes a View + Subject and produces display output
  • Integrate with the View Type plugin to delegate type-specific rendering
  • Apply Display Rule overrides on top of Property Definition displayAttributes
  • Ensure the AutomaticInfobox becomes the fallback rendering path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions