Skip to content

Commit 918b833

Browse files
committed
Implement code changes to enhance functionality and improve performance
1 parent 2f588b2 commit 918b833

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
103 KB
Loading

src/guides/manage-data/handle-schemas-dataset-types.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,33 @@ MIME types manually.
8989

9090
:::
9191

92+
Use the
93+
<a :href="`${explorerUrl}/datasets`" target="_blank" rel="noopener">iExec
94+
explorer</a> and its advanced filter to find datasets matching your required
95+
asset type. The explorer provides a powerful filtering system that lets you
96+
search for protected data based on their schema structure.
97+
98+
<ImageViewer
99+
:image-url-dark="assetTypesAdvanceFilterViewImage"
100+
image-alt="asset Types Advance Filter View"
101+
:link-url="`${explorerUrl}/datasets`"
102+
caption="Explore Asset Types Filter"
103+
/>
104+
105+
**How to use the asset type filter:**
106+
107+
1. **Select asset type criteria** - Choose from predefined types and enter the
108+
field names
109+
2. **Apply multiple filters** - Combine asset type filters with other criteria
110+
like date range, owner, or tags
111+
3. **Browse matching datasets** - View only the protected data that matches your
112+
schema requirements
113+
114+
This filtering capability is essential when building iApps that need specific
115+
data structures. For example, if your iApp processes user profiles, you can
116+
filter for datasets containing `email: string` and `age: f64` fields to ensure
117+
compatibility.
118+
92119
## Why schemas matter
93120

94121
- **Clarity**: Makes your data easier to understand and reuse
@@ -279,11 +306,15 @@ explore next:
279306
import { computed } from 'vue';
280307
import useUserStore from '@/stores/useUser.store';
281308
import {getChainById} from '@/utils/chain.utils';
309+
import ImageViewer from '@/components/ImageViewer.vue';
282310

283311
// Get current chain info
284312
const userStore = useUserStore();
285313
const selectedChain = computed(() => userStore.getCurrentChainId());
286314

287315
const chainData = computed(() => getChainById(selectedChain.value));
288316
const explorerUrl = computed(() => chainData.value.iexecExplorerUrl);
317+
318+
// Assets
319+
import assetTypesAdvanceFilterViewImage from '@/assets/tooling-&-explorers/iexec-explorer/asset-types-advance-filter.png';
289320
</script>

0 commit comments

Comments
 (0)