[GH-ISSUE #1253] Feature Request: Merge Tags #2280

Open
opened 2026-03-01 17:57:53 +03:00 by kerem · 1 comment
Owner

Originally created by @onemenzel on GitHub (Oct 24, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1253

Type

  • General question or discussion
  • Propose a brand new feature
  • Request modification of existing behavior or design

What is the problem that your feature request solves

When I'm adding a page to my snapshots, I usually don't remember all the tags I already have. When I'm scrolling through my tags, I then often notice duplicate tags, e.g. where I used another spelling, or one German and one English tag, etc.

(Using the :latest docker image btw.)

Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes

I want to merge those tags. It would be nice if I could select multiple tags, click a "Merge" button and get to a screen where I can type in how the new tag should be called. That tag is then assigned all articles of the former tags.

What hacks or alternative solutions have you tried to solve the problem?

Make a list of articles in an old tag, delete it and re-add it to the other one.

How badly do you want this new feature?

  • It's an urgent deal-breaker, I can't live without it
  • It's important to add it in the near-mid term future – I'm slowly but surely getting more and more tags
  • It would be nice to have eventually

  • I'm willing to contribute dev time / money to fix this issue
  • I like ArchiveBox so far / would recommend it to a friend
  • I've had a lot of difficulty getting ArchiveBox set up

I might invest some dev time at one point, but right now, I can't say when I might have time for that.

Originally created by @onemenzel on GitHub (Oct 24, 2023). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1253 <!-- Please fill out the following information, feel free to delete sections if they're not applicable or if long issue templates annoy you :) --> ## Type - [ ] General question or discussion - [x] Propose a brand new feature - [ ] Request modification of existing behavior or design ## What is the problem that your feature request solves <!-- e.g. I need to be able to archive spanish and french subtitle files from a particular <example.com> movie site that's going down soon. --> When I'm adding a page to my snapshots, I usually don't remember all the tags I already have. When I'm scrolling through my tags, I then often notice duplicate tags, e.g. where I used another spelling, or one German and one English tag, etc. (Using the :latest docker image btw.) ## Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes <!-- e.g. I specifically need a new archive method to look for multilingual subtitle files related to pages. The bigger picture solution is the ability for custom user scripts to be run in a puppeteer context during archiving. --> I want to merge those tags. It would be nice if I could select multiple tags, click a "Merge" button and get to a screen where I can type in how the new tag should be called. That tag is then assigned all articles of the former tags. ## What hacks or alternative solutions have you tried to solve the problem? <!-- A clear and concise description of any alternative solutions, workarounds, or other software you've considered using to fix the problem. --> Make a list of articles in an old tag, delete it and re-add it to the other one. ## How badly do you want this new feature? - [ ] It's an urgent deal-breaker, I can't live without it - [x] It's important to add it in the near-mid term future – I'm slowly but surely getting more and more tags - [ ] It would be nice to have eventually --- - [ ] I'm willing to contribute [dev time](https://github.com/ArchiveBox/ArchiveBox#archivebox-development) / [money](https://github.com/sponsors/pirate) to fix this issue - [x] I like ArchiveBox so far / would recommend it to a friend - [ ] I've had a lot of difficulty getting ArchiveBox set up I might invest some dev time at one point, but right now, I can't say when I might have time for that.
Author
Owner

@pirate commented on GitHub (Oct 25, 2023):

  1. Go to Tags list page and click the "# snapshots" to go to the list of snapshots with that tag
    Screenshot 2023-10-25 at 2 31 44 PM

  2. Select all the snapshots with the checkbox in the upper left
    Screenshot 2023-10-25 at 2 32 01 PM

  3. Add the new tag (Create it here /admin/core/tag/add/ if it doesn't exit yet)
    Screenshot 2023-10-25 at 2 32 24 PM
    image

  4. Remove the old tag
    Screenshot 2023-10-25 at 2 32 14 PM

<!-- gh-comment-id:1780090476 --> @pirate commented on GitHub (Oct 25, 2023): 1. Go to Tags list page and click the "# snapshots" to go to the list of snapshots with that tag <img width="642" alt="Screenshot 2023-10-25 at 2 31 44 PM" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/cd34ca90-302b-494e-b17e-165a0c0580b6"> 2. Select all the snapshots with the checkbox in the upper left <img width="800" alt="Screenshot 2023-10-25 at 2 32 01 PM" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/ea8a001b-ae3f-493c-924f-5b2b54384491"> 3. Add the new tag (Create it here `/admin/core/tag/add/` if it doesn't exit yet) <img width="305" alt="Screenshot 2023-10-25 at 2 32 24 PM" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/dba0e915-503d-4443-9d7d-79ebb8e86c1c"> <img width="150" alt="image" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/554c4994-73b7-425c-a917-9b7002a3aa4a"> 5. Remove the old tag <img width="335" alt="Screenshot 2023-10-25 at 2 32 14 PM" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/783616c3-8184-40be-986d-768c92aff5f2">
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2280
No description provided.