Releases: zpt0/Clonecord
Releases · zpt0/Clonecord
Release list
v1.1.1
What's Changed
New: Updates channel navigation
- Added
navigateToUpdatesChannel()incomponents/UpdateModal.tsx, now exported and called on plugin startup - The plugin automatically navigates to the updates channel a few seconds after start so release notes are always in reach
Changed: Discord server is live
- Support invite updated to
discord.gg/MKU8zvHBBJinconstants.tsand the README badges SUPPORT_INVITE_CODEandUPDATES_CHANNEL_IDare now configured to the real server and updates channel
Changed: Release workflow fixes
- Fixed duplicated release title in the generated release body
- Aligned YAML indentation and formatted the workflow with prettier
Changed: Version bump
PLUGIN_VERSIONandpackage.json:1.1.0->1.1.1
Removed
- Nothing removed in this release
Commit: 2737f2e — fix: finally updated Discord invite link and channel ID because the server is ready
v1.1.0
What's Changed
New: Post-clone summary notification with stats and retry
- Added
showCloneSummary(stats, failures)inutils/notifications.tsthat displays a pill notification after cloning completes - Added
retryFailedItems(failures)to re-attempt failed items directly from the notification - Summary shows counts like
5 channels, 3 roles, 2 emojisand lists individual failures with context/name/error - Action buttons on failure: View Errors and Retry Failed
New: CloneModal UI enhancements
- Added state variables
targetChannelCountandtargetRoleCountincomponents/CloneModal.tsx - Added
useEffectto count target channels/roles whentargetGuildIdis selected - Guild icon now displayed in header via Discord CDN with fallback to first letter placeholder
- Stats badges below title:
# X channels,@ Y roles - Diff preview badges in overwrite mode:
+N channels,-M channels,+N roles,-M roles - Diff preview badges in resume mode:
+N channels to add,+N roles to add, orAll items already exist - New CSS classes for header, icon, badges, and diff colors
New: Stats tracking in clone functions
core/cloneChannels.ts: NewCloneChannelsResultinterface withchannelsCloned,categoriesCloned,channelsFailed,categoriesFailedcore/cloneRoles.ts: NewCloneRolesResultandCloneEmojisResultinterfaces; tracks counts; pushes failures tostate.failedItemscore/cloneAssets.ts:cloneStickersandcloneSoundboardpush failures tostate.failedItemscore/clone.ts:cloneServercollects all stats intostate.cloneStatsand callsshowCloneSummary()on completion or failure
New: Types and state
types.ts: AddedCloneStatsinterface (channelsCloned,categoriesCloned,rolesCloned,emojisCloned,stickersCloned,soundboardCloned,onboardingCloned) andCloneFailureinterface (context,name,error)store.ts: AddedcloneStats: CloneStats | nullandfailedItems: CloneFailure[]
Changed: escapeHtml optimization
utils/helpers.ts: RewroteescapeHtml()from DOM-based (document.createElement("div")) to pure string replacement using.replace()chain for&,<,>,",'utils/__tests__/helpers.test.ts: AddedescapeHtmltest suite with 8 test cases
Changed: Version bump
constants.ts:PLUGIN_VERSION"1.0.0"->"1.1.0"package.json:version"1.0.0"->"1.1.0"package-lock.json:version"1.0.0"->"1.1.0"
Removed
- Nothing removed in this release
Commit: 1687e81 — feat: Implement clone summary notification and retry functionality for failed items