Giter VIP home page Giter VIP logo

ashaw-notes's People

Contributors

follower46 avatar gitter-badger avatar nsingapuri avatar stygiansabyss avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ashaw-notes's Issues

Limit automatic display of elements

In the main.py all the results for a given query are displayed immediately.
We need to limit the resultset to only 100 lines with an option to view more (show newest notes first, with a "view more" button at the top).

We should also have a "total notes" counter in the filter box which will show how many notes were available.

Allow for date filtering

Use some natural language based python package to allow notes to be filtered by a specific date.
Date ranges can be added later.

This addition should be a plugin not hard-coded into the connectors (although the connectors do have to be updated to use the property on the searchrequest class)

Convert Connector Modules to Classes

Ugh, I shouldn't have had the connectors be modules only.
The globals were the first red flag that it was a wrong-headed approach.

Refactor them so that they are classes (porting over the unit tests).

Switch GUI to TK

Currently the (very basic) GUI is built using QT.
Because the dependencies are such a pain we should investigate using TK instead.

Add live-updates to the GUI

This will most likely be a Redis only feature.
Redis supports pub-sub events.

Add support so that when a new note is added an event is broadcast to the UI clients forcing a refresh on the UI's.

This will also be needed for edits and deletes.

Add "Source" to the redis insert

Unlike local notes, Redis-based notes can come from multiple machines.
Because of this, it would be useful to be able to store what client was used to insert a specific note.

This will require that we change how deletes work.

Currently the note is pulled from redis and the keys are generated off of that key. Because this is note meta-data not stored in the note, it will require that we start storing in redis a set of all the keys related to a specific key so we can clean up those keys on delete.

Block duplicate epochs

Currently notes assume unique timestamps for notes.
When a new note is added:

  1. Check if a note already exists with that timestamp
  2. If that timestamp is unique, insert
  3. If a note with that timestamp exists, add 1 microsecond to the insert time and start over

Clean up redis_notes "find_redis_notes" method

Currently "find_redis_notes" is pretty messy.
This should be cleaned up (refactored) so that it can be extended more easily.
Specifically, adding in date filtering is a pain in the method's current state.

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.