Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Thread Persistence Duration #21

Open
santthosh opened this issue Apr 9, 2024 · 0 comments
Open

Configurable Thread Persistence Duration #21

santthosh opened this issue Apr 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@santthosh
Copy link
Collaborator

Overview

Introduce a feature allowing users to configure the persistence time span of threads. This enhancement will enable users to set the duration for which threads remain active or stored, based on their preferences or requirements, with options ranging from minutes to days.

Feature Description

Currently, our assistants maintains threads for a default duration of 24 hours, which may not align with the varied needs of our users. By providing the ability to adjust the persistence time span of threads, we can offer a more tailored and flexible user experience. This feature would be particularly useful in scenarios where the relevance of information within threads diminishes over time or needs to be retained for longer periods for audit or reference purposes.

User Stories

  • As a user, I want to set the thread persistence time to 30 minutes for rapid discussions that quickly become irrelevant.
  • As a moderator, I wish to configure certain threads to persist for several days or indefinitely for ongoing discussions or important announcements.
  • As an admin, I need the ability to set default persistence times for different categories of threads to better manage content and server resources.

Proposed Solution

  • Introduce settings in the user interface to configure the persistence time span of threads, with predefined options (e.g., 30 minutes, 1 hour, 24 hours, 7 days, Indefinitely).
  • Allow administrators to set default persistence durations for threads across the platform, with the option for users or moderators to adjust individual threads within those parameters.
  • Implement backend logic to automatically archive or delete threads based on their configured persistence settings.

Acceptance Criteria

  1. Administrators have the ability to define default persistence settings for all threads.
  2. Thread persistence must be scoped to the assistants

Implementation Considerations

  • Ensure that the user interface for configuring the persistence time span is intuitive and accessible within the thread creation or settings panel.

Impact

This feature will significantly enhance user and moderator control over content management and potentially improve the application's performance by ensuring that only relevant threads occupy server resources.

@santthosh santthosh added the enhancement New feature or request label Apr 9, 2024
@santthosh santthosh moved this to Ready in AssistantsHub Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

1 participant