Commit Graph

103 Commits

Author SHA1 Message Date
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 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 ce62aed494 Added Word Form pullout for mobile. 2016-07-06 12:44:24 -06:00
Robbie Antenesse a2cb7d5180 Some restructuring and started styling dictionary column 2016-07-06 07:36:24 -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 563ee8bd14 Point IPA character picker to original source instead of a copy. 2016-06-29 10:40:10 -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 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 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 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 dec8be6dff Edit words in their dictionary position instead of jumping to word form. It's janky, but it works. 2016-06-07 11:44:36 -06:00
Robbie Antenesse 29ab0616f1 Also update the public view filter because that's important. 2016-05-26 18:26:35 -06:00
Robbie Antenesse 2a9fecae89 Updated word filtering to allow as many parts of speech as the user wants. 2016-05-26 18:00:03 -06:00
Robbie Antenesse bdf9327fa3 Don't auto-focus if word form isn't unlocked (it's annoying on mobile) 2016-03-18 10:12:06 -06:00
Robbie Antenesse a73c9a22b8 Updated ReadMe, returned credits to borrowed libraries, added newlines to minified files. 2016-03-17 11:45:37 -06:00
Robbie Antenesse cc778f690e Update minified files. 2016-03-11 12:42:12 -07:00
Robbie Antenesse 06281fccac Catch export error if dictionary has no words. 2016-03-11 12:29:39 -07:00
Robbie Antenesse d7f1f2f1be Added keyboard shortcuts! 2016-03-11 12:25:12 -07:00
Robbie Antenesse 9d9bba79d5 Isolate generic functions into their own helper file. 2016-03-11 09:54:25 -07:00
Robbie Antenesse edadb37a6b Fixed focus after word update. 2016-03-11 08:14:13 -07:00
Robbie Antenesse 06f5fe58c4 Got ctrl+enter to submit a word from the Word Form. Just need to resolve some focus issues after editing. 2016-03-11 08:06:20 -07:00
Robbie Antenesse 956255bc00 Altered public view link to be tinier.
Made links global ("/" instead of "./")
2016-03-09 13:23:18 -07:00
Robbie Antenesse b887e1309b Moved, minified, and renamed defiantJS 2016-03-02 11:18:52 -07:00
Robbie Antenesse 24917e7ff2 Include minified versions of scripts for the server 2016-03-02 11:13:19 -07:00
Robbie Antenesse 0df7281c94 Update Sorting - sort by name then part of speech. 2016-03-02 10:59:14 -07:00
Robbie Antenesse b0d45e226c Fixed public dictionary search 2016-02-27 11:00:48 -07:00
Robbie Antenesse ab61fdcfb8 Made searching for most punctuation work and highlight correctly. 2016-02-27 10:10:11 -07:00
Robbie Antenesse 989b67f923 Allow Fullscreen Textarea for Word Long Description and Dictionary Description. 2016-02-27 08:54:13 -07:00
Robbie Antenesse 5cb27c874b Started working on setting the cursor position in the fullscreen textbox (INCOMPLETE!) 2016-02-26 18:13:52 -07:00
Robbie Antenesse 03aeeb4a8c Add functionality for fullscreen textbox for dictionary description 2016-02-26 18:01:05 -07:00
Robbie Antenesse 3bb9bab9a8 Organized functions more logically. 2016-02-26 17:18:29 -07:00
Robbie Antenesse cb9041c7ca Re-lock word form if dictionary is completed.
Broke out Lock and Unlock word form functions for use elsewhere.
2016-02-24 13:07:32 -07:00
Robbie Antenesse 7cf5eeb252 Word Entry Form can now be unlocked and scroll next to the dictionary. 2016-02-24 12:50:30 -07:00