Commit Graph

121 Commits

Author SHA1 Message Date
Robbie Antenesse d49ffa8d94 Change Helpers to export functions instead of being a class 2017-08-20 23:53:59 -06:00
Robbie Antenesse c459c30fb5 Update EditLinguisticsForm headings 2017-08-20 23:43:18 -06:00
Robbie Antenesse 1a74058115 Make default dictionary details blank 2017-08-20 23:42:44 -06:00
Robbie Antenesse 09df4e8047 Add more fields to the EditDictionary* and DictionaryData 2017-08-20 23:27:28 -06:00
Robbie Antenesse 3ae2114449 Automate Updater.updateDictionaryDetails()'s process 2017-08-20 23:24:57 -06:00
Robbie Antenesse 1e8684e2a1 Start adding Phonology fields to EditLinguisticsForm 2017-08-20 14:48:58 -06:00
Robbie Antenesse acb64dec56 Add htmlFor and help text to EditDictionaryForm fields 2017-08-20 14:48:04 -06:00
Robbie Antenesse 53bf992226 Expand IPAField customization options 2017-08-20 14:44:12 -06:00
Robbie Antenesse 9b7e797aef Expand and use default dictionary and Updater 2017-08-20 14:41:08 -06:00
Robbie Antenesse 97170803fa Disable all HTML tags in sanitize-html usage 2017-08-20 12:41:28 -06:00
Robbie Antenesse 3dadcb0ee1 Fix errors in Updater 2017-08-20 12:31:04 -06:00
Robbie Antenesse ebd4045503 Add Bulma overrides styles to increase modal sizes 2017-08-20 12:19:38 -06:00
Robbie Antenesse 064840512f Add overflow-x:hidden to DetailsSection styles 2017-08-20 12:19:06 -06:00
Robbie Antenesse 173bc48eee Move Updater class to managers 2017-08-20 11:57:17 -06:00
Robbie Antenesse 0be726aee4 Reorganize styles and DetailsSection menu code 2017-08-20 11:55:11 -06:00
Robbie Antenesse 575264fb4f Add sanitize-html for content displayed via dangerouslySetInnerHtml 2017-08-19 11:00:39 -06:00
Robbie Antenesse 6bb8a6306a Enable switching details from DictionaryDetails menu.
Add Phonology section to DictionaryDetails.
Update DictionaryDetails and MainDisplay to have more data to work with and display.
2017-08-17 13:53:48 -06:00
Robbie Antenesse e8919af5ca Moved EditDictionaryModal to components/management 2017-08-17 13:50:28 -06:00
Robbie Antenesse c38cac7c70 Turn some helpers into prototypes and add new ones 2017-08-17 13:46:58 -06:00
Robbie Antenesse c8a7c1436f Start creating EditDictionaryModal and related pieces
Add Updater for saving new values.
Add EditDictionaryForm and EditLinguisticsForm.
Add helpful Array and Object functions to Helper.
2017-08-16 16:53:55 -06:00
Robbie Antenesse 24301cc7e6 Fix updated dictionary data being saved wrong in DictionaryData 2017-08-16 16:53:04 -06:00
Robbie Antenesse eb91db4b4a Create Modal component 2017-08-16 16:50:16 -06:00
Robbie Antenesse ab0dea1a86 Add Webpack Dev Server; Fix WordDisplay issue. 2017-07-25 22:27:45 -06:00
Robbie Antenesse a443fe4c3f Fix code style
Remove misguided comma-first style, add floating commas, and improve
spacing and parentheses for single-param inline arrow functions.
2017-07-25 22:11:33 -06:00
Robbie Antenesse d4043e2d79 Add FontAwesome 2017-06-25 16:23:03 -06:00
Robbie Antenesse 08428f51ac Improve SearchBox functionality 2017-06-25 15:49:23 -06:00
Robbie Antenesse b5d57393c2 Focus search box when opening search header 2017-06-25 14:48:19 -06:00
Robbie Antenesse d34a86dc1b Update app state to display words 2017-06-25 14:23:42 -06:00
Robbie Antenesse 55495f9f7f Add WordsList and WordDisplay for displaying words
Need to figure out how to properly trigger a re-render of the list after
a word is added or updated.
2017-05-18 23:47:01 -06:00
Robbie Antenesse 74956c06f6 Fix word form not clearing 2017-05-18 22:27:16 -06:00
Robbie Antenesse 3625317b15 Remove Noto fonts
It just takes too long to compile every time. Maybe add back later but
geez.
2017-05-18 22:25:47 -06:00
Robbie Antenesse 053ef54402 Improve wording & functionality in IPA components. 2017-04-27 17:03:01 -06:00
Robbie Antenesse adb7275f13 Improve Phondue instructions, remove unused files.
Also un-hexed digraph file into JSON file for easier editing if
necessary. The filesize is also smaller.
2017-04-27 16:28:01 -06:00
Robbie Antenesse 7cd8ac75a3 Integrate KeyboardFire's phondue into IPAField
Rewrote MIT-Licensed scripts to work as Inferno components.
Use keyboard shortcuts, smart replacement, or a table selection to
choose IPA characters!
2017-04-27 14:33:25 -06:00
Robbie Antenesse b3be22c26a Update IPAField suggest on last typed letter regardless of position 2017-04-26 23:03:41 -06:00
Robbie Antenesse 95bdc5327c Make IPAField display suggestion on last character.
Would be better to figure out how to get it to sense and insert at last
entered character instead of last character in line.
2017-04-25 23:13:59 -06:00
Robbie Antenesse d1f23c62c2 Start adding IPAField component for suggesting IPA chars 2017-04-22 17:05:36 -06:00
Robbie Antenesse f500a08f8f Added PNG fallback if browser does not support SVG 2017-04-22 16:52:06 -06:00
Robbie Antenesse 6a59837a0b Add Noto Sans and Mono as default font for full Unicode support 2017-04-22 15:48:22 -06:00
Robbie Antenesse 80fdea0d4c Start adding words to db via search form 2017-04-20 13:10:07 -06:00
Robbie Antenesse dc0d7eff07 Add: Data managers; New SearchBox design
Also fixed logo and restructured components that don't need state.
2017-04-20 13:10:07 -06:00
Robbie Antenesse 8b6dbc0e8e Re-style Search; Upgrade Inferno 2017-04-20 13:10:01 -06:00
Robbie Antenesse 067489225a Structured main content of site with Bulma 2017-04-20 13:09:48 -06:00
Robbie Antenesse a3437771f5 Remove everything to start a full rewrite. 2017-04-03 22:24:14 -06:00
Robbie Antenesse 09626a9e0f Restructure folders in components/ and try to resist rewriting the whole app from scratch. 2017-04-02 00:14:32 -06:00
Robbie Antenesse 7392c32c83 Bulma styling changes 2017-04-01 14:56:34 -06:00
Robbie Antenesse 91d4d5b5da Lots of different changes, mostly to convert to InfernoJS and to work on updating to Bulma structure. 2017-01-14 12:55:42 -07:00
Robbie Antenesse d4f4dd62c8 Added Bulma for restyling, removed yarn because it stopped installing correctly. 2016-12-28 07:26:54 -07:00
Robbie Antenesse 7829b484c2 Added dropdown box component for parts of speech, but editing words isn't working for some reason on Linux. 2016-11-28 09:32:20 -07:00
Robbie Antenesse 16193c1bf4 Added untested Dropdown for select fields.
Added some more comments.
2016-11-15 21:57:10 -07:00
Robbie Antenesse 83a75016a6 Some minor comments and tweaks, hide Textarea maximize button for mobile. 2016-11-15 07:57:09 -07:00
Robbie Antenesse 5a9e14a7df More comments and comma-first notation. Slowly but surely... 2016-11-03 12:49:38 -06:00
Robbie Antenesse 24d9c87ccf Started making changes: better comments, comma-first notation (https://gist.github.com/isaacs/357981), etc. 2016-11-03 12:39:47 -06:00
Robbie Antenesse d1504f78ba Fixed all caps filetype that breaks linux webpack 2016-10-02 12:38:36 -06:00
Robbie Antenesse 12c4d4a275 Added ability to specify dictionary classification as something other than "dictionary" if desired. Also added non-URL helper links for Input components. 2016-09-29 22:59:25 -06:00
Robbie Antenesse 7efddf2edb Got Dictionary Info (description and details) displaying correctly! Going with a tabbed display this time. :) 2016-09-29 20:26:16 -06:00
Robbie Antenesse bed9dc5b3c Added Edit Dictionary form and manipulation of dictionary settings plus Checkboxes to go with it! Also added the ability to disable input fields. 2016-09-27 17:10:03 -06:00
Robbie Antenesse 98b6377a01 Worked on styling, got fixed info pages and the footer working correctly! Next, I need to add the dictionary settings page. 2016-09-27 15:12:48 -06:00
Robbie Antenesse e20395b642 Making a more unique React key for words did indeed make open edit forms correctly go away when switching dictionaries. 2016-09-24 17:26:17 -06:00
Robbie Antenesse c6605b46fc Dictionaries can save and load locally! But if you're editing a word, it keeps the edit form open... 2016-09-24 09:59:19 -06:00
Robbie Antenesse 42b3091d7a You can now add a word while editing a word, allowing the edit word form to stay open and reorganize! Cool stuff!
Also fixed a small styling thing.
2016-09-24 08:58:09 -06:00
Robbie Antenesse 69f8ff516c Made word form component able to edit and add words for better reusability, fixed submit on enter. 2016-09-24 07:59:06 -06:00
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