Skip to content

For compatibility with native views, properties should be converted as the native views do #368

@tawmas

Description

@tawmas

Bug report checklist

  • I have searched existing issues and this is not a duplicate
  • I have updated to the latest version of Dynamic Views
  • I have updated to the latest version of Obsidian
  • I can reproduce the issue in the sandbox vault, or after disabling all other third-party plugins and CSS snippets, switching to default theme, then restarting Obsidian

What views does the issue affect? (If applicable)

  • Bases view
  • Datacore view

Steps to reproduce

Have a view using a variety of fields and formulas using different types.

Expected result

Each field type is handled in the same way as the native views. In particular:

  1. TFile renders to a link to the file using the title as the link text
  2. List elements are rendered separately and separated by a single space
  3. null values are not rendered; null values inside lists are ignored.

Actual result

  1. TFile renders as the full path of the file
  2. List elements are comma separated
  3. null values render as the string "null".

Debug information

SYSTEM INFO:
	Obsidian version: 1.12.4
	Installer version: 1.12.4
	Operating system: Windows 11 Home 10.0.26200
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: Minimal 8.1.6
	Snippets enabled: 2
	Restricted mode: off
	Plugins installed: 8
	Plugins enabled: 8
		1: Style Settings v1.0.9
		2: Dataview v0.5.70
		3: Plugin Update Tracker v1.7.0
		4: Minimal Theme Settings v8.2.1
		5: Interlinear Glossing v2.1.1
		6: Omnisearch v1.28.2
		7: Calendar v1.5.10
		8: Dynamic Views v0.12.0

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Additional information

There are perhaps more, but these are the ones that are immediately apparent from my own base.

Since I also have table views in the same base, it is important to be able to reuse the same formulas across native and non-native views.

Console logs

No response

Plugin settings

No response

Style Settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature requestRequest for new feature or improvement🏠 BasesAffects Obsidian Bases views🟢 Low priorityWould be nice but not important

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions