Add:
static/js/index.js
-Add `resultsHotkeys()`, which gets executed on definition and maps all
keyboard shortcuts.
-Add handler-functions for `h`, `j`, `k`, `l`; complete functions for
`j` and `k`, to scroll between results.
Add:
static/sass/index.sass
-Add style rules to fix bugs, and improve the appearance of some minor
details.
static/js/index.advanced-search-form.js
-Close #41. Add statements to scroll to the bottom of the search-groups
div when any search-groups/input fields are added.
Fix:
bitshift/languages.py
-Python's `u"string"` unicode specifier results in a Javascript syntax
error when pasted verbatim into `templates/index.html` by Flask; add
`str()` to the languages array loader to fix it.
Add:
static/js/index.advanced-search-form.js
-Prevent the user from removing the last input field in an
advanced-search group.
Rem:
templates/index.html
-Remove vestige code accidentally preserved during the c6e5b4f merge.
Add:
static/js/index.js
-Fix #23.
-Move callbacks to an function that gets executed on definition, for
more aesthetically modular code.
Rem:
static/js/lib/typeahead.bundle.min.js
-Remove the `typeahead` plugin, which is not longer used for
autocompletion.
Add:
templates/index.html, static/js/index.advanced-search-form.js
-Remove commented-out code, `testQueryStringGeneration()`, etc.; prepare
for merging into `develop`.
static/js/advanced-search-form.js
-Perform a live update of the main query bar with a user's inputs in the
advanced search form.
Add:
static/js/index.advanced-search-form.js, static/sass/index.sass,
static/css/lib/jqueryui.custom.min.css
-Add `jQuery UI` autocompletion menu to the advanced-search form's
language input field, to replace `twitter typeahead` (which was
incompatible with the new form's style rules).
static/js/index.advanced-search-form.js
-Add regex field specifier to query string.
Add:
static/js/index.advanced-search-form.js
-Add `assembleQuery()`, which constructs a query string from the
contents of the fields of the advanced search form's search groups.
Add:
static/js/(index > index.advanced-search-form).js
-Migrate code relevant to the advanced search form to its own file.
-Group global-scope function calls into wrapper functions executed on
definition.
-Add datepicker to new form's input fields.
Add:
static/js/index.js
-Add ability to select an existing search group to edit.
-Add ability to remove search groups with a button.
static/sass/index.sass
-Add styling for `div#header`, which contains the titles of both columns
("fields" and "search groups") in the advanced search form.
Add:
static/js/index.js
-Add callback functions to the buttons/checkboxes in `#sidebar`, which
allow the user to add new search groups, and to add input fields to the
currently selected search group.
Rem:
static/js/index.js
-Remove obsolete functions which allowed the creation/deletion of search
groups in the old form.
Add:
templates/index.html, static/sass/index.sass
-Add element tree for a sample input field.
-Style input fields such that labels are aligned.
-Add and style the `add-group` button.
Add:
static/js/index.js
-Add header comments to existing search-group manipulation functions.
static/sass/index.sass
-Remove style rules for the old advanced search form.
templates/index.html
-Add element tree for new search form.
Add:
static/js/index.js
-Add advanced-search form search-group logic.
-Allow users to create new search groups, and cycle through existing
ones.
static/templates/index.html
-Add search-group count widget, and selection/addition buttons.
static/sass/index.sass
-Style the various search group elements.
Add:
static/js/index.js
-Move `div#title` to the corner of the page when the search bar is
`.partly-visible` (ie, results are displayed).
templates/index.html, static/(sass/index.sass, img/*.png)
-Replace the advanced-search button with a magnifying glass icon.