Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI - core addon & replication engine #6629

Merged
merged 43 commits into from
May 7, 2019
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
e930ebf
add initializer hook to mount engines inside the cluster route
meirish Apr 17, 2019
fb2f134
add ember-engines and an in-repo addon
meirish Apr 18, 2019
56a1b6a
start moving components needed for replication to core addon
meirish Apr 18, 2019
c014f00
move replication routes to a lazy engine
meirish Apr 18, 2019
d41d95e
add assetLoader block to the build to support rootURL for engines
meirish Apr 19, 2019
29a9d1e
share template addons in the core addon
meirish Apr 19, 2019
4880692
share services with the replication engine
meirish Apr 19, 2019
30e82cc
move replication code over to the replication engine
meirish Apr 19, 2019
e45f981
move shared components to core and replication components to replicat…
meirish Apr 20, 2019
497d656
move shared helpers and utils to core
meirish Apr 20, 2019
87417a4
move named replication route to addon application route
meirish Apr 20, 2019
2811fa5
update shared services and core addon deps
meirish Apr 20, 2019
454da2b
comment out usage of i-con component for now
meirish Apr 22, 2019
e56d139
share info-table-row, is-active-route helper, ember-cli-string-helpers
meirish Apr 22, 2019
c82289c
change route names to be relative to the replication engine
meirish Apr 22, 2019
5bf7644
share confirm-action and doc-link components
meirish Apr 22, 2019
355f626
share namespace service
meirish Apr 22, 2019
3c00245
share ttl-picker component
meirish Apr 22, 2019
672508d
more relative routes and move params checking to the model hook inste…
meirish Apr 22, 2019
fea375a
fix ttl component sharing
meirish Apr 23, 2019
45827d2
fix routing issue with using cluster name in engine route
meirish Apr 23, 2019
1076fa9
move replication partials to components in the replication engine
meirish Apr 23, 2019
9b4b32a
share alert-inline component and message-types helper
meirish Apr 23, 2019
d0c8de3
remove test component
meirish Apr 23, 2019
e7470e6
fix non-replication tests
meirish Apr 23, 2019
695b68e
remove reduce-to-array helper
meirish Apr 25, 2019
a010369
rework components that came from partials
meirish Apr 25, 2019
33ca09a
move vault-loading and loading partials to shared components in core
meirish Apr 25, 2019
323cd6a
share upgrade-page and mount-filter-config-list
meirish Apr 25, 2019
af56b73
remove includes helper, use contains from ember-composable-helpers
meirish Apr 25, 2019
c956ff2
move toggle-button and upgrade-page to core addon
meirish Apr 25, 2019
37023bc
don't reexport layout for engines components
meirish Apr 25, 2019
1d963fe
fix integration tests for the engine component
meirish Apr 25, 2019
9f950d6
share popup-menu component, basic-dropdown addon, and set-flash-messa…
meirish Apr 26, 2019
893b32d
trigger route reloads, and fix routing from controllers, fix tests
meirish Apr 26, 2019
971030c
no text in the popup because it breaks some filtering by text in tests
meirish Apr 29, 2019
a219a26
fix tests
meirish Apr 29, 2019
1b7c5fd
update yarn.lock
meirish May 3, 2019
becb8ce
update md generation script so you can point it at an addon / engine …
meirish May 5, 2019
bbcabca
update ember-cli-storybook fork to support asset-manifest
meirish May 6, 2019
9c06ec4
updates to the generated preview head for storybook
meirish May 6, 2019
17acf70
add doc-link, empty-state, info-table-row, loading-layout, message-er…
meirish May 6, 2019
e3c9983
OR the search for component usage to match curly or angle bracket syntax
meirish May 6, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add assetLoader block to the build to support rootURL for engines
  • Loading branch information
meirish committed May 3, 2019
commit d41d95e351378933f60a93b1d97982be6521a80e
7 changes: 7 additions & 0 deletions ui/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
'use strict';

const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const config = require('./config/environment')();

const environment = EmberApp.env();
const isProd = environment === 'production';
const isTest = environment === 'test';

module.exports = function(defaults) {
var app = new EmberApp(defaults, {
assetLoader: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was needed to get the engine assets working with our rootURL config.

generateURI: function(filePath) {
return `${config.rootURL.replace(/\/$/, '')}${filePath}`;
},
},

codemirror: {
modes: ['javascript', 'ruby'],
keyMaps: ['sublime'],
Expand Down