Git Product home page Git Product logo

codestrates's Introduction

Webstrates

With Webstrates, webpages become collaboratively editable in real-time. Changes to the Document Object Model (DOM) of a page persist and are synchronised to all connected clients of the same page using Operational Transformation through ShareDB.

Webstrates can be used to develop interactive software where collaboration-support is the norm rather than the exception.

Go to the documentation to get started using webstrates, for user guide and developer guide.

Visit webstrates.net for background on the Webstrates project, academic papers and videos of Webstrates in action.

License

This work is licenced under the Apache License, Version 2.0.

codestrates's People

Contributors

maski89 avatar raedle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codestrates's Issues

preprocessors

Is there an ability to use preprocessors so that code can be written in coffeescript, css written in less/scss etc?

Monaco and Sortable.js

When moving a paragraph with a Monaco editor using the drag-drop handle, the monaco editor gets duplicated.

DOCUMENTATION

I know that you know this is an issue, but I am really struggling with finding heads and tails in Codestrates. Perhaps focus on the bare minimum, e.g. "runtime", section/paragraph scope/require, best practice for modules and perhaps the user management module.

I will gladly contribute if somebody would help explain stuff.

  • Henrik

Feature: (self) Identification of anonymous user

It would be nice if it was possible to provide identification in a more lightweight and ad-hoc manner than through authentication. This would make it easier to identify oneself without having to authenticate via one of the many authentication providers supported by webstrates.

The use case might be when somebody shares a codestrate and there is no need for full authentication or some of the users do not want to / have access to any of the authentication providers.

It may be as simple as changing the automatically assigned 'anonymous' user with e.g. 'Henrik'. This could be done by clicking the anonymous tag next to the user symbol (bottom-left) or via setting a small variable on the user object somewhere - your call :)

Transient fullscreen and collapse on paragraphs

I am not sure I get the rationale behind making the collapse and fullscreen actions on paragraphs persistent across clients. When "others" are collapsing/opening or fullscreening paragraphs it can have an unintended side-effect on the user experience/view/activity of others. To me, the non-transient/persistentfullscreen/collapse is the edge case, e.g. when an application view (fullscreen content paragraph) should be forced upon multiple users. That aside, it would be nice with a transient version of collapse/open and fullscreen.

I see a transient version of toggle fullscreen and collapse as a way of supporting crawling into the engine and adding a sixth gear while others are driving. Something very powerful in my opinion.

Use-case 1: Collaborative development (writing)
I suspect collaboration in Codestrates would mean that users frequently edit different parts of the Codestrate and thus might want to fullscreen/open a specific paragraph without having a considerable affect on the user experience of collaborators. If a shared view is needed, one would assume collaborators would easily coordinate by telling to open/close specific paragraphs.

Use-case 2: Inspection
In the instances where you have a "final" running application expressed in Codestrates, that is shared by multiple collaborators, one might want to inspect one of the elements, e.g. leave fullscreen and open a code paragraph, without breaking the user experience of others.

Use-case 3: Expanding/fixing features
Just as with inspection, leaving full screen to add further content, functions or simply fix something that is not working as intended, might be a common scenario. I can easily see it as useful when prototyping stuff or running studies.

TL;DR: Make collapse and fullscreen transient by default or offer a transient version of each to support inspection, on-the-fly work and more fluent/discrete collaboration.

(I will gladly help implement some of this, if given a crash course to the codebase and ideas. With my current understanding of the code I might make a mess, rather than add something valuable)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.