Skip to content

Comments

feat(tasks): add task archiving beta feature#290

Draft
filipexyz wants to merge 3 commits intodevfrom
feat/task-archiving
Draft

feat(tasks): add task archiving beta feature#290
filipexyz wants to merge 3 commits intodevfrom
feat/task-archiving

Conversation

@filipexyz
Copy link
Contributor

@filipexyz filipexyz commented Nov 29, 2025

Summary

Adds a task archiving beta feature that allows users to toggle the visibility of the archived column on the kanban board.

Screen.Recording.2025-11-28.at.22.48.21.mov

Changes:

  • Add task_archiving beta feature config in beta-features.toml
  • Hide archived column from kanban by default when beta feature is enabled
  • Add "Archived" button in breadcrumb row to show/hide the archived column
  • Users can drag tasks to/from the archived column to archive/unarchive

How it works:

  1. Enable "Task Archiving" in Settings > Beta Features
  2. Archived column is hidden by default
  3. Click "Archived (N)" button to show the column
  4. Drag tasks to archived column to archive, drag out to unarchive
  5. Click button again to hide the column

Test plan

  • Enable beta feature in Settings > Beta Features
  • Verify archived column is hidden on kanban board
  • Click "Archived" button and verify column appears
  • Drag a task to archived column
  • Drag a task out of archived column to unarchive
  • Click button again to hide column
  • Disable beta feature and verify archived column shows normally

🤖 Generated with Claude Code

filipexyz and others added 3 commits November 28, 2025 18:18
…abase state

Implements a hybrid beta features system where feature definitions live in a
version-controlled TOML config file (requires PR review to add features) while
user-enabled state persists in the database. Includes Settings UI with toggles,
maturity badges (experimental/beta/stable), and React components for gating UI
sections behind feature flags.

Backend: BetaFeaturesService with list/toggle/is_enabled APIs
Frontend: BetaFeaturesProvider context, useBetaFeature hook, BetaFeatureGate component

Closes #287

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Propagate current_dir() error instead of silent fallback (HIGH)
- Cache TOML config at service creation for efficiency (HIGH)
- Return NOT_FOUND vs INTERNAL_SERVER_ERROR appropriately (MEDIUM)
- Track per-feature toggle loading state in UI (MEDIUM)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add task_archiving beta feature to toggle archived column visibility
- Hide archived column from kanban by default when beta enabled
- Add "Archived" button in breadcrumb to show/hide archived column
- Drag tasks to/from archived column to archive/unarchive

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @filipexyz, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request delivers a significant new capability by introducing a 'Task Archiving' beta feature. This feature empowers users to manage their task boards more effectively by allowing them to archive tasks and control the visibility of an 'Archived' column. The changes span both the backend, with a new service for managing beta feature flags, and the frontend, with UI components for interacting with archived tasks and a dedicated settings page for beta features.

Highlights

  • New Beta Feature: Task Archiving: Introduces a new 'Task Archiving' beta feature, allowing users to hide and show an 'Archived' column on the Kanban board.
  • Interactive Archiving: Users can drag tasks to and from the 'Archived' column to archive or unarchive them, providing a flexible way to manage task visibility.
  • Backend Beta Feature Management: Adds a robust backend service for defining, listing, and toggling beta features, with configurations loaded from a TOML file and states persisted in a database.
  • Frontend Beta Feature UI: Implements a new 'Beta Features' settings page in the UI where users can enable or disable experimental features, along with a dedicated 'Archived' button in the breadcrumb for quick access to archived tasks.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@filipexyz filipexyz marked this pull request as draft November 29, 2025 01:47
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a robust beta feature flag system, which is a significant and well-executed addition. The backend implementation in Rust is solid, with a new service for managing features, database persistence, and corresponding API endpoints. The frontend work is also well-structured, featuring a new React context for state management and a settings page for users to toggle features. The 'task archiving' feature is correctly implemented using this new system.

My review focuses on a few areas to enhance maintainability and robustness, such as reducing code duplication in the new BetaFeaturesService, improving error handling to be less reliant on string matching, and making a hardcoded file path more flexible for different deployment scenarios. These are minor points in an otherwise excellent pull request.

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.

1 participant