Giter Site home page Giter Site logo

misterjames / collidr Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 5.0 6.37 MB

An open source project leveraging SignalR to make real time forms easy.

License: Apache License 2.0

C# 8.34% CSS 0.12% ASP 0.02% JavaScript 91.35% PowerShell 0.15% Shell 0.02%

collidr's People

Contributors

dpaquette avatar misterjames avatar

Stargazers

 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

collidr's Issues

Cascaded click?

collidr

If i use 3 page, and i click on first page, then the second page of the message arrives, set of the focus, then on the third page of the message is received as if it would happen on the second page of the edit

Improve NuGet Package

Should be able to get things going as much as possible without the user hand-bombing stuff.

Should consider things like a raw CollidR install and a CollidR.Mvc install.

Clarify Experience for Out-Of-Sequence Logins/Edits

Example:

  1. User "A" logs in
  2. User "A" changes text in a text field
  3. User "B" logs in, should see that a field is in edit

This isn't currently happening, need a way to queue and playback events on the server when someone joins an entity, and clear when the room is cleared. This will be a little fuzzy, but need to work through this.

Add a "Shadow user" Feature

When user "A" starts editing a record, give the option to other users to shadow changes for user "A".

Example:

  1. User "A" joins.
  2. User "B" joins.
  3. User "B" edits the text field.
  4. User "A" sees message in alerts area, prompting to shadow user "B".
  5. User "A" chooses to shadow, all user "B" edits are sent through the hub to other users

Sample Should Include Start Method with WebActivator

The sample should be set up to use WebActivator. This will lay the footwork for the NuGet package, which should work without having to do much to get it to run (though, perhaps the package should also include a read me to explain).

Edit Notification Remains on Other Clients when Editor Leaves Page with Field in Focus

If you start up two browsers and navigate to the same entity you can reproduce this.

In browser A, enter a field. In browser B you see that field A is being edited. If you close browser A at this point, browser B's tooltip doesn't disappear.

Need to expose a disconnect event in CollidR that the formatter listens to and can process departed editors correctly.

Create MVC Scaffolder that includes the RegisterCollidR bits

Basically just extend the built in MVC Scaffolder to include this section at the bottom of the Edit view:

@section Scripts {

@Scripts.Render("~/bundles/jqueryval")

<script src="~/Scripts/jquery.signalR-1.1.3.js"></script>
<script src="~/Scripts/bootstrap.js"></script>
@(Html.RegisterCollidRFor(p => p.PersonId))

}

Create HTML Helper to Add Script to Page

Can leverage reflection/generics/etc. to find the name of the model and possibly the ID based on primary key, or have it provided through the method call.

This would allow for auto generation of the following:

<script src="~/Scripts/CollidR.js"></script>
<script type="text/javascript">

    var collidR = new $.collidR( 
        {
            entityType: "MyNameSpace.Models.Type", 
            entityId: @Model.PersonId
        })
    .registerClient();

</script>

With a line of code like:

 @Html.RegisterCollidR<Person>( p => p.PersonID)

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.