Differential D304832
Bug 2040449 - Handle restored chats with incomplete or abandoned browser actions r=omarg,yjamora ClosedPublic Authored by ngrato on Thu, Jun 4, 4:33 PM. Tags Referenced Files
Details
Diff Detail
Event Timelinengrato planned changes to this revision.Thu, Jun 4, 4:33 PM ngrato created this revision. phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".Thu, Jun 4, 4:35 PM phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)". phab-bot removed a project: secure-revision. ngrato planned changes to this revision.Thu, Jun 4, 5:04 PM ngrato updated this revision to Diff 1292282. ngrato planned changes to this revision.Thu, Jun 4, 5:07 PM ngrato updated this revision to Diff 1292285. ngrato requested review of this revision.Thu, Jun 4, 5:08 PM ngrato retitled this revision from WIP: Bug 2040449 - Handle restored chats with incomplete or abandoned browser actionsr=omarg,yjamora to Bug 2040449 - Handle restored chats with incomplete or abandoned browser actionsr=omarg,yjamora. Herald added a reviewer: ai-frontend-reviewers-rotation. · View Herald TranscriptThu, Jun 4, 5:08 PM ngrato retitled this revision from Bug 2040449 - Handle restored chats with incomplete or abandoned browser actionsr=omarg,yjamora to Bug 2040449 - Handle restored chats with incomplete or abandoned browser actions r=omarg,yjamora. phab-bot removed a reviewer: ai-frontend-reviewers-rotation. phab-bot added a subscriber: ai-frontend-reviewers-rotation. Harbormaster failed remote builds in B981625: Diff 1292286! omarg requested changes to this revision.Thu, Jun 4, 8:38 PM omarg added inline comments.
This revision now requires changes to proceed.Thu, Jun 4, 8:38 PM ngrato requested review of this revision.Mon, Jun 8, 9:29 PM ngrato updated this revision to Diff 1294419. ngrato marked 3 inline comments as done. ngrato planned changes to this revision.Mon, Jun 8, 9:35 PM yjamora accepted this revision.Wed, Jun 10, 2:38 PM yjamora added a project: testing-approved. ngrato requested review of this revision.Wed, Jun 10, 8:41 PM ngrato updated this revision to Diff 1296855. phab-bot removed a reviewer: ai-models-reviewers-rotation. phab-bot added a subscriber: ai-models-reviewers-rotation. Comment Actions SummaryIntentThe goal of these changes is to handle a scenario where a user has an in-progress browser action (specifically a "website-confirmation" dialog, such as confirming which tabs to close) that was never completed or was abandoned, and then the chat session is restored from the database. Without this fix, restoring such a conversation would re-display the original confirmation UI with stale data (e.g., tab references that may no longer be valid). The fix ensures that these incomplete confirmations are detected upon restoration and presented to the user as a retry prompt instead. SolutionThe solution involves several coordinated changes across the chat store and the UI rendering layer:
Please use / reactions on inline comments to provide feedback. This will have a significant impact on the quality of future reviews.
ngrato marked 3 inline comments as done. omarg accepted this revision.Fri, Jun 12, 2:39 AM This revision is now accepted and ready to land.Fri, Jun 12, 2:39 AM This revision was landed with ongoing or failed builds.Fri, Jun 12, 5:56 PM Closed by commit rFIREFOXAUTOLANDe0a321b9f3da: Bug 2040449 - Handle restored chats with incomplete or abandoned browser… (authored by nickgrato <ngrato@gmail.com>, committed by ngrato). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 1298974 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
