Skip to content

Diff becomes outdated if original template is changed/updated #10

Description

@julianlam

This may be functioning as intended, but I wanted to raise it nonetheless.

When a customized template is added, two values are saved into the database, old and diff, referring to the original template, and the changes made.

If the underlying template gets changed, old and diff no longer reflect the proper changeset, and could cause issues if the original template contains breaking changes. This is because diff is applied onto old, and then saved to the templates folder, so it will never inherit the updated template.

e.g.

  • Persona templates/partials/chats-menu.tpl contained changes, it now contains tabs and shows profile options, notifications, as well as chats.
  • If that partial was changed in any way, chats-menu.tpl will always contain the old modified template, and will not inherit any new changes to that partial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions