evan10s / jsgroup Goto Github PK
View Code? Open in Web Editor NEWjsGroup makes groups.
License: MIT License
jsGroup makes groups.
License: MIT License
Currently, every group has someone in it who received his or her first choice. This is difficult to explain with words, so here is an example:
When the grouping algorithm finds a match for someone, it does not stop look for matches for the person. This could result in a person being in two different groups.
In the v0.1.3-beta
branch of jsGroup, elements that are supposed to change on hover are not changing on hover as they are supposed to. Since this is a minor issue, it will be deferred to jsGroup v0.2-beta, which will also include the Bootstrap v3.0.3, the latest version of Bootstrap as of 29-Jan-2014.
The Results fieldset
should only be displayed when there are results to display (i.e., after the grouping has been completed.
It is better for the grouping algorithm to not create it at the end as that would require checking to see if their already is a Results fieldset
to avoid creating another one.
After making groups, when the algorithm puts the remaining people into groups, their cannotHaves should be taken into account, unless no one else is left.
Sometimes no groups will show because of an error that occurs during secondary data processing (people whose choices could not be fulfilled).
A screenshot will be added once this issue can be reproduced (seems to only appear sometimes, depending on the specifics of the data submitted).
A fix for this issue will be released when it can be reproduced. If you encounter a problem in which it seems no groups are created, please check the console for errors, and then create an issue (include the contents of the console by pressing Ctrl-A/Cmd-A and then copying the contents).
The "Name" field should be one field to allow for names of any length. There could also be an input box where a user could enter the number of "Name" fields there are in his/her data, to allow for more freedom in users' data.
When a person wants someone whose first choice is "Anyone is okay," jsGroup doesn't make a match between the two people.
jsGroup is currently using Bootstrap files that contain all of Bootstrap's components even though only some components are actually used by jsGroup.
When jsGroup is run with only two people, there seems to be an issue causing the group to not be displayed in the results.
In certain instances, people are getting skipped over. It seems like this issue is caused by the way people are removed from the people
array when k
is greater than i
(will add more info later). I seem to have fixed this by decrementing i
in this situation.
The CSS does not load in the v0.1.2-beta version of jsGroup. This occurs when the jsGroup index.html
file is opened in a browser.
At the top of jsGroup, there is a message with the title "Limited functionality." The message states that "This version of jsGroup stems directly from the beta," but this version of jsGroup is the beta version of jsGroup. Therefore, I think the message could be improved by saying that this is a beta version of jsGroup.
When the data field is blank, jsGroup still says, "One group created," even though it should display an error message saying that no data was found.
The data jsGroup logs to the console when it makes groups shows that jsGroup interprets the empty data input box as one person whose name is " undefined" and who is okay with anyone for all three of his choices:
When looking for a match for a person's choices, the grouping algorithm could put a person in a group with one of his/her lower choices even if a higher choice is available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.