feat: history/favorites panel, image preview, context strip
Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
1 parent
6360c75ff8
commit
7116af9434
9 files changed
+930
-79
No files matched your search
@@ -348,7 +348,10 @@ function discard(state, action) {
|
||||
}
|
||||
|
||||
/**
|
||||
* A held entry goes back to the queue.
|
||||
* A held entry goes back to the queue - and so does an `uncertain` one: the
|
||||
* person looked at "Nie potwierdzono" and chose "Ponów", knowing the message
|
||||
* may have reached the agent. Only their click does this; nothing else ever
|
||||
* sends an uncertain entry again.
|
||||
*
|
||||
* The hold said "the agent is waiting for you"; the person answered by asking
|
||||
* for the message to go out anyway. The entry waits in the queue like any
|
||||
@@ -358,7 +361,7 @@ function discard(state, action) {
|
||||
function requeue(state, action) {
|
||||
const items = list(state.queue, action.agent);
|
||||
const item = items.find((entry) => entry.id === action.id);
|
||||
if (!item || item.state !== "held") return state;
|
||||
if (!item || (item.state !== "held" && item.state !== "uncertain")) return state;
|
||||
return {
|
||||
...state,
|
||||
queue: {
|
||||
|
||||
Reference in new issue
Block a user