@@ -16,7 +16,7 @@ let Last =
1616// @ts-expect-error
1717Last = 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 }
0 commit comments