How do I customize an entity's canonical page? I have an entity called SyncJob and it contains the following fields:

id
progress: integer
total: integer

I need to customize its view page (canonical, not the collections one) to show the following fields of one SyncJob entity:

id
status ('success' if progress == total, '' if progress &lt; total)
percentage: progress / total * 100% as percentage

I have tried adding field plugins and altering views data but these seem only work on the collections view.
Is it possible to achieve these without writing HTML? If so, what kind of files do I need to create or modify?
There are modules you can find that help you do that. Search for &quot;computed field&quot; and similar.
You can then adjust your node form (Manage form display) not to show the computed fields, and on the Manage display page (default view mode is what you call canonical, you can create more of them though) adjust the fields so only the computed ones are shown.
One example: Computed Field