Giter VIP home page Giter VIP logo

educator_news's Introduction

educator_news

A clone of HN, for the education profession.

educator_news's People

Contributors

ehmatthes avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

educator_news's Issues

Integrate django-mptt into Comment system?

I wrote my own commenting system for practice with recursion. Not the best idea for a production site, but this is partly a learning project for me.

After watching performance as use picks up, would probably be worthwhile to integrate django-mptt into the comment system. Perhaps replace the commenting system with something more widely used, but that's probably not necessary.

Implement a caching system

I'd like this to be able to handle front page exposure on HN. Caching the most expensive pages will make for a much snappier user experience as well.

Main pages that benefit from effective caching: index, new, discuss.

Focus on using memcache.

Implement ignored domains

There will be some domains from which we do not want to accept submissions, such as paywalled news sites. Set up a model to store these domains, and make sure they are ignored.

Show tld in title bar

It's helpful to know where articles are from, as well as their titles. Show just the top-level domain for each submission.

Archive old submissions

Submissions should be archived after a specified time period, something on the order of 72 hours. An archived submission can still be commented on, but its ranking_points are no longer recalculated. It can't be upvoted.

This will help from having to look through too many submissions when building the active front and new pages.

Implementation:

  • Submissions should have an active flag that defaults to True.
  • When recalculating ranking points, grab all active submissions. First step, find any that are older than set age. Set these inactive.
  • Does this affect comments at all?

Allow users to collapse comment threads

When a submission receives many comments, it's hard to scroll down and see just the first-order comments.

  • Every comment should have a collapse button that hides all of that comment's descendents.
  • The discussion page should let you hide all comments below a certain nesting level. ie see just the first-order comments, then expand any of those you are interested in.

Comments should have an ancestor_submission flag

Grabbing all comments for a discussion page would be easier if every comment had a direct association with a submission. Don't want to call it parent_submission, because that implies it's a first-order comment on the actual submission, not a reply to another comment.

Refactor templates

There is some redundancy in templates. Could do a better job of identifying common pieces of information, and making template fragments for the main pages.

Implement expanded profiles

It would be helpful to know other people in the community. Everything is optional, though:

  • Three core beliefs about education.
  • What is your role/ main interest in education?
  • For teachers:
    • What ages/ grade levels do you teach?
    • What subject areas do you teach?
    • Where do you teach?
  • What do you think is already working well in education?
  • What would you most like to see improved about education? (Might require response to what is working well before showing this? No, but strongly encourage it.)

Implement ability to undo an upvote on a submission

With the variety of mobile devices people use, it is inevitable that people will accidentally upvote some submissions. Enabling people to undo an upvote leads to less frustration on the part of users, and more accurate voting for each submission.

Build a /more_submissions page

Right now, you can only see the top 30 submissions (/index page), or the newest 30 submissions (/new page). Need a /more_submissions/x/ page, which gives the next 30 submissions.

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.