Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added dialer_icon3.ttf
Binary file not shown.
8,917 changes: 7,207 additions & 1,710 deletions ui/components/spx/builder-component.lib.pen

Large diffs are not rendered by default.

Binary file added ui/images/XBuilder_icon1.ttf
Binary file not shown.
403 changes: 58 additions & 345 deletions ui/pages/spx/community-home.pen

Large diffs are not rendered by default.

628 changes: 90 additions & 538 deletions ui/pages/spx/community-project.pen

Large diffs are not rendered by default.

460 changes: 219 additions & 241 deletions ui/pages/spx/community-user.pen

Large diffs are not rendered by default.

Binary file removed ui/pages/spx/demos/images/Notification-2.gif
Binary file not shown.
Binary file not shown.
Binary file removed ui/pages/spx/demos/images/avatar.png
Binary file not shown.
3 changes: 0 additions & 3 deletions ui/pages/spx/demos/images/back.svg

This file was deleted.

3 changes: 0 additions & 3 deletions ui/pages/spx/demos/images/layer-outlined.svg

This file was deleted.

10 changes: 0 additions & 10 deletions ui/pages/spx/demos/images/location.svg

This file was deleted.

Binary file removed ui/pages/spx/demos/images/navbar bg.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions ui/pages/spx/demos/modify-project-name-and-ID_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
.top-nav {
width: 100%;
min-height: 50px;
background: url("../images/navbar bg.png") center/cover no-repeat;
background: url("../../../images/navbar bg.png") center/cover no-repeat;
display: flex;
align-items: center;
justify-content: space-between;
Expand Down Expand Up @@ -153,7 +153,7 @@
height: 28px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The avatar URL was changed from avatar.png to 用户头像.png (Chinese-character filename). While browsers handle Unicode filenames, some static file servers may behave inconsistently with non-ASCII filenames during path normalization or content-type detection. Consider using an ASCII filename for reliability.

border-radius: 50%;
border: 1.333px solid #fff;
background: #fffaee url("../images/avatar.png") center/cover no-repeat;
background: url("../../../images/用户头像.png") center/cover no-repeat;
display: block;
}

Expand Down
4 changes: 2 additions & 2 deletions ui/pages/spx/demos/notification-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
.topbar {
width: 100%;
height: 50px;
background: url("../images/navbar bg.png") center/cover no-repeat;
background: url("../../../images/navbar bg.png") center/cover no-repeat;
display: flex;
justify-content: center;
}
Expand Down Expand Up @@ -207,7 +207,7 @@
.notify-icon {
width: 26px;
height: 26px;
background: url("../images/Notification-2.gif") center/cover no-repeat;
background: url("../../../images/Notification-2.gif") center/cover no-repeat;
flex: none;
}

Expand Down
4 changes: 2 additions & 2 deletions ui/pages/spx/demos/optimize-sprite-quick-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
width: 1440px;
height: 900px;
position: relative;
background: #dbe6ef url("../images/quick-config-bg.png") center/cover no-repeat;
background: #dbe6ef url("../../../images/quick-config-bg.png") center/cover no-repeat;
}

.window {
Expand Down Expand Up @@ -71,7 +71,7 @@
width: 199px;
height: 200px;
border: 1px solid #0aa5be;
background:url("../images/Sprite-review.png") center/cover no-repeat;
background:url("../../../images/Sprite-review.png") center/cover no-repeat;
position: relative;
transform-origin: center;
cursor: grab;
Expand Down
26 changes: 20 additions & 6 deletions ui/pages/spx/sprite-editor.pen
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.8",
"version": "2.9",
"children": [
{
"type": "frame",
Expand Down Expand Up @@ -33,7 +33,7 @@
"y": 0,
"descendants": {
"a:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand All @@ -50,7 +50,15 @@
"type": "ref",
"ref": "a:fTX71",
"x": 0,
"y": 0
"y": 0,
"descendants": {
"a:j5aNT": {
"enabled": false
},
"a:SHcgk": {
"y": 3.9675902359154804
}
}
},
{
"type": "frame",
Expand Down Expand Up @@ -111,7 +119,7 @@
"y": 0,
"descendants": {
"a:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand Down Expand Up @@ -189,7 +197,7 @@
"y": 0,
"descendants": {
"a:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand Down Expand Up @@ -264,5 +272,11 @@
},
"imports": {
"a": "../../components/spx/builder-component.lib.pen"
}
},
"fonts": [
{
"name": "dialer_icon3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dialer_icon3 is registered as a font here, but inspecting builder-component.lib.pen reveals it is only used by a single element at coordinates x: -14050 (far off-canvas). Every page that registers this 37 KB font will incur an unnecessary network request. Consider either removing this font registration from page files or moving the off-canvas element to use XBuilder_Icons_01 instead.

"url": "../../../dialer_icon3.ttf"
}
]
}
23 changes: 16 additions & 7 deletions ui/pages/spx/stage-editor.pen
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.8",
"version": "2.9",
"children": [
{
"type": "frame",
Expand Down Expand Up @@ -33,7 +33,7 @@
"y": 0,
"descendants": {
"G:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand All @@ -52,6 +52,9 @@
"x": 0,
"y": 0,
"descendants": {
"G:7RooU/G:pkmAo": {
"enabled": false
},
"G:THTPV": {
"y": 3.9675902359154804
}
Expand Down Expand Up @@ -116,7 +119,7 @@
"y": 0,
"descendants": {
"G:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand Down Expand Up @@ -194,7 +197,7 @@
"y": 0,
"descendants": {
"G:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand Down Expand Up @@ -272,7 +275,7 @@
"y": 0,
"descendants": {
"G:BExiL": {
"x": 139.66500000000002
"x": 139.665
}
}
}
Expand All @@ -292,7 +295,7 @@
"y": 0,
"descendants": {
"G:PM6np": {
"y": 4.086377119577447
"y": 4.086377119577446
}
}
},
Expand Down Expand Up @@ -492,5 +495,11 @@
},
"imports": {
"G": "../../components/spx/builder-component.lib.pen"
}
},
"fonts": [
{
"name": "dialer_icon3",
"url": "../../../dialer_icon3.ttf"
}
]
}