[ADF-3606] added extra icon for special folders and fixed link navigation folder (#3960)

* [ADF-3606] added extra icon for special folders

* [ADF-3606] changed icons and added tests

* [ADF-3606] added navigation via linked folder

* [ADF-3606] fixed problem in test

* [ADF-3606] added extra documentation

* [ADF-3606] fixed problem with folderchange event
This commit is contained in:
Vito
2018-11-19 12:29:26 +00:00
committed by Eugenio Romano
parent a18b1c1579
commit 2fcec4f235
10 changed files with 151 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>folder-with-rule copy</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="folder-with-rule-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="systemicon/folder-with-rules-active">
<g id="folder-with-rules">
<g id="Group">
<polygon id="Fill-1" points="0 24 24 24 24 0 0 0"></polygon>
<path d="M10,4 L4,4 C2.895,4 2.01,4.895 2.01,6 L2,18 C2,19.105 2.895,20 4,20 L20,20 C21.105,20 22,19.105 22,18 L22,8 C22,6.895 21.105,6 20,6 L12,6 L10,4 Z" id="Fill-2" fill="#D9E021"></path>
<polygon id="Fill-1-Copy" fill="#FFFFFF" points="14.8620241 9 16.4361035 10.574375 13.4948433 13.5155 10.5501462 10.574375 12.124913 9 8 9 8 13.125 9.57476682 11.550625 12.8109092 14.78875 12.8109092 18 14.1863384 18 14.1863384 14.776375 17.4121702 11.550625 18.9862497 13.125 18.9862497 9"></polygon>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
<title>folder-shortcut-link copy</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="folder-shortcut-link-copy" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="systemicon/folder-shortcut-link-active">
<g id="folder-shortcut-link">
<g id="Group-9">
<polygon id="Fill-1" points="0 24 24 24 24 0 0 0"></polygon>
<path d="M2.70933755,4.54327602 L2,5.924926 L2,18.8121399 L2.69466158,19.5150573 C2.88252616,19.7051546 3.13866895,19.8121399 3.40593302,19.8121399 L20.6045166,19.8121399 L21.3116234,19.1050331 C21.4991598,18.9174967 21.6045166,18.6631428 21.6045166,18.3979263 L21.6045166,7.00924449 L20.9015261,6.24697884 C20.7122055,6.04169503 20.4456711,5.924926 20.1664154,5.924926 L11.1733882,5.924926 C10.8510886,5.924926 10.548546,5.76958526 10.3607292,5.50766556 L9.57882415,4.41726045 C9.39100739,4.15534074 9.08846483,4 8.76616517,4 L3.59894601,4 C3.2240117,4 2.88057904,4.20973129 2.70933755,4.54327602 Z" id="Path-2-Copy" fill="#D9E021"></path>
<path d="M15.75,10 L13.15,10 L13.15,11.235 L15.75,11.235 C16.8615,11.235 17.765,12.1385 17.765,13.25 C17.765,14.3615 16.8615,15.265 15.75,15.265 L13.15,15.265 L13.15,16.5 L15.75,16.5 C17.544,16.5 19,15.044 19,13.25 C19,11.456 17.544,10 15.75,10 L15.75,10 Z M9.9,13.9 L15.1,13.9 L15.1,12.6 L9.9,12.6 L9.9,13.9 Z M7.235,13.25 C7.235,12.1385 8.1385,11.235 9.25,11.235 L11.85,11.235 L11.85,10 L9.25,10 C7.456,10 6,11.456 6,13.25 C6,15.044 7.456,16.5 9.25,16.5 L11.85,16.5 L11.85,15.265 L9.25,15.265 C8.1385,15.265 7.235,14.3615 7.235,13.25 L7.235,13.25 Z" id="Fill-2" fill="#FFFFFF"></path>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -149,6 +149,8 @@ export class ThumbnailService {
'application/x-cpio': './assets/images/ft_ic_document.svg',
'folder': './assets/images/ft_ic_folder.svg',
'smartFolder': './assets/images/ft_ic_smart_folder.svg',
'ruleFolder': './assets/images/ft_ic_folder_rule.svg',
'linkFolder': './assets/images/ft_ic_folder_shortcut_link.svg',
'disable/folder': './assets/images/ft_ic_folder_disable.svg',
'selected': './assets/images/ft_ic_selected.svg'
};