Add:
templates/index.html, static/(js/index.advanced-search-form.js,
sass/index.sass)
-Add a "submit" button to the advanced search form, with styling
and appropriate callbacks.
Add:
static/js/index.js
-Introduce a maximum character length to each attribute field.
static/sass/index.sass
-Add `overflow: auto` only when hidden information is displayed.
-Decrease the width of the code viewport on hover; move the
hidden information less far right.
Add:
templates/index.html, static/sass/index.sass,
static/img/index/search_bar_magnifying_glass.png
-Replace the magnifying-glass advanced-search icon with a simple
textual button.
static/(js/index.js, sass/index.sass)
-Slightly modify the appearance of error messages; add message
for no results.
Add:
static/js/index.js
-Modify functions to add actual result codelets to the `results`
column: redefine `populateResults()` as a wrapper for
`loadMoreResults()`, introduce a `Deferred` return-type to
`queryServer()`, and change some incorrect object field names
(eg, "html_code", which should've been "code") in
`createResult()`.
Fix:
static/sass/index.sass
-Allow codelet-scrolling, and modify result component widths.
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.