Coder Social home page Coder Social logo

sniplog's Introduction

SnipLog.

:TODO: Major Features

  1. Add markdown to the todo
  2. Add tags field to the Post model.
  3. Tags are hyperlinked. Clicking a tag returns all the posts with the same tag
  4. [] Search bar, for content and tag. Something like gmail search maybe?
  5. [] Auth
  6. [] Merging PushIt functionality but with a better name.
  7. [] Move this todo to the wiki. When bored and don't want to code.
  8. [] Snips should be like reddit posts, body opening only on click of button.
  9. [] Also should be editable on a click of single button, thats how it is a dump.
  10. [] Inheritance of the main layout to all other pages.

sniplog's People

Contributors

deshanadesai avatar harshnisar avatar

Stargazers

Aalok Gangopadhyay avatar Angus H. avatar Kaushik Varanasi avatar  avatar

Watchers

James Cloos avatar  avatar Aalok Gangopadhyay avatar  avatar

Forkers

harshnisar

sniplog's Issues

Making Tags one-click editable.

Adding a '+' or something next to tags which on clicking shows a field right there and then to add new tags.

We have two options,
One clicking '+' we can hide the pre-existing tags and show a form field with pre-existing tags comma separated as default text.

Or we can add one field next to pre-existing tags to add more tags.

@Deshna tell me what you think about the options.

My vote goes to the first one, because I will be able to add multiple tags like that. Feels more intuitive.
Con: Autocomplete will be complex, but should be doable. Facebook offer multiple autocomplete (tagging friends) in the same comment field.

The advantage for the other is,
If it will be one tag in field at a time, easier autocomplete. May look clunky. But clunky is in the eyes of the beholder.

Auth related bugs. Part 1 Making a list of them here.

All auth related bugs.

  1. [] Can go to reg page even after logging in.
  2. [] Can still go to / . And it asks for log in. Even if I am logged in.
  3. [] Shouldn't be able to go to /list.html if not logged in, should redirect to home which in turn redirects to login page.
  4. [] Logged out, went to /login and it shows this error without me doing anything: Error: UserID Incorrect. Please try again.
  5. [] Keep user id as unique. Registering with the same userid is allowed and leads to multiple objects returned error on File
    manage.py line 164, in load_user
    user = UserInfo.objects.get(userID= userID)

We need a decorator which can be placed on top of methods we only want logged in users to see.
_May_be the way to solve the sub-issue 1. and 2. Or if statements inside them. Which ever is the standard way. Do a little research.

Please select comment on solving each of them. I didn't want to create multiple issues. That is lazyness on my part. Comment on solving individual ones. Will close when all closed. May add some too. Won't be lazy next time.

Tag display in posts.

If Tags:None, why display it? Useless information cluttering the snip-display page.

Make snips downloadable as a txt file.

Generate a method which takes snips (all or specific) and generates a txt file for download.

First step would be to give an option to download all the snips as a text file, or a zip which contains each snip as a separate file.

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.