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

Extensions: Use annotations for extensions #2962

Merged
merged 37 commits into from
Oct 18, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
19fc919
Extensions: Use annotations for extensions. Add first set of extensio…
nwmac Sep 7, 2018
a2623d9
Fix some lint issues
nwmac Sep 7, 2018
1d54aaa
Merge branch 'v2-master' into ext-tabs-and-actions
nwmac Sep 7, 2018
3916c06
Fix max-line-length lint issue
nwmac Sep 9, 2018
db2d776
Fix a couple of code climate issues
nwmac Sep 9, 2018
84588b8
Fix unit tests. Correct example folder name
nwmac Sep 10, 2018
73f99f1
Tweaks to example theme
nwmac Sep 10, 2018
a8f87a7
Fix code climate issues
nwmac Sep 10, 2018
1d6d93a
Merge remote-tracking branch 'origin/v2-master' into ext-tabs-and-act…
nwmac Sep 11, 2018
6b147e7
Update package lock
nwmac Sep 11, 2018
c7506ea
Merge remote-tracking branch 'origin/v2-master' into ext-tabs-and-act…
nwmac Sep 11, 2018
baff023
Wire in remaining actions
nwmac Sep 11, 2018
120a8b4
Merge remote-tracking branch 'origin/v2-master' into ext-tabs-and-act…
nwmac Sep 21, 2018
d0fd16b
Remove example (will put in separate PR)
nwmac Sep 21, 2018
2dd5ae1
Merge remote-tracking branch 'origin/ext-tabs-and-actions' into ext-e…
nwmac Sep 21, 2018
9827d80
Add example
nwmac Sep 21, 2018
61ac011
Remove comma
nwmac Sep 21, 2018
f3f1887
Tidy ups
nwmac Sep 21, 2018
c1c451d
Merge branch 'ext-tabs-and-actions' of github.com:cloudfoundry-incuba…
nwmac Sep 21, 2018
2404465
Fix Extension init
nwmac Sep 21, 2018
c6a566e
Remove old depenency
nwmac Sep 27, 2018
82d3098
Merge remote-tracking branch 'origin/v2-master' into ext-tabs-and-act…
nwmac Oct 11, 2018
3a0325a
Remove whitespace to fix lint issue
nwmac Oct 11, 2018
96ee0a2
Remove white space
nwmac Oct 13, 2018
ef35f84
Fix merge issue
nwmac Oct 13, 2018
17b70fc
Fix for cancel not working for user management dialog
nwmac Oct 15, 2018
1c4ad30
Better fix for user mgmt stepper not being able to cancel
nwmac Oct 15, 2018
bad4dc4
Fix user mgmt nav issue
nwmac Oct 15, 2018
086626f
Move extension buttons component into the page header
KlapTrap Oct 16, 2018
d1f5de5
Tidy up and fixes
KlapTrap Oct 16, 2018
b60ce38
Merge branch 'ext-example' into ext-tabs-and-actions
KlapTrap Oct 16, 2018
b0e990c
Merge remote-tracking branch 'origin/ext-tabs-and-actions' into ext-e…
nwmac Oct 16, 2018
f6604ec
Compile fix and theme tweak
nwmac Oct 16, 2018
2d9c688
Merge branch 'ext-example' into ext-tabs-and-actions
KlapTrap Oct 16, 2018
9af9be2
Fix compilation error due to logoText not being added to Cuistomizato…
nwmac Oct 16, 2018
f9bff0a
Ensure extention buttons appear on the right, not next to the title
nwmac Oct 16, 2018
15023ef
Fix example
nwmac Oct 16, 2018
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
Compile fix and theme tweak
  • Loading branch information
nwmac committed Oct 16, 2018
commit f6604ec417f08b54ce87f77757bf0aefff843267
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
&__card.mat-card {
box-shadow: 0 0 20px 9px rgba(0, 0, 0, .2);
padding: 0;
width: 300px;
width: 320px;
mat-form-field {
width: 100%;
}
}
&__body {
padding: 24px;
padding-top: 0;
}
&__submit {
width: 100%;
Expand All @@ -19,6 +20,10 @@
height: 20px;
padding-top: 20px;
}
&__form {
display: flex;
flex-direction: column;
}
&__form-outer {
$cubic: cubic-bezier(.215, .61, .355, 1);
$time: 250ms;
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-src/frontend/app/custom/custom.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Customizations, CustomizationsMetadata } from '../core/customizations.t
import { MDAppModule } from '../core/md.module';
import { SharedModule } from '../shared/shared.module';
import { AcmeLoginComponent } from './acme-login/acme-login.component';
import { StratosNavExtension } from '../core/extension/extension-service';
import { StratosExtension } from '../core/extension/extension-service';
import { AppTabExtensionComponent } from './app-tab-extension/app-tab-extension.component';

const AcmeCustomizations: CustomizationsMetadata = {
Expand All @@ -13,7 +13,7 @@ const AcmeCustomizations: CustomizationsMetadata = {
};

// CustomModule is bundled in to the main application bundle
@StratosNavExtension({
@StratosExtension({
routes: [{
path: 'example',
loadChildren: 'app/custom/nav-extension/nav-extension.module#NavExtensionModule',
Expand Down