-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit ddcea5a Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 13:33:09 2025 -0500 🛠️ Add "has_changelog" to plugin packager commit 2af409d Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 13:14:16 2025 -0500 ❗ Forgot a changelog item commit 3e2a0c2 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 13:11:09 2025 -0500 🚧 v1.6.0 commit f54f807 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 11:52:58 2025 -0500 🚧 Improved version handling commit 02b1860 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 11:28:50 2025 -0500 🚧 Version warning Added a warning when loading AJ data packs in versions they weren't exported for. commit cc88b83 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Jan 8 10:48:27 2025 -0500 🛠️ Fix transparent texture and missing tags - Fix incorrect export location for transparent texture. - Fix tags getting cleared out in old exports. commit 271a0f6 Author: SnaveSutit <snavesutit@gmail.com> Date: Tue Jan 7 14:28:24 2025 -0500 🚧 Add extraction confirmation commit 0070b9c Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 12:35:17 2024 -0500 🛠️ Slightly improved empty JSON text rendering #322 commit 5781f3f Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:58:35 2024 -0500 🛠️ Fix #342 commit 83acc4f Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:45:52 2024 -0500 🛠️ Fix #340 commit 339345e Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:44:04 2024 -0500 🛠️ Fix #343 commit 9912d7c Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:33:24 2024 -0500 🛠️ Fix #341 commit e3129d1 Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:30:49 2024 -0500 🛠️ Fix #345 commit 99446a5 Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:14:42 2024 -0500 🛠️ Fixed #347 commit 89369b1 Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:06:52 2024 -0500 🛠️ Fix #349 commit a7b1753 Author: SnaveSutit <snavesutit@gmail.com> Date: Mon Dec 30 11:05:09 2024 -0500 🛠️ Fix #348 commit 5d24c77 Author: SnaveSutit <snavesutit@gmail.com> Date: Tue Dec 24 06:07:18 2024 -0500 🚧 Add .mcb file compression. commit d567389 Author: SnaveSutit <snavesutit@gmail.com> Date: Tue Nov 26 17:52:04 2024 -0500 Squashed commit of the following: commit 7aeec46 Author: SnaveSutit <snavesutit@gmail.com> Date: Thu Nov 21 14:14:15 2024 -0500 🚧 1.21.4 Export - Added 1.21.4 target MC version. - Changed missing assets and data folder for resource and data pack folder settings errors into warnings. - Added an action to extract all of a blueprint's export files from a data pack / resource pack. - Added support for item definitions (1.21.4). - Changed default resource pack structure: `animated_java:textures/item/export_namespace/` -> `animated_java:textures/blueprint/export_namespace/` `animated_java:models/item/export_namespace/` -> `animated_java:models/blueprint/export_namespace/` commit efdc207 Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 16 11:18:07 2024 -0500 🚧 Prevent exporting with invalid rotations. - Added a dialog and exception for exporting a blueprint with invalid cube rotations. commit fac53dc Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 16 11:09:30 2024 -0500 🚧 Enforce Per-Face UV when converting commit d285985 Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 2 17:37:32 2024 -0400 🚧 Squashed v1.5.0, v1.5.1, and v1.5.2. commit bcbb6f8 Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 2 17:33:16 2024 -0400 🛠️ Fix broken asset download on first startup. commit 9a3b525 Author: SnaveSutit <snavesutit@gmail.com> Date: Fri Nov 1 15:08:57 2024 -0400 ✨ Improved tellraw messages commit d8dbdbd Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 30 17:53:35 2024 -0400 Fix production build script issues. commit 2dce027 Author: SnaveSutit <snavesutit@gmail.com> Date: Tue Oct 29 11:10:47 2024 -0400 🛠️ Static Export Locator / Camera Fixes - Fixed use entity locators and cameras not summoning properly in static mode commit 66986b7 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:58:02 2024 -0400 🚧 v1.5.1 commit 357bfa2 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:57:52 2024 -0400 🛠️ Fix broken passengers from summon tp command commit 7d95287 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:58:29 2024 -0400 🚧 Squashed v.1.5.1 commit 66986b7 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:58:02 2024 -0400 🚧 v1.5.1 commit 357bfa2 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:57:52 2024 -0400 🛠️ Fix broken passengers from summon tp command commit bd7c6b1 Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 9 04:03:22 2024 -0500 ✨ Add a toast notification for invalid cubes commit bcbb6f8 Author: SnaveSutit <snavesutit@gmail.com> Date: Sat Nov 2 17:33:16 2024 -0400 🛠️ Fix broken asset download on first startup. commit 9a3b525 Author: SnaveSutit <snavesutit@gmail.com> Date: Fri Nov 1 15:08:57 2024 -0400 ✨ Improved tellraw messages commit d8dbdbd Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 30 17:53:35 2024 -0400 Fix production build script issues. commit 2dce027 Author: SnaveSutit <snavesutit@gmail.com> Date: Tue Oct 29 11:10:47 2024 -0400 🛠️ Static Export Locator / Camera Fixes - Fixed use entity locators and cameras not summoning properly in static mode commit 66986b7 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:58:02 2024 -0400 🚧 v1.5.1 commit 357bfa2 Author: SnaveSutit <snavesutit@gmail.com> Date: Wed Oct 23 09:57:52 2024 -0400 🛠️ Fix broken passengers from summon tp command
- Loading branch information
1 parent
7aeec46
commit 4482a54
Showing
42 changed files
with
4,025 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<script lang="ts"> | ||
import changelog from '../pluginPackage/changelog.json' | ||
function formatDateFull(date: string) { | ||
// @ts-expect-error | ||
return getDateDisplay(date).full | ||
} | ||
function formatDateShort(date: string) { | ||
// @ts-expect-error | ||
return getDateDisplay(date).short | ||
} | ||
const ISSUES_URL = 'https://api.github.com/repos/animated-java/animated-java/issues/' | ||
async function formatMarkdown(text: string) { | ||
const issues: Record<number, { title: string; url: string }> = {} | ||
text = text.replace(/\[(.*?)\]\((.*?)\)/g, (match, title, url) => { | ||
const issueMatch = url.match(/issues\/(\d+)/) | ||
if (issueMatch) { | ||
const issueNumber = parseInt(issueMatch[1]) | ||
issues[issueNumber] = { title, url } | ||
return `$$$ISSUE${issueNumber}$$$` | ||
} | ||
return `<a href="${url}" target="_blank">${title}</a>` | ||
}) | ||
for (const [issueNumber, { title, url }] of Object.entries(issues)) { | ||
await fetch(`${ISSUES_URL}${issueNumber}`) | ||
.then(response => response.json()) | ||
.then(data => { | ||
text = text.replace( | ||
`$$$ISSUE${issueNumber}$$$`, | ||
`<a href="${url}" target="_blank">#${issueNumber} - ${data.title}</a>`, | ||
) | ||
}) | ||
} | ||
// inline code blocks | ||
text = text.replace(/`([^`]+?)`/g, '<code>$1</code>') | ||
return text | ||
} | ||
</script> | ||
|
||
<div class="content plugin_browser_tabbed_page" id="plugin_browser_changelog"> | ||
{#each Object.values(changelog) as versions} | ||
<h3> | ||
{versions.title} | ||
</h3> | ||
<!-- svelte-ignore a11y-label-has-associated-control --> | ||
<label class="plugin_changelog_author">{versions.author}</label> | ||
<!-- svelte-ignore a11y-label-has-associated-control --> | ||
<label class="plugin_changelog_date" title={formatDateFull(versions.date)}> | ||
<i class="material-icons icon">calendar_today</i> | ||
<!-- svelte-ignore missing-declaration --> | ||
{formatDateShort(versions.date)} | ||
</label> | ||
<ul> | ||
{#each versions.categories as category} | ||
<li> | ||
<h4>{category.title}</h4> | ||
<ul class="plugin_changelog_features"> | ||
{#each category.list as item} | ||
<li> | ||
{#await formatMarkdown(item) then data} | ||
{@html data} | ||
{/await} | ||
</li> | ||
{/each} | ||
</ul> | ||
</li> | ||
{/each} | ||
</ul> | ||
<hr /> | ||
{/each} | ||
</div> | ||
|
||
<style> | ||
.content { | ||
max-height: 75vh; | ||
overflow: auto; | ||
} | ||
:global(.plugin_browser_tabbed_page code) { | ||
background-color: var(--color-back); | ||
padding: 0.2em 0.4em; | ||
border-radius: 3px; | ||
font-size: 0.8em; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import ChangelogDialog from '../components/changelogDialog.svelte' | ||
import { PACKAGE } from '../constants' | ||
import { SvelteDialog } from '../util/svelteDialog' | ||
import { translate } from '../util/translation' | ||
|
||
export const DIALOG_ID = `${PACKAGE.name}:animationPropertiesDialog` | ||
|
||
export function openChangelogDialog() { | ||
new SvelteDialog({ | ||
id: DIALOG_ID, | ||
title: translate('dialog.changelog_dialog.title'), | ||
width: 600, | ||
component: ChangelogDialog, | ||
props: {}, | ||
buttons: ['OK!'], | ||
preventKeybinds: true, | ||
}).show() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.