Skip to content

Move default comments to external sources #6

@alerque

Description

@alerque

After reading the chatter the other day about comment data and import/export, I've been thinking our arrangement could be something like this:

  • The userscript/extension source code would have no default comment data whatsoever.
  • A repository (could be a secondary repo, the main one or a branch) would have the default comment data in json or text format.
    • A data file per site URL would make it easy for misc contributors from other sites to get good site specific data into as many hands as possible.
    • A fallback URL would have generic data to be loaded in any site that does not have a custom data set contributed.
  • The first time the popup runs on a new site it would detect that the localStorage has no default comment data for that site.
    • A popup would prompt the user to import data with an "import from URL" option pre-filled out with the relevant URL (but editable) and a "or paste data here" field to allow for users mucking around in their data manually or copying from a meta site post.
  • For sites that already have data in localStorage, a an "edit data" link would take the user back to the import form where they can either refresh from the URL or edit/paste in a new data set.

How does that arrangement scan?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions