ed9dcd6b4fee69e37a082bc9fcedb257d8068bea
The default page size of 500 is causing a bit of a slowdown on storyboard.o.o when using the typeahead in search and quicknav. This patch applies a few changes to the Criteria and the ResourceFactory as follows: - Default pagesize for criteria searches is now Preference.page_size. - PageSize can be overridden in the actual invocation of the criteria resolver and/or the search builder. - SearchResults have been fixed to use the user's preference setting instead of a hardcoded 20. - List population for the typeahead dropdowns has been hardcoded to no more than 5 records per type, since the speed of a user's typing tends to alter the result set very quickly. Change-Id: I12c4fa8d62e0510ebd2287a709d93d6f922fdfcd Story: 131
Storyboard Web Client
A WebClient for the OpenStack Storyboard project.
Project Resources
- Project status, bugs, and blueprints
- Source code
- Documentation
- Additional resources are linked from the project wiki page
- How to contribute to OpenStack
- Code reviews workflow
Getting Started
First of all be sure to have tox installed on your machine then:
- Install the virtualenv containing nodejs:
tox -evenv - Source the new path containing grunt:
source .tox/grunt_no_api/bin/activate - Now you can launch the grunt tasks of storyboard-webclient, by default run
the development server with the following command:
grunt server
Grunt tasks
Here are the grunt tasks available with the storyboard-webclient project, the
following commands must be prefixed by grunt, example for the first one, the
command to run will be grunt jshint, the virtualenv must have been
activated see previous section:
jshint: Runs a linter on the javascript sources files of the project, this will help us keeping style consistency across our files and can reduce the risk of bugs.clean: Erases the temporary folders created by various grunt tasks, such as reports, cover and dist.less: Compiles the themes files present in/src/theme/customand/src/theme/customusing less compiler, the result which is a plain css file is stored intodist/styles/main.csscompile: Compiles all of our sources in the dist directory.package: Built code into a release package.build: Compile and packages our code.server:dist: This task performs a full build of our application, and then runs that source in a local web server. It does no watching, it simply hosts the files.server:prod: This task is identical to 'server:dist', with the exception that it will proxy the API requests against the production API. USE WITH CAUTIONserver: Development server - runs a build and sets up concurrent watchers that will automatically lint, test, and refresh the code when a change is detected.test: Run all the tests.test:unit: This command will create a clean build against which our unit tests will be run. For more information, please see karma-unit.conf.jstest:integration: This command will create a clean build against which our integration tests will be run. For more information, please see karma-integration.conf.jstest:functional: This command will create a clean build against which our functional tests will be run. For more information, please see karma-functional.conf.js
Description
Languages
JavaScript
53.4%
HTML
41.1%
SCSS
4.3%
Shell
0.6%
Smarty
0.5%