Skip to content

Torrent detail UX: merge tag actions, category badge, reannounce inline with trackers, server-state toggles#64

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-tag-ui-element
Closed

Torrent detail UX: merge tag actions, category badge, reannounce inline with trackers, server-state toggles#64
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-tag-ui-element

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 14, 2026

Consolidates redundant tag UI, surfaces category as a visual badge, moves reannounce out of its own row and into the Trackers row, adds success feedback on reannounce, and ensures advanced toggles reflect live server state.

Changes

Tags — single entry point

  • Removed duplicate handleRemoveTags (identical to handleAddTags — both opened TagsModal)
  • Dropped tappableRow(removeTags) from General section; single Tags row remains

Category badge

  • Replaced plain tappableRow for category with new categoryBadgeRow helper
  • Renders a pill badge: colors.primary fill + white text when set, muted when "None"

Reannounce → inline icon on Trackers row

  • Added trackersWithReannounceRow helper: megaphone icon button fires reannounce, chevron navigates to manage-trackers
  • Removed standalone tappableRow(reannounce) from Advanced section
const trackersWithReannounceRow = (label, value, onNav) => (
  <View style={styles.row}>
    ...
    <TouchableOpacity style={styles.reannounceIconBtn} onPress={handleReannounce}>
      <Ionicons name="megaphone" size={14} color="#FFFFFF" />
    </TouchableOpacity>
    <TouchableOpacity onPress={onNav}>
      <Text style={styles.chevron}></Text>
    </TouchableOpacity>
  </View>
);

Toast on reannounce

  • handleReannounce now calls showToast(t('toast.reannounceSent'), 'success') on success

Advanced toggles (no change needed)

  • cursor/codebase-improvement-plan-8686 already uses toggleRow + native Switch reading from torrent.seq_dl, torrent.f_l_piece_prio, torrent.super_seeding, torrent.force_start

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh auth status bash --no�� nts/SpeedGraph.tsx (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…oast notification, advanced toggle state colors

Co-authored-by: taylorcox75 <10939863+taylorcox75@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor tags and detailed view UI elements Torrent detail UI: merge tag actions, category badge, reannounce as icon, toggle state visibility Mar 14, 2026
Copilot AI requested a review from taylorcox75 March 14, 2026 21:30
Copilot AI changed the title Torrent detail UI: merge tag actions, category badge, reannounce as icon, toggle state visibility Torrent detail UX: merge tag actions, category badge, reannounce inline with trackers, server-state toggles Mar 14, 2026
@taylorcox75 taylorcox75 deleted the copilot/remove-tag-ui-element branch March 15, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants