deathandmayhem / jolly-roger

Dead men tell no tales!
MIT License
18 stars 5 forks source link

Multi-doc support #678

Open ebroder opened 2 years ago

ebroder commented 2 years ago

Having a spreadsheet for puzzles is a good default, but there are often puzzles that would benefit from alternative collaboration tools - the most common example is probably a shared whiteboard like Jamboard or Miro (or etc.).

The data model already contemplates having multiple documents for a given puzzle (e.g. there's no unique index), but to date we've only ever created one document. Adding support for additional user-createable documents would be a neat addition, especially when combined with support for new document types.

Likely the biggest challenge here is the UI - specifically, how do you switch between documents? The most obvious solution would be a set of tabs across the bottom of the page, but that would likely be confusing with Google Sheets sheet tabs. Other suggestions from @aldeka were putting it in the puzzle metadata section or otherwise on the upper section of the screen.

grantaelliott commented 1 year ago

+1 Integrating a whiteboard would fantastic.

I think navigation between documents should be kept to where users expect to see our UI (probably, the metadata pane). Pill navigation (or even a dropdown) strikes me as less confusing than tabs, if only because whitespace separates our UI from the document's.

More questions for the design doc: It sounds like the intention is not for newly created puzzles to automatically have a document of all supported types. Should creation of additional documents be restricted to operators? Should it be possible to create multiples of the same document type on a single puzzle?

ebroder commented 1 year ago

Someone additionally suggested that having something in the Jupyter lab / Google Colab space could be useful.