Skip to content

Queue Item Order Update #57

Merged
PinkSylvie merged 2 commits intomainfrom
queue_order
Apr 26, 2025
Merged

Queue Item Order Update #57
PinkSylvie merged 2 commits intomainfrom
queue_order

Conversation

@PinkSylvie
Copy link
Copy Markdown
Contributor

@PinkSylvie PinkSylvie commented Apr 23, 2025

This branch is a WIP set up to be able to swap work between my PC and laptop - I don't recommend running it yet as there are a couple errors I am working on fixing.

The purpose of this branch is to add the feature to allow admins to change the order of items in the queue. This branch is also fixing a bug in which the order numbers of the queue items weren't updated when an item is deleted.

The intended UI to allow the admin user to change order is a small selection dropdown that allows the user to pick which order position they would like to place the item in.

image

And currently the order update bug has been fixed:

{80B46BE3-3D9F-410D-9D98-D1DC6B4EA990}
{84BFEA99-ADF0-4A9F-9634-A8E80DAF5857}

Currently working on:

  • An error that is preventing the order change from happening
  • Polishing up further the Order Update UI

Update:

Order Change Bug has been fixed and Applied Polished Order Change UI

{5DB549C0-05BC-4232-8127-1BC34F960F37}
{E41DA539-1C7E-459D-B3B1-A5ADAB20C219}

The change is reflected in both the admin page and queue

{82BC6421-D2B7-46C5-B9DD-0888A3DA391C}

The change is reflected in both the admin page and queue
{9C6011CD-F4AE-4125-9E4A-CB85C7CA9008}
{C43C1D77-3D40-487A-BCEF-D9136F3FBBEF}

In regards to the scheduling it seemed that the carousel used the start time to order instead of filtering which was affecting my task. I made a small change to both this and the default time in queue given to items without a given schedule. I set it for the default time for items in queue to be a day, and set the queue to filter for approved, scheduled and for items with a start_time earlier than now and an endtime later than now. As the default order is first come first served unless the queued image order is changed by an admin.

@PinkSylvie PinkSylvie added this to the Milestone 3 milestone Apr 23, 2025
@PinkSylvie PinkSylvie added the enhancement New feature or request label Apr 23, 2025
@PinkSylvie PinkSylvie moved this to In Progress in RGBOARD Apr 23, 2025
@PinkSylvie PinkSylvie self-assigned this Apr 23, 2025
@PinkSylvie PinkSylvie linked an issue Apr 23, 2025 that may be closed by this pull request
@PinkSylvie PinkSylvie requested review from Jandel7, edimarvalentin and irsaris and removed request for Jandel7 and edimarvalentin April 24, 2025 20:44
@PinkSylvie PinkSylvie changed the title Queue Item Order Update - WIP Queue Item Order Update Apr 26, 2025
@PinkSylvie PinkSylvie merged commit 85cd8e4 into main Apr 26, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in RGBOARD Apr 26, 2025
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: Done

Development

Successfully merging this pull request may close these issues.

Queue Item Order Update

3 participants