Skip to content

Prioritize Activities#50

Open
mfcollins3 wants to merge 3 commits intomainfrom
41-prioritize-activities
Open

Prioritize Activities#50
mfcollins3 wants to merge 3 commits intomainfrom
41-prioritize-activities

Conversation

@mfcollins3
Copy link
Member

I implemented the time activity order command that allows users to prioritze activities. The order command has two modes. The first mode will display an interactive list of the activities in the Activity Inventory that are sorted by priority. The user can select and move an activity in the list. The other mode is a CLI command that allows the user to specify the ID of the activity to move and the ID of the activity to move the first activity either before or after.

Closes #41

I created the `activity order` CLI command to allow users to set the
priority or order of activities in their Activity Inventory. The command
will display an interactive terminal UI where users can select and
reorder activities. The new order will be saved to the database and
reflected in the Activity Inventory display.
I added command line arguments to make it possible to reorder a single
activity before or after another activity. This allows users to
prioritize their tasks directly from the command line interface.
I refactored the source code to remove duplicated code in the functions
that moved an activity before or after another activity.
@mfcollins3 mfcollins3 self-assigned this Oct 5, 2025
@mfcollins3 mfcollins3 added the enhancement New feature or request label Oct 5, 2025
@mfcollins3 mfcollins3 linked an issue Oct 5, 2025 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Oct 5, 2025

🐳 Container Image Built

Your PR container image has been built and published:

ghcr.io/nakedsoftware/time:pr-50

Supported architectures: linux/amd64, linux/arm64

Usage:

docker run --rm ghcr.io/nakedsoftware/time:pr-50 --help

🗑️ This image will be automatically deleted when the PR is closed.

@mfcollins3
Copy link
Member Author

/build-macos

@github-actions
Copy link

github-actions bot commented Oct 5, 2025

✅ macOS ARM64 Build Complete

Build Details:

  • Version: pr-50-bdc82fa
  • Commit: bdc82fa
  • Architecture: macOS ARM64 (Apple Silicon)

Download:
🍎 time-macos-arm64-pr-50-bdc82fa.tar.gz

Note: Click the link above, then scroll down to the "Artifacts" section to download the build.

Usage after download:

tar -xzf time-macos-arm64-pr-50-bdc82fa.tar.gz
./time-macos-arm64 --help

Build triggered by /build-macos command

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

None yet

Development

Successfully merging this pull request may close these issues.

Prioritize Activities

1 participant