note_arthur's People
note_arthur's Issues
Search functionality (Client-Side)
Implement the search functionality on the client-side (JS):
- Create the UI elements on the top navigation bar
- Event handler functions (search button's onclick, input box's onkeydown for the ENTER key)
- Logic to search through the DataStore on the client-side
- Logic to send the request to (and receive the response from) server to search through the database
UI implementation of inserting additional notes
If we press enter to add additional notes, and then leave that section blank, it creates a blank bar under the filled in sections. We should make it so that if someone enters in a note section that is completely blank, it just does not enter anything.
Remove Duplicate Results from the Search Bar
Currently we can have the same table show up multiple times if we search for something that shows up repeatedly. An example of this is if we have some Table with notes: "Hello1" and "Hello2", just searching for "Hello" will print that table twice.
Search bugged in expected case
I've taken a screenshot of an error I had with the search function. When I search for any of the notes in the AI section it does not return anything. For example, if I search for "Neural" it displays nothing when it should be displaying the AI section because it has a note called Neural Network.
Screenshot: https://i.gyazo.com/3217baac1b22ec887f685578c25ef02b.png
optimize timer logic
Once issue #15 is implemented, modify so that only modified data store elements are sent to the server.
Invoke the save function on all user interaction
Currently, the save function to sync the client-side DataStore with the DB is setup to fire on a periodical basis.
Modify all user interaction events (add button click, note/section modification, etc.) to invoke the save function.
Search Functionality (Server-Side)
Implement the functionality to support the search requests on the server-side:
Zhen will write the necessary functionality for the client-side (to send the request)
Create the necessary logic to receive/handle the SEARCH requests (a new function in the routes.py file)
- This new function should grab the user entered input from the request.form object
- Build the SQL statements for each table
- dataSections -- write the query to grab all sections that have titles/tags that match the user entered text
- dataNotes -- same thing for notes
- Run the SQL statement to grab all records that matches the user's input, and build the DataStore object
Note:
- This function should return the sections/notes in the same structure/format as the DataStore object (via JSON)
Implement Timer Logic
We need to create a timer on the front-end side that will call the SaveDataStore() Function periodically.
Modify the render function to handle SEARCH and left-nav selection
The left hand side navigation drawer gets correctly populated/rendered but does not correctly update the sections list.
Also, the render function needs to handle/support the SEARCH functionality.
Modify the render function (i.e. "updateDOMFromDataStore") to take a custom DataStore object instead of rendering directly from the global DataStore object.
Issue with creating new note
When more that one session is active, the newly created note is duplicated resulting in two newly created notes with the same name.
Remove the top header bar in the login & register page
Do as the title says
Delete function not changing status of element in datastore to "Deleted"
Visually if I delete a table called "Test" it disappears from the UI. However if I then search for "Test" in the search bar it gets pulled up again into the UI and once again is shown in the main note arthur screen.
Active Sessions.
In this issue, I had opened the application in Chrome and then attempted to open it in Safari and Firefox. I eventually closed it in Chrome, and it wouldn't load on refreshing the other pages until i reopened the application in chrome.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.