Skip to content

Commit f81fe77

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 3e63b19 + 2fc9d95 commit f81fe77

File tree

5 files changed

+88
-33
lines changed

5 files changed

+88
-33
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ JZHub’s use cases are designed to support researchers in open science and AI-d
4343

4444
- Compliance and Governance for Sensitive Data: Manage sensitive data with access controls and compliance monitoring, ensuring ethical use in collaborative open science projects.
4545

46+
## Enterprise Data Hub
47+
48+
Enterprise data continues to grow exponentially, intensifying pressure on organizations to harness this valuable resource. However, organizations find themselves unprepared to capture value from all this data, mainly because of disparate data sources and a lack of proper data sharing protocols. Valuable enterprise data is often trapped in silos because of poor data sharing culture and inadequate infrastructure. Current tooling for sharing data doesn’t cater to data consumers’ varying skill levels, hindering time to value from data. Chief data officers and IT leaders must address this issue by shifting the mindset from creating ad hoc data projects to managing data as a product.
49+
50+
JZHub, aka. JiaoZi Data Product Hub, enables Git protocol based data sharing across the organization and automates the delivery of data products to cater to the needs of data consumers of all skill levels. It integrates with various source systems to simplify the onboarding of data products, no matter where data resides. Data producers can use Git protocol to package, operationalize and share reusable data products, which could include datasets, AI models and notebooks. Business users and other data consumers can then quickly and easily discover curated data products and have them delivered in a format optimized for their use case. This can help reduce friction and improve the quality, reliability and discovery of valuable enterprise data.
4651

4752
## Getting Started
4853

src/component/explore/ExploreItemHeader.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const ExploreItemHeader = ({setRtype, rtype, Filter, setFilter, search,se
5656
<div className="search-filter-container">
5757
<Menu>
5858
<Menu.Target>
59-
<Button variant="outline" color="gray">
59+
<Button variant="outline" color="gray" className="fixed-size-button">
6060
{
6161
Filter === "public" ? "public" : Filter === "private" ? "private" : "Filter"
6262
} <IconChevronDown size={14} className="icon-right"/>

src/component/shell/header.tsx

+5-10
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,18 @@ export const AppHeader = (props: AppHeaderProps) => {
4040
<Button className="app-header-right-create-target">+</Button>
4141
</MenuTarget>
4242
<MenuDropdown className="app-header-right-create">
43-
<MenuItem onClick={() => {
44-
nav("/product/new");
45-
}}>
46-
<RiGitRepositoryLine/><a>New Repository</a>
43+
<MenuItem onClick={() => nav("/product/new")}>
44+
<RiGitRepositoryLine /><a>New Repository</a>
4745
</MenuItem>
48-
<MenuItem onClick={()=>{
49-
nav("/group/new");
50-
}}>
51-
<RiGroupLine/><a>New Group</a>
46+
<MenuItem onClick={() => nav("/group/new")}>
47+
<RiGroupLine /><a>New Group</a>
5248
</MenuItem>
5349
</MenuDropdown>
5450
</Menu>
5551
</div>
5652
<div>
5753
<div className="app-header-right-create-notify">
58-
<IoIosNotificationsOutline
59-
/>
54+
<IoIosNotificationsOutline />
6055
</div>
6156
</div>
6257
{

src/style/explore.css

+54-14
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@
4444
margin-right: 1rem;
4545
}
4646

47+
.fixed-size-button {
48+
width: 95px;
49+
height: 40px;
50+
overflow: hidden;
51+
text-overflow: ellipsis;
52+
white-space: nowrap;
53+
}
54+
4755
.search-filter-container {
4856
display: flex;
4957
gap: 1rem;
@@ -72,13 +80,24 @@
7280
.explore-product {
7381
display: flex;
7482
flex-wrap: wrap;
75-
max-height: 64px;
7683
border: 1px #efefef solid;
7784
border-radius: 5px;
7885
cursor: pointer;
86+
padding: 5px;
87+
height: auto;
88+
min-height: 70px;
7989
.explore-product-avatar {
80-
height: 60px;
81-
margin: 0 0 0.125rem;
90+
height: 50px;
91+
width: 50px;
92+
display: flex;
93+
justify-content: center;
94+
align-items: center;
95+
margin: 5px 0 0 5px;
96+
img {
97+
max-height: 100%;
98+
max-width: 100%;
99+
object-fit: contain;
100+
}
82101
}
83102
.explore-product-title {
84103
display: flex;
@@ -114,13 +133,24 @@
114133
.explore-users {
115134
display: flex;
116135
flex-wrap: wrap;
117-
max-height: 64px;
118-
cursor: pointer;
119136
border: 1px #efefef solid;
120137
border-radius: 5px;
138+
cursor: pointer;
139+
padding: 5px;
140+
height: auto;
141+
min-height: 70px;
121142
.explore-users-avatar {
122-
height: 60px;
123-
margin: 0 0 0.125rem;
143+
height: 50px;
144+
width: 50px;
145+
display: flex;
146+
justify-content: center;
147+
align-items: center;
148+
margin: 5px 0 0 5px;
149+
img {
150+
max-height: 100%;
151+
max-width: 100%;
152+
object-fit: contain;
153+
}
124154
}
125155
.explore-users-title {
126156
display: flex;
@@ -153,16 +183,27 @@
153183
}
154184
}
155185
}
156-
.explore-organization{
186+
.explore-organization {
157187
display: flex;
158188
flex-wrap: wrap;
159-
max-height: 64px;
160189
border: 1px #efefef solid;
161-
cursor: pointer;
162190
border-radius: 5px;
191+
cursor: pointer;
192+
padding: 5px;
193+
height: auto;
194+
min-height: 70px;
163195
.explore-organization-avatar {
164-
height: 60px;
165-
margin: 0 0 0.125rem;
196+
height: 50px;
197+
width: 50px;
198+
display: flex;
199+
justify-content: center;
200+
align-items: center;
201+
margin: 5px 0 0 5px;
202+
img {
203+
max-height: 100%;
204+
max-width: 100%;
205+
object-fit: contain;
206+
}
166207
}
167208
.explore-organization-title {
168209
display: flex;
@@ -182,7 +223,6 @@
182223
.explore-organization-data {
183224
display: flex;
184225
flex-direction: row;
185-
cursor: pointer;
186226
justify-content: flex-end;
187227
align-items: center;
188228
margin-left: auto;
@@ -196,4 +236,4 @@
196236
}
197237
}
198238
}
199-
}
239+
}

src/style/shell.css

+23-8
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,43 @@
4444
justify-content: flex-end;
4545
gap: 1rem;
4646

47+
> div {
48+
width: 40px;
49+
height: 40px;
50+
display: flex;
51+
justify-content: center;
52+
align-items: center;
53+
}
54+
4755
.app-header-right-create-target {
56+
width: 100%;
57+
height: 100%;
58+
padding: 0;
59+
display: flex;
60+
font-size: 20px;
61+
justify-content: center;
62+
align-items: center;
4863
background: #ffffff;
4964
color: #000000;
5065
border: 1px #d4d4d4 solid;
5166
}
5267

5368
.app-header-right-create-notify {
54-
background: #ffffff;
55-
color: #000000;
56-
border: 1px #d4d4d4 solid;
57-
padding: 8px 0.8rem;
58-
border-radius: 3px;
69+
width: 100%;
70+
height: 100%;
5971
display: flex;
72+
justify-content: center;
6073
align-items: center;
74+
font-size: 20px;
75+
border: 1px #d4d4d4 solid;
6176
}
6277

6378
.app-header-right-create-notify:hover {
6479
background: #fafafa;
6580
color: black;
6681
}
82+
83+
6784
}
6885

6986
.collapsed {
@@ -80,8 +97,6 @@
8097
background: #fafafa;
8198
color: black;
8299
}
83-
84-
85100
}
86101

87102
.navbar {
@@ -123,4 +138,4 @@
123138
background: #f2f0f0;
124139
}
125140
}
126-
}
141+
}

0 commit comments

Comments
 (0)