Ankita Kalra
|
15da3810ff
Final iteration making the layout compatible,tags showing the functionality of redirection
|
6 years ago |
Ankita Kalra
|
2132f6c9b0
added front end functionality, updated websockets with user is typing thing, tags and comments being popped up, layout design yet to be worked upon
|
6 years ago |
Andrew Knox Shiels
|
7ab33db9bc
Added some basic CSS to tidy the canvas up a bit, mostly for myself, as I was tired of looking at black-and-white left-aligned text fields. Additionally added a boolean to canvas model is_ethics, true for ethics canvas and false for business canvas. If business canvas, the blocks are labelled as a business canvas's would be, with the extra uncategorised block at the bottom. Newly created canvasses have (Business) or (Ethics) at the end of the default title to show their type. For now, on the anonymous user trial of a canvas, tags and collaborators are outright disabled.
|
6 years ago |
Andrew Knox Shiels
|
87586e8cf6
Added (online) functionality to the collaborators component where it shows a user as (online) when they log in and removes that message on logout, exception for the current user where it still shows (you) in that space. Removed redundant url mappings and html templates, as the view functions for them were converted into ordinary functions called by their respective websocket consumers.
|
6 years ago |
Andrew Knox Shiels
|
353fd6d4b5
Added channel / websocket functionality to the project. Each database-modifying function is called by an asynchronous consumer. Tested only basic operation with two different logged-in users viewing the same canvas to see that it updated both when one user changed something.
|
6 years ago |
Andrew Knox Shiels
|
78ec64414c
Added tags. Addition, conditional creation (if doesn't exist), removal and conditional deletion(if there are no longer any canvasses with that tag). The tags are represented with Vue components, using a modal component when clicked to display the canvasses it occurs in as links. The modal component was taken from the Vue.js modal example at https://vuejs.org/v2/examples/modal.html .
|
6 years ago |
Andrew Knox Shiels
|
4768559724
Added comment add/remove functionality. Edit and Resolve are still TODO.
|
6 years ago |
Andrew Knox Shiels
|
f36148571f
Focused on getting AJAX JSON stuff working, so permissions still a TODO. Idea creation, editing and deletion all done using jquery AJAX POST methods with JSON returned by the Django View to the AJAX callback functions.
|
6 years ago |
Andrew Knox Shiels
|
350743df15
Added idea add/remove/edit operations, comment add/remove/resolve operations, and add user to canvas. Permissions have not been created yet, nor has removal of users or canvasses, promotion / demotion of users to / from admin status.
|
6 years ago |
Harshvardhan Pandit
|
10bda0b652
Added canvas models (merge --squash)
|
6 years ago |