Skip to content

Releases: zpt0/Clonecord

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 31 Jul 14:46
fa83051

What's Changed

New: Updates channel navigation

  • Added navigateToUpdatesChannel() in components/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/MKU8zvHBBJ in constants.ts and the README badges
  • SUPPORT_INVITE_CODE and UPDATES_CHANNEL_ID are 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_VERSION and package.json: 1.1.0 -> 1.1.1

Removed

  • Nothing removed in this release

Commit: 2737f2efix: finally updated Discord invite link and channel ID because the server is ready

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Jul 21:58
1687e81

What's Changed

New: Post-clone summary notification with stats and retry

  • Added showCloneSummary(stats, failures) in utils/notifications.ts that 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 emojis and lists individual failures with context/name/error
  • Action buttons on failure: View Errors and Retry Failed

New: CloneModal UI enhancements

  • Added state variables targetChannelCount and targetRoleCount in components/CloneModal.tsx
  • Added useEffect to count target channels/roles when targetGuildId is 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, or All items already exist
  • New CSS classes for header, icon, badges, and diff colors

New: Stats tracking in clone functions

  • core/cloneChannels.ts: New CloneChannelsResult interface with channelsCloned, categoriesCloned, channelsFailed, categoriesFailed
  • core/cloneRoles.ts: New CloneRolesResult and CloneEmojisResult interfaces; tracks counts; pushes failures to state.failedItems
  • core/cloneAssets.ts: cloneStickers and cloneSoundboard push failures to state.failedItems
  • core/clone.ts: cloneServer collects all stats into state.cloneStats and calls showCloneSummary() on completion or failure

New: Types and state

  • types.ts: Added CloneStats interface (channelsCloned, categoriesCloned, rolesCloned, emojisCloned, stickersCloned, soundboardCloned, onboardingCloned) and CloneFailure interface (context, name, error)
  • store.ts: Added cloneStats: CloneStats | null and failedItems: CloneFailure[]

Changed: escapeHtml optimization

  • utils/helpers.ts: Rewrote escapeHtml() from DOM-based (document.createElement("div")) to pure string replacement using .replace() chain for &, <, >, ", '
  • utils/__tests__/helpers.test.ts: Added escapeHtml test 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: 1687e81feat: Implement clone summary notification and retry functionality for failed items

v1.0.0 | Release

Choose a tag to compare

@github-actions github-actions released this 20 Jul 15:33
8e62e46

Changes:

  • Initial commit

Full Changelog: https://github.com/6jt8/Clonecord/releases/tag/v1.0.0