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

Svelte 3 migration #843

Merged
merged 97 commits into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
8da78fa
initial
hardl Feb 1, 2019
1d057f5
Merge branch 'master' into tabnav
hardl Feb 28, 2019
61b8888
Merge branch 'master' into tabnav
hardl Mar 4, 2019
4cdbc01
first working proto
hardl Mar 5, 2019
91d3cf1
top alignment
hardl Mar 6, 2019
2b7b666
category popovers 1
hardl Mar 8, 2019
a3c81b0
category dropdown
hardl Mar 12, 2019
82c8482
Merge branch 'master' into tabnav
hardl Mar 12, 2019
7899f50
Merge branch 'master' into tabnav
hardl Mar 19, 2019
9316bc2
Merge branch 'master' into tabnav
hardl Mar 20, 2019
848dbdf
wrap fix
hardl Mar 25, 2019
0e91bc4
Merge branch 'master' into tabnav
hardl Mar 25, 2019
aafae7f
Merge branch 'master' into tabnav
hardl Apr 3, 2019
29d0e80
hh
hardl Apr 5, 2019
b6327cd
Merge branch 'master' into tabnav
hardl Apr 5, 2019
8b58a3a
Merge branch 'master' into tabnav
hardl Apr 16, 2019
3e01667
adjust to responsive nav
hardl Apr 16, 2019
ca407e7
Merge branch 'master' into tabnav
hardl May 8, 2019
463ff06
virtual group support and css fixes
hardl May 8, 2019
3ed0ba4
more button
hardl May 10, 2019
96b5d7f
top nav burger
hardl May 10, 2019
0529830
Merge branch 'master' into tabnav
hardl May 10, 2019
24e0ab1
Merge branch 'master' into tabnav
hardl Aug 2, 2019
be6309a
Merge branch 'master' into tabnav
hardl Aug 2, 2019
5d8b304
Merge branch 'master' into tabnav
JohannesDoberer Aug 8, 2019
c67b684
Merge branch 'master' into tabnav
JohannesDoberer Aug 12, 2019
dca3593
tabnav
JohannesDoberer Aug 12, 2019
c8deada
Merge branch 'master' into tabnav
JohannesDoberer Sep 6, 2019
4d86c01
tabNav
JohannesDoberer Sep 6, 2019
e37bcba
Merge branch 'master' into tabnav
JohannesDoberer Sep 11, 2019
f3b09b2
Merge branch 'master' into tabnav
JohannesDoberer Sep 12, 2019
8f910ed
Merge branch 'master' into tabnav
JohannesDoberer Sep 16, 2019
9cc3ff5
Merge branch 'master' into tabnav
JohannesDoberer Sep 17, 2019
49e4acb
no message
pekura Sep 17, 2019
503e314
no message
pekura Sep 17, 2019
8950c06
no message
pekura Sep 17, 2019
6e0592f
no message
pekura Sep 18, 2019
0b14748
no message
pekura Sep 18, 2019
e092b6c
no message
pekura Sep 18, 2019
279b329
no message
pekura Sep 18, 2019
c1e5364
no message
pekura Sep 18, 2019
9127653
no message
pekura Sep 18, 2019
11c8bc6
no message
pekura Sep 18, 2019
8b0e876
no message
pekura Sep 18, 2019
b7e4277
no message
pekura Sep 19, 2019
c6e6ab4
no message
pekura Sep 19, 2019
71f84e0
Merge branch 'master' into svelte-3-scratch-poc
pekura Sep 19, 2019
eb6f396
fix
pekura Sep 19, 2019
5f47e8e
cleanup
pekura Sep 19, 2019
66cf1e7
badge counter fix
pekura Sep 19, 2019
9d225e6
fix
pekura Sep 19, 2019
ec8db64
Merge branch 'master' into svelte-3-scratch-poc
pekura Sep 19, 2019
3b24031
tabNav
JohannesDoberer Sep 20, 2019
535116c
Merge branch 'master' into tabnav
JohannesDoberer Sep 20, 2019
f9d7da2
no message
JohannesDoberer Sep 23, 2019
8e3cf00
funktionierender Zustand
JohannesDoberer Sep 26, 2019
8af42d6
active tab
JohannesDoberer Sep 30, 2019
790829c
responsive
JohannesDoberer Sep 30, 2019
9d9ab3d
clean up
JohannesDoberer Sep 30, 2019
b0d7288
Merge branch 'master' into tabnav
JohannesDoberer Sep 30, 2019
aaf9507
test 'fix'
JohannesDoberer Sep 30, 2019
d42dc50
fix selectedTabs
JohannesDoberer Oct 4, 2019
5ecaf79
tets
JohannesDoberer Oct 7, 2019
bd02186
small bug fix
JohannesDoberer Oct 7, 2019
5716fb8
hideSideNav
JohannesDoberer Oct 8, 2019
82f7e55
Merge branch 'master' into tabnav
JohannesDoberer Oct 8, 2019
7d0ac37
improvements/refactoring
JohannesDoberer Oct 8, 2019
8e55e74
test and mobile
JohannesDoberer Oct 8, 2019
9c33793
burger+tabnav
JohannesDoberer Oct 8, 2019
e3336ba
mobile fixes
JohannesDoberer Oct 9, 2019
6609168
typo
JohannesDoberer Oct 9, 2019
9067b29
Merge branch 'master' into tabnav
JohannesDoberer Oct 9, 2019
a119eeb
improvements for tabNav when different modes of left navigation
marynaKhromova Oct 10, 2019
8335aca
recalc on burger click
JohannesDoberer Oct 10, 2019
54569b2
browser compatibility fix
pekura Oct 11, 2019
f23b2c4
Merge branch 'svelte-3-scratch-poc' of https://github.com/pekura/luig…
pekura Oct 11, 2019
6dc9a83
Merge branch 'master' into svelte-3-scratch-poc
pekura Oct 11, 2019
919a2a7
resizeTabNav with simple config
JohannesDoberer Oct 11, 2019
e0002b3
Merge branch 'master' into tabnav
pekura Oct 11, 2019
1f28079
semicollapse fix
JohannesDoberer Oct 11, 2019
118aacb
css fix
JohannesDoberer Oct 11, 2019
5c386b2
hideNav fix
JohannesDoberer Oct 11, 2019
fba616d
refactoring
marynaKhromova Oct 11, 2019
ff20087
Merge branch 'tabnav' of github.com:JohannesDoberer/luigi into tabnav
marynaKhromova Oct 11, 2019
123f3e3
typo
JohannesDoberer Oct 11, 2019
be272e4
Merge branch 'tabnav' of github.com:JohannesDoberer/luigi into tabnav
marynaKhromova Oct 11, 2019
30495ff
change selector for tabContainer
marynaKhromova Oct 11, 2019
8debe0c
remove unnecessary styles
marynaKhromova Oct 11, 2019
ba05ca3
no message
JohannesDoberer Oct 11, 2019
d432702
Merge branch 'tabnav' of github.com:JohannesDoberer/luigi into tabnav
JohannesDoberer Oct 11, 2019
a53a4db
docu change for tab nav
JohannesDoberer Oct 14, 2019
3610c6e
doku improvement
JohannesDoberer Oct 14, 2019
9085120
Merge remote-tracking branch 'johannes/tabnav' into svelte-3-scratch-poc
pekura Oct 14, 2019
73c3e72
Merge remote-tracking branch 'johannes/tabnav' into svelte-3-scratch-poc
pekura Oct 14, 2019
485c867
css improvments
JohannesDoberer Oct 14, 2019
23e852e
Merge remote-tracking branch 'johannes/tabnav' into svelte-3-scratch-poc
pekura Oct 14, 2019
37163fa
Merge branch 'master' into svelte-3-scratch-poc
pekura Oct 14, 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
Original file line number Diff line number Diff line change
Expand Up @@ -91,49 +91,53 @@ describe('Luigi client linkManager', () => {
cy.expectPathToBe('/projects/pr2');
});

// check if path exists
cy.goToLinkManagerMethods($iframeBody);
[
// non-existent relative path
{ path: 'projects/pr2/', successExpected: false },
// non-existent absolute path
{ path: '/developers', successExpected: false },
// existent absolute path with '/' at the end
{ path: '/projects/pr2/', successExpected: true },
// existent absolute path without '/' at the end
{ path: '/projects/pr2', successExpected: true },
// existent path with two dynamic pathSegments
{
path: '/projects/pr1/users/groups/avengers/settings/dynamic-two',
successExpected: true
},
// existent relative path
{ path: 'developers', successExpected: true }
].map(data => {
const msgExpected = data.successExpected
? `Path ${data.path} exists`
: `Path ${data.path} does not exist`;
const checkPathSelector = '.link-manager .check-path';
cy.wrap($iframeBody)
.find(checkPathSelector + ' input')
.clear()
.type(data.path);
cy.visitLoggedIn('/');

cy.getIframeBody().then($iframeBody => {
// check if path exists
cy.goToLinkManagerMethods($iframeBody);
[
// non-existent relative path
{ path: 'projects/pr2/', successExpected: false },
// non-existent absolute path
{ path: '/developers', successExpected: false },
// existent absolute path with '/' at the end
{ path: '/projects/pr2/', successExpected: true },
// existent absolute path without '/' at the end
{ path: '/projects/pr2', successExpected: true },
// existent path with two dynamic pathSegments
{
path: '/projects/pr1/users/groups/avengers/settings/dynamic-two',
successExpected: true
},
// existent relative path
{ path: 'developers', successExpected: true }
].map(data => {
const msgExpected = data.successExpected
? `Path ${data.path} exists`
: `Path ${data.path} does not exist`;
const checkPathSelector = '.link-manager .check-path';
cy.wrap($iframeBody)
.find(checkPathSelector + ' input')
.clear()
.type(data.path);
cy.wrap($iframeBody)
.find(checkPathSelector + ' button')
.click();
cy.wrap($iframeBody)
.find(checkPathSelector + ' .check-path-result')
.contains(msgExpected);
});

// go back
cy.goToOverviewPage();
cy.goToLinkManagerMethods($iframeBody);
cy.expectPathToBe('/projects/pr2');
cy.wrap($iframeBody)
.find(checkPathSelector + ' button')
.contains('go back: single iframe')
.click();
cy.wrap($iframeBody)
.find(checkPathSelector + ' .check-path-result')
.contains(msgExpected);
cy.expectPathToBe('/overview');
});

// go back
cy.goToOverviewPage();
cy.goToLinkManagerMethods($iframeBody);
cy.expectPathToBe('/projects/pr2');
cy.wrap($iframeBody)
.contains('go back: single iframe')
.click();
cy.expectPathToBe('/overview');
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,12 @@ class Navigation {
{
category: { label: 'Messages', icon: 'lightbulb' },
label: 'Errors',
pathSegment: 'errors',
viewUrl: '/sampleapp.html#/projects/pr1/dynamic/errors',
icon: 'alert',
context: {
label: 'Errors'
},
badgeCounter: {
label: 'Number of Errors',
count: () => 2
Expand All @@ -137,8 +141,12 @@ class Navigation {
{
category: 'Messages',
label: 'Warnings',
pathSegment: 'warnings',
viewUrl: '/sampleapp.html#/projects/pr1/dynamic/warnings',
icon: 'message-warning',
context: {
label: 'Warnings'
},
badgeCounter: {
label: 'Number of Warnings',
count: () => 5
Expand All @@ -147,8 +155,12 @@ class Navigation {
{
category: 'Messages',
label: 'Notifications',
pathSegment: 'notifications',
viewUrl: '/sampleapp.html#/projects/pr1/dynamic/notifications',
icon: 'ui-notifications',
context: {
label: 'Notifications'
},
badgeCounter: {
label: 'Number of Notifications',
count: getMockBadgeCount
Expand Down
Loading