Name: Sahil Saha
Affiliation: Jalpaiguri Government Engineering College (1st year)
Field of Study: Computer Science and Engineering (B.Tech.)
Bug fixes, feature additions, and improvements focused on educational users while incorporating feedback from the public lab's educational community.
This project aims to fix bugs, add new features, and refine the UI, focused on the public lab's educational users. The new features to be added include improvement of autocompletion results, a listing of drafts on profile pages, detailed tooltips on maps, a system for pre-approved posting for students that can bypass the moderation system, and refined display of coauthored posts on profile pages. The above-mentioned features will make it easier for educators to use the platform more effectively.
Project Goals and their implementation:
Drafts listing on profile/tag pages
Add a listing of drafts on profile and tag pages to make it easier for users to find saved drafts, the UI should follow the public lab style guidelines.
Profile page sample preview:
Tag page sample preview:
This can be done by creating a separate method in the Tag model class named find_draft_notes which gives all the nodes of type: 'note' and status: 3 created by the current_user arranged in descending order according to the timestamp that is the recent one shown first:
And another method to find_draft_notes_by_tag which takes two parameters tagnames and current_user, and returns nodes with type: 'note', status: 3, created by current_user and having tags consisting of tagnames:
Then display them on the profile page if the current_user is the same as the profile_user, and on the tag page in a separate tab named "Drafts" keeping with the public lab style guide.
A system for pre-approved invites that can bypass the moderation queue while posting. An invite link should look like this, https://publiclab.org/invite?code=12345. These links can be created by educators to invite a specific user. The invite link will open up an option to create a post and publish it directly bypassing the moderation queue.
The posts created with an invite link will have a special status that can bypass the moderation queue, the users invited will receive a notification consisting of the invite link.
An invite link will have 1 week expiry time from the time of creation.
Display of coauthored posts
Add refined display of coauthored posts on the profile page, first seeking community reps input to refine design choices and decide whether to show coauthored posts mixed in with authored posts or in a separate section.
Sample preview of coauthored posts as a separate section (this is not the final design):
Improvements in autocompletion
Autocompletion results will Include usernames used recently, or who are recently active on the site with full wildcard matching similar to GitHub @ mentioning system. A collection of usernames will be prefetched and cached daily or weekly which will be added to the API responses.
The steps given to "subscribe to all tags" at https://publiclab.org/wiki/moderation#Moderation+systems is out-dated and needs to be updated with the latest steps.
- Add Bootstrap tooltips explaining latitude longitude tags on pages linked with a place or a map.
- Refine the design and details of the newly relaunched dashboard with community input.
I understand that this is a serious commitment and I am ready to commit 40+ hours weekly to complete my project within the given time.
Guidance from my mentors and suggestions from the members of the public lab community.