Skip to content

Commit

Permalink
feat: new image parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
agatha197 committed Oct 31, 2024
1 parent 99b7cd2 commit b75514d
Show file tree
Hide file tree
Showing 29 changed files with 349 additions and 193 deletions.
10 changes: 4 additions & 6 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"Backendai",
"backendaiclient",
"backendaioptions",
"baseversion",
"cssinjs",
"cuda",
"FGPU",
Expand All @@ -19,17 +20,14 @@
"RNGD",
"shmem",
"superadmin",
"textbox",
"vaadin",
"vfolder",
"vfolders",
"Warboy",
"webcomponent",
"webui",
"wsproxy",
"vfolders",
"vfolder",
"filebrowser",
"vaadin",
"textbox"
"wsproxy"
],
"flagWords": [
"데이터레이크",
Expand Down
41 changes: 38 additions & 3 deletions react/data/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,18 @@ type Queries {
group_node(id: String!): GroupNode

"""Added in 24.03.0."""
group_nodes(filter: String, order: String, offset: Int, before: String, after: String, first: Int, last: Int): GroupConnection
group_nodes(
"""Added in 24.09.0."""
filter: String

"""Added in 24.09.0."""
order: String
offset: Int
before: String
after: String
first: Int
last: Int
): GroupConnection
group(
id: UUID!
domain_name: String
Expand Down Expand Up @@ -287,12 +298,24 @@ type ImageNode implements Node {

"""Added in 24.03.4. The undecoded id value stored in DB."""
row_id: UUID
name: String
name: String @deprecated(reason: "Deprecated since 24.09.1. use `namespace` instead")

"""Added in 24.09.1."""
namespace: String

"""Added in 24.09.1."""
base_image_name: String

"""Added in 24.03.10."""
project: String
humanized_name: String
tag: String

"""Added in 24.09.1."""
tags: [KVPair]

"""Added in 24.09.1."""
version: String
registry: String
architecture: String
is_local: Boolean
Expand Down Expand Up @@ -504,12 +527,24 @@ type Group {

type Image {
id: UUID
name: String
name: String @deprecated(reason: "Deprecated since 24.09.1. use `namespace` instead")

"""Added in 24.09.1."""
namespace: String

"""Added in 24.09.1."""
base_image_name: String

"""Added in 24.03.10."""
project: String
humanized_name: String
tag: String

"""Added in 24.09.1."""
tags: [KVPair]

"""Added in 24.09.1."""
version: String
registry: String
architecture: String
is_local: Boolean
Expand Down
4 changes: 2 additions & 2 deletions react/src/components/DoubleTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DoubleTag: React.FC<{
return (
<Flex direction="row">
{_.map(objectValues, (objValue, idx) => {
return (
return !_.isEmpty(objValue.label) ? (
<Tag
key={idx}
style={
Expand All @@ -44,7 +44,7 @@ const DoubleTag: React.FC<{
>
{objValue.label}
</Tag>
);
) : null;
})}
</Flex>
);
Expand Down
Loading

0 comments on commit b75514d

Please sign in to comment.