Skip to content

Cannot save changes to imported creations #574

@nhogle

Description

@nhogle

Meta info

  • Is this a bug or suggestion?: bug
  • Version (click on help icon in footer): 6.4.0
  • Context - Web app, Chrome extension or both?: Web app

While I am logged out, if I import a creation that I had previously exported while logged in, then I cannot save changes to that creation (Save button is not visible).

Use case: I wanted to keep working and save changes to creations while logged out (e.g. I want to work offline because my Internet connection is spotty). So I exported my creations to JSON, then logged out. Now I can work offline and save creations to local storage instead of the cloud. The problem is, if I want to work on my previously-exported creation, then I can import that creation, but I cannot save changes to it. This is due to the isNotMine boolean which is declared here.

It seems the purpose of the isNotMine flag is to prevent users from trying to save or share other users' public creations? I can think of a couple ways to fix this issue:

  1. Reassign (if logged in) the item's createdBy property when importing it, (or delete the property if not logged in?)
  2. Re-think the isNotMine and public sharing logic. If you open a public creation from a URL, shouldn't you be able to fork that creation and work on it within your own workspace? Actually now that I'm looking at this deeper, it appears the app completely breaks when opening a publicly-shared creation (e.g. in a different browser, or in incognito mode). Perhaps I should file that as a separate issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions