Add:
static/sass/main.sass
-Rework the footer, which is now fixed at the bottom of the
screen as opposed to floored to the bottom of the page.
Positioning at the bottom of the page doesn't make any sense
with a technically infinite results page.
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.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:
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:
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.
Add:
static/js/index.js
-Add a `jQuery` callback to `fadeIn()` and `fadeOut()` the
advanced-search form.
templates/index.html, static/sass/index.sass
-Add advanced-search form toggling button markup and styling.
Add:
templates/index.html
-Add compartmental `div` structure for the advanced-search form.
static/sass/index.sass
-Add layout style rules to the advanced-search form.
app.py, templates/(about, developers).html
-Add `Flask` routes and skeleton files for pages to be developed later.
Ref:
static/js/index.js
-Substitute some verbose `JavaScript` calls with their `jQuery`
equivalents.
Add:
static/js/index.js
-Add `populateResults()`, to distinguish the addition of results to
`div#results` from the retrieval of Codelets from the server itself.
-Add `clearResults()` for convenience.
static/sass/index.sass
-Add `.cascade`, to provide new `div.result` elements with a
downwards-cascading animation.
Add:
static/js/index.js
-Add conditional to prevent a search from being triggered when a
non-character key combination (ie, `up`, `down`, `ctrl-c`) was entered.
-Add `queryServer()`, currently only for testing purposes (it populates
`div#results` with randomized content).
-Add documentation comments to all functions.
static/sass/index.sass
-Add different styling to the `#search-field` whenever results are
visible (in other words, at any point after a query has been executed).
Add:
static/js/
-Add directory for all `javascript` files.
static/js/index.js
-Add functional search-bar typing-begin and typing-end detection.
-Currently logs an appropriate message to the console in either state.