Commit Graph

331 Commits

Author SHA1 Message Date
Robbie Antenesse 6e13c7da53 Got word editing working correctly. Need to add labels to fields, maybe use word form component instead.
Need to fix simpleDefinition not updating.
2016-09-23 11:59:38 -06:00
Robbie Antenesse 821330073a Got words displaying and sorting correctly! Editing words works, working on editing individual word fields. 2016-09-22 18:08:14 -06:00
Robbie Antenesse 9ecfa40ec7 Improved Inputs and NewWordForm, and made inter-component references more prolific.
Made Inputs able to clear themselves, made NewWordForm able to clear itself and not rely on WordForm, added form validation for NewWordForm.
Made Dictionary only display referenced data.
Having trouble getting words to update the list correctly. Editing them works, but adding new words duplicates the first word created when rendering.
2016-09-22 14:05:49 -06:00
Robbie Antenesse 9a90108fe6 Learned how to modify objects in a component's state. 2016-09-22 08:25:49 -06:00
Robbie Antenesse 1e2758f3d3 Got dictionary and words displaying by reference.
Need to decide where the dictionary will be stored so all components needed to reference it will be able to.
2016-09-22 07:42:07 -06:00
Robbie Antenesse 4521dac524 You need to return the value after you map it to the array, you idiot!
Now I need to go back and abstract the word data so it gets passed as a reference to the Word component instead of as straight data so it'll be easier to save/load.
2016-09-21 18:25:39 -06:00
Robbie Antenesse a7068d640a Having trouble getting the Dictionary component to render its list of words at all, let alone re-render when it's updated.
Added working header and button components, made sass imports work by putting _ before the .scss files to import.
2016-09-21 18:18:54 -06:00
Robbie Antenesse 15f26883e6 Got new word form React component working and rendering mostly correctly in ES2016! 2016-09-21 14:40:25 -06:00
Robbie Antenesse d914d8f133 Started on the path to node compatibility, but it's not usable yet.
Need to figure out how to require() defiant.js...
2016-09-20 15:59:59 -06:00
Robbie Antenesse d6e9741736 Focus into the edit form when created. 2016-07-11 15:39:31 -06:00
Robbie Antenesse 0a5eb01423 Fixed using ctrl+enter to submit edits to words not working.
Removed hotkey for export.
2016-07-11 15:12:28 -06:00
Robbie Antenesse ca97409b44 Save scroll before applying word edit so it doesn't take you to the top after editing. 2016-07-10 22:53:46 -06:00
Robbie Antenesse d623009b63 Made mobile theme apply to small windows as well as screens. Explained mobile word form. 2016-07-10 19:38:57 -06:00
Robbie Antenesse 84bf0bda09 Merge branch 'markdown-fix' into mobile-styling 2016-07-06 17:11:04 -06:00
Robbie Antenesse ee3f5cd8ea Fixed markdown rendering that I accidentally broke. 2016-07-06 17:10:29 -06:00
Robbie Antenesse 9fb43abb15 Merge branch 'markdown-fix' into mobile-styling 2016-07-06 15:20:13 -06:00
Robbie Antenesse 585eb29193 Prevent HTML from being rendered in entries. 2016-07-06 15:17:50 -06:00
Robbie Antenesse 24fc971264 Re-balanced column widths so it looks nice on desktop. 2016-07-06 14:17:20 -06:00
Robbie Antenesse ce62aed494 Added Word Form pullout for mobile. 2016-07-06 12:44:24 -06:00
Robbie Antenesse 1e82cd2745 Got things looking nice on mobile! 2016-07-06 12:44:02 -06:00
Robbie Antenesse a2cb7d5180 Some restructuring and started styling dictionary column 2016-07-06 07:36:24 -06:00
Robbie Antenesse 2d6013e169 Started working on Mobile CSS! 2016-07-02 21:25:26 -06:00
Robbie Antenesse 5d0d14cf24 Merge branch 'dev' 2016-06-29 13:27:26 -06:00
Robbie Antenesse d163c998af Change references to "Equivalent Word" in the word form to "Definition" for clarity. 2016-06-29 13:27:14 -06:00
Robbie Antenesse cf5e74e073 Merge branch 'dev' 2016-06-29 10:40:33 -06:00
Robbie Antenesse 563ee8bd14 Point IPA character picker to original source instead of a copy. 2016-06-29 10:40:10 -06:00
Robbie Antenesse a3b549fc18 Update the redirect to point to new repository name. 2016-06-27 16:38:45 -06:00
Robbie Antenesse bec52734d3 Merge branch 'master' into prod
Attempt to replace master with prod
2016-06-27 16:06:38 -06:00
Robbie Antenesse 51b38cd7a8 Updated README and got everything ready for prerelease. 2016-06-22 14:42:34 -06:00
Robbie Antenesse 4ac000db09 Add a dictionary share link for easier sharing of public dictionaries. 2016-06-22 12:43:39 -06:00
Robbie Antenesse f2b9d01d3b Fixed some styling for the edit form. 2016-06-22 08:26:54 -06:00
Robbie Antenesse 621c4bbf8f Added text about Importing and Exporting in the README without proofreading. 2016-06-21 18:05:43 -06:00
Robbie Antenesse da56c43e33 Improved export so data is wrapped in quotes and made import process more clear. 2016-06-21 17:42:01 -06:00
Robbie Antenesse f7031ab579 Prevent accidental changes to a dictionary if the dictionary displayed on the screen is not the "current_dictionary".
This would only happen if you had Lexiconga open in two windows/tabs and changed your dictionary in one window/tab without refreshing the other, then making edits to the un-refreshed window/tab. Now it also sends which dictionary to change and makes sure that dictionary is in the user's session dictionaries list so it updates the correct dictionary's words.
2016-06-21 13:40:20 -06:00
Robbie Antenesse 6341948f45 Added export words, cleaned up looks a bit 2016-06-21 12:58:13 -06:00
Robbie Antenesse 3902ba96ba Got public word pages working! Added link to public words from editing dictionary.
Separated some templating functions so styling will be easier moving forward.
2016-06-20 17:13:51 -06:00
Robbie Antenesse fca5fb2704 Started working on making a single word display page, but there's still a lot of work that needs to be done (maybe just load full dictionary with 1 word to simplify?).
Made references to files look in root instead of local directory.
2016-06-19 22:58:27 -06:00
Robbie Antenesse 3512d55d97 Add short links to Issues and Updates. 2016-06-16 13:41:14 -06:00
Robbie Antenesse 9f07b0f57a Got words and dictionaries saving properly again, make uploads add only new words to db, make dictionary last_updated column when when adding words, add last_login column to users table. 2016-06-16 13:22:13 -06:00
Robbie Antenesse 6370de1651 Words delete correctly and update the dictionary's next_word_id when new words are added. 2016-06-15 17:48:52 -06:00
Robbie Antenesse ed8eec71cc Got word updates working, need to fix new/edit word forms. 2016-06-14 22:21:05 -07:00
Robbie Antenesse 8109bdac69 Saving and loading words from words table now works. Need to make words delete when dictionary is deleted. 2016-06-14 18:16:41 -06:00
Robbie Antenesse 7e9c14a7c2 Updated database to store and read current dictionary in `users` table. 2016-06-13 21:26:05 -07:00
Robbie Antenesse d6ab5e62ce Got the "removeChild" error to go away by doing this. 2016-06-12 08:20:17 -07:00
Robbie Antenesse 9deb9087e6 Added filtering by blank part of speech, fixed part of speech dropdown for edits, added import template CSV to download, updated import test to test blank part of speech. 2016-06-10 11:35:57 -07:00
Robbie Antenesse 368fc8cd20 Got the importer working and did some tests. 2016-06-09 22:27:41 -07:00
Robbie Antenesse f4f9f85a30 Trying to add PapaParse for importing CSV files of words, but for some reason it's not recognizing the Papa object. 2016-06-08 13:55:07 -06:00
Robbie Antenesse f48ca733f9 Moved colors back to the originals but kept the shadows and sharp edges. 2016-06-08 13:53:22 -06:00
Robbie Antenesse b5da178b79 Subdued the colors a bit. 2016-06-07 20:31:52 -06:00
Robbie Antenesse 0b6169a1e5 Big, bright new styling! 2016-06-07 18:20:16 -06:00