Skip to content

Commit 61e5b27

Browse files
Nikola HristovNikola Hristov
authored andcommitted
1 parent 90a2063 commit 61e5b27

File tree

6 files changed

+1075
-1072
lines changed

6 files changed

+1075
-1072
lines changed

.cache/Commit/Cache.json

Lines changed: 1061 additions & 1056 deletions
Large diffs are not rendered by default.

Source/Function/Commit/Layout.astro

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let Last =
1616
// @ts-expect-error
1717
Last = Last.map((Commit) => ({
1818
"Author": Commit["commit"]["author"]["name"] ?? "",
19-
"Commit Message": Commit["message"] ?? "No Commit Message",
19+
"Commit Message": Commit["message"] ?? "",
2020
"Date": Commit["commit"]["author"]["date"] ?? "",
2121
"HREF": Commit["html_url"] ?? "",
2222
"SHA": Commit["sha"] ?? "",
@@ -146,18 +146,18 @@ const UUID = (await import("@Function/UUID/Fn.js")).default();
146146
title: "COMMIT MESSAGE",
147147
data: "Commit Message",
148148
render: (Text) =>
149-
`<span class="Text">${Text}</span>`,
149+
`<span class="Text">${Text.trim() === "" || Text.trim().length === 0 ? "No Commit Message 😶" : `${Text.trim()} 🗣️`}</span>`,
150150
},
151151
{
152152
title: "AUTHOR",
153153
data: "Author",
154154
render: (Text) =>
155-
`<span class="Text">${Text}</span>`,
155+
`<span class="Text">${Text} ✍️</span>`,
156156
},
157157
{
158158
title: "DATE",
159159
render: (Text) =>
160-
`<span class="Text">${new Date(Text).toLocaleDateString()}</span>`,
160+
`<span class="Text">${new Date(Text).toLocaleDateString()} 📅</span>`,
161161
data: (Row) => new Date(Row.Date).getTime(),
162162
},
163163
{
@@ -170,7 +170,7 @@ const UUID = (await import("@Function/UUID/Fn.js")).default();
170170
href="${Row.HREF}" \
171171
rel="noopener noreferrer" \
172172
target="_blank"> \
173-
<span class="Text">@COMMIT_</span><span class="tabular-nums uppercase font-Hack Text">${Row.SHA}</span> \
173+
<span class="Text">@COMMIT_</span><span class="tabular-nums uppercase font-Hack Text">${Row.SHA} 🔗</span> \
174174
</a>`,
175175
data: (Row) => `@COMMIT_${Row.SHA}`,
176176
},
@@ -183,19 +183,18 @@ const UUID = (await import("@Function/UUID/Fn.js")).default();
183183
scrollY: "1000px",
184184
processing: true,
185185
order: [[2, "desc"]],
186-
drawCallback: (Internal) => {
186+
drawCallback: (Internal) =>
187187
Internal["oPreviousSearch"]["search"]
188188
.split("_")
189-
.forEach((El: string) => {
189+
.forEach((El: string) =>
190190
document
191191
.querySelectorAll<HTMLSpanElement>(
192192
`#${Internal["sInstance"]} .Text`,
193193
)
194-
.forEach((Element) => {
195-
HighLight(Element, El);
196-
});
197-
});
198-
},
194+
.forEach((Element) =>
195+
HighLight(Element, El),
196+
),
197+
),
199198
});
200199
}
201200
}

Target/.vite/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Source/Function/Commit/Layout.astro?astro&type=script&index=0&lang.ts": {
3-
"file": "_astro/Layout.astro_astro_type_script_index_0_lang.Dy0QEfDz.js",
3+
"file": "_astro/Layout.astro_astro_type_script_index_0_lang.y2qKQbkH.js",
44
"name": "Layout.astro_astro_type_script_index_0_lang",
55
"src": "Source/Function/Commit/Layout.astro?astro&type=script&index=0&lang.ts",
66
"isEntry": true

Target/_astro/Layout.astro_astro_type_script_index_0_lang.Dy0QEfDz.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

Target/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"license": "SEE LICENSE IN LICENSE",
1414
"author": {
15-
"name": "Source 🖋️ Open 👐🏻",
15+
"name": "Source ✍🏻 Open 👐🏻",
1616
"email": "Source/Open@Editor.Land",
1717
"url": "HTTPS://Editor.Land"
1818
},

0 commit comments

Comments
 (0)