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

Decisions decisions: Add decision-making flow for stale threads #271

Merged
merged 11 commits into from
Nov 4, 2024

Commits on Jan 24, 2024

  1. Add initial implementation of thread archive checks

    These nudges happen when a thread is within 24 hours of its auto-archive
    time frame, and nudge the participants to take action to close the
    thread out.
    
    The current iteration gives the option to immediately archive, ask for a
    decision, ask for a status, or ask for a task to be captured. The three
    latter actions prompt for a person to identify as the person to decide,
    give status, or capture task. The robot then pings that person and lets
    them know that the thread will be auto-archived in 24 hours and to give
    their info in that time frame.
    
    Notably, by this point the bot has already set the thread to auto-
    archive in 24 hours.
    
    Soon we'll want a couple of these paths to re-extend the auto-archive
    time frame back to the server default if possible, once the designated
    person replies.
    
    There is also a currently-unused code path that heuristically determines
    if the full lifetime of a thread has been synchronous; in that case, it
    does not act in any way to change auto-archive or prompt for outcomes.
    These threads are treated as representing complete conversations.
    Shadowfiend committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    be5da86 View commit details
    Browse the repository at this point in the history
  2. Unify follow-up action request handling for thread archiving

    When a user responds to the follow-up action request, they can designate
    themselves or another user to take the follow-up action (e.g. capturing
    a task, posting a status, or capturing a decision). This path looks
    roughly the same for all actions, including pinging a user if the
    requester selects someone other than themselves to take the follow-up
    action.
    
    Also add a FIXME regarding forced thread archiving.
    Shadowfiend committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    a4bca58 View commit details
    Browse the repository at this point in the history
  3. Move channel metadata handling to a common file, add permitted features

    Permitted features are tracked for a thread, channel, or category. The
    functionality for whether a thread is sync or not is rolled into a
    generic channel metadata functionality, which now includes permitted
    features per thread/channel/category.
    
    Note that there is not yet an external way to add to the permitted
    features metadata.
    Shadowfiend committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    0717ee3 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Fix interaction errors

    This resolves an interaction error triggering if the user tagged themselves, so instead we wipe the dropdown afterwards.
    
    to-do: Add channel for testing based on feedback
    zuuring committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    fe5d473 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78f61ec View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Add Acre channels for testing

    zuuring committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    539badd View commit details
    Browse the repository at this point in the history
  2. Update utils.ts

    zuuring committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    aa347b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Update utils.ts

    zuuring committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    6069e40 View commit details
    Browse the repository at this point in the history
  2. Update utils.ts

    zuuring committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    131c218 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    0dce2bd View commit details
    Browse the repository at this point in the history
  2. Fix type checks

    zuuring committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    83a05e7 View commit details
    Browse the repository at this point in the history