Skip to content

Add meta tag to homepage to indicate whether it can be overwritten #936

Closed

Description

@RubenVerborgh

When a user creates a new account, we generate their homepage from default-templates/new-account/index.html.

A problem is that, when default-templates/new-account/index.html gets updated, users keep their old homepage.

However, some users might want that, and it shouldn't be up to the server to decide what they want. Some might prefer the new page.

I propose to add something like the following to the homepage template:

<!-- Delete the next line if you do not want your homepage to be automatically updated whenever a new version becomes available. -->
<meta name="solid-allow-automatic-updates" content="true">

That way, we can update people to the latest version, unless they opt out.

Activity

  1. megoth commented on Nov 14, 2018

    @megoth
    Contributor

    I like this solution better than #853; if we choose this approach, we can close that one.

  2. rubensworks commented on Nov 14, 2018

    @rubensworks
    Contributor

    Another alternative might be to use some kind of templating system, where for example the new-account/index.html would just contain a reference to an internal Solid file, perhaps with some parameters.
    This would allow users to make (partial) changes to their views, and still remain up-to-date with the built-in Solid views if they want to.

    This would require some more work than the <meta> approach though.

  3. megoth commented on Nov 14, 2018

    @megoth
    Contributor

    This issue also relates to #688 (also mentioned in #853, but thought it prudent to mention here directly as well).

  4. Ryuno-Ki commented on Nov 15, 2018

    @Ryuno-Ki

    Hm, what happens if the user allowed an update - and then the next comes in?
    That is, would users have to edit the file if they want to opt-in/-out?

    Alternatively you could set the content to a version (like 5.0?) to estimate how much would break…

  5. RubenVerborgh commented on Nov 15, 2018

    @RubenVerborgh
    ContributorAuthor
  6. megoth commented on Nov 28, 2018

    @megoth
    Contributor

    As there is a PR merged for this (#953), I hope it's ok for me to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions