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:
templates/index.html, static/sass/index.sass
-Move the "add group" and "remove group" buttons inside the
advanced-search form to a different location.
static/img/index/
-Following convention established by the "about" page, all
page-specific images should be located in a subdirectory of
`static/img/` named after the page. Add `index` dir.
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:
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 > 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.
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:
bitshift/resources
-Add directory for bitshift's Python resources.
bitshift/resources/languages.json
-Add `json` file containing all the programming languages supported by
bitshift.
bitshift/languages.py
-Set `LANGS` by reading `languages.json`.
Add:
static/sass/index.sass
-Add style rules for `datepicker` and `typeahead` elements.
templates/index.html
-Add any class specifiers required by both libraries to their
corresponding elements.
-Add a hack-ish `script` tag containing setup for `typeahead`.
Add:
templates/index.html
-Simplify form layout: reduce the number of independent adjacent `div`s,
and position `label`s above their corresponding `input` elements.
static/sass/index.sass
-Remove now superfluous positioning rules for the previous layout.
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.