Commit Graph
16 Commits
Author SHA1 Message Date
Brian Clozel 4de86e1401 Configure a cache busting resource chain
This commit configures a resource chain with
`resources.chain.strategy.content.enabled`, enabling cache busting for
static resources based on the hash of their content.

A template helper (here a Groovy Closure) is added to the model given to
the view for appending hashes to static links such as:

    "/css/spring.css" -> "/css/spring-d35c4193cd32e7e44cda5737205c0c0e.css"

Fixes #321
2016-12-01 12:07:47 +01:00
Brian Clozel 8ee8d72e62 Show version requirements for disabled starters
This commit writes the version range information in human readable
format and adds it to the starter list when starters are disabled.

Closes gh-293
2016-11-25 15:58:54 +01:00
Brian Clozel 009c9a1572 Show hint when more search results are available 2016-11-24 16:16:38 +01:00
Brian Clozel c4bfbe755e Update to jquery 3.1.1 and mousetrap 1.6.0 2016-11-24 16:16:19 +01:00
Brian Clozel 4d78a62a65 Deselect incompatible deps when changing Boot version
This commit removes the dependency tag from the list of all dependencies
not supported by the selected Boot version. Previously, the dependency
input checkbox was unchecked, but the green tag was still present.

Instead of hiding incompatible dependencies in the full list, the
choices are now marked as "disabled"; it is impossible to select those
checkboxes and the cursor displays a "not-allowed" icon when hovering
the dependency.

Closes gh-109
Closes gh-286
2016-09-16 17:11:59 +02:00
Brian Clozel 6ab9b5573e Upgrade to JQuery 3.1.0 2016-09-16 14:22:42 +02:00
Brian Clozel 96d5c4184e Support dashes in dependencies search box
This commit replaces the query tokenizer with a "nonword" tokenizer, in
order to mirror the one used for the indexation process.
This allows users to enter dashes in their search queries such as
"data-" and still get meaningful results.

Fixes #209
2016-04-04 10:41:50 +02:00
Brian Clozel f6817f2b0e Add a reference to the github repo in a footer
Closes gh-146
2015-12-10 16:00:40 +01:00
Brian Clozel e74e65b3bf Auto-select first autocompletion entry
Because this feature is not natively supported by Twitter Typeahead,
this is based on a existing PR.
See twitter/typeahead.js#1356

See gh-145
2015-10-06 09:54:28 +02:00
Brian Clozel 87dd6d8b0a Revert bigger font in input select
See gh-145
2015-10-06 09:54:24 +02:00
Brian Clozel cdec30a664 Reorganize UI
* move back project type and Boot version in form
* support for dependencies weight, group and keywords information
* hide non-essential info by default and show them when clicking on link
* add green top border in header
* add link to bring back simple version

See gh-145
2015-10-06 09:54:24 +02:00
Brian Clozel 80eb14cb59 Improve new design proposal
* update keyboard shortcuts
* update dependencies descriptions
* add a second button down the page, after the dependencies
* when autocompleting a dependency that's already selected, unselect it
* synchronize packageName with groupId
* synchronize artifact name with artifactId
* fix tabindex order for form fields

See gh-145
2015-10-06 09:54:14 +02:00
Brian Clozel d70ca8a6f0 Improve new design proposal
* remove previous application header (title, baseline)
* replace it with project type + boot version + generate button
* add keyboard shortcut to generate project with mousetrap
* reinitialize search engine when Boot version changes in order to only
search in compatbile dependencies
* replace standard bootstrap with custom built version
* fix generate shortcut not working in autocomplete

See gh-145
2015-10-05 10:43:54 +02:00
Brian Clozel 431d2a5e4d start.spring.io redesign
New design for start.spring.io, including:

* service renamed to start.spring.io
* layout less cluttered
* first part of the form fixes project type, JDK and Boot version
* ability to add dependencies with a new autocomplete field
* all dependencies are listed with their description

See gh-145
2015-10-05 10:43:11 +02:00
Brian Clozel 8c0dc68a51 Add version range support in web UI
This commit introduces zepto.js as a minimal front-end library to
manipulate the DOM and a lightweight library `Versions` to parse and
compare version ranges (OSGI style).

With this change, only Boot starter dependencies that are compatible
with the selected Boot version should be displayed in the UI.

Partial fix for #62
2015-02-17 13:58:42 +01:00
Brian Clozel 878087f235 Improve CSS layout
This commit improves the page layout:
* use lighter fonts for the curl command line
* align download buttons
* dependency choices are now using "col-xs-*" classes for mobile devices
2015-01-26 15:53:42 +01:00