Page MenuHomePhabricator

Implement DMOperation and relevant spec for thread status change
ClosedPublic

Authored by marcin on Aug 26 2024, 4:45 AM.
Tags
None
Referenced Files
F3507930: D13163.id43868.diff
Fri, Dec 20, 9:43 PM
F3507503: D13163.id43859.diff
Fri, Dec 20, 9:04 PM
F3507444: D13163.id43627.diff
Fri, Dec 20, 8:51 PM
F3507395: D13163.id43835.diff
Fri, Dec 20, 8:39 PM
F3506960: D13163.diff
Fri, Dec 20, 6:42 PM
Unknown Object (File)
Wed, Dec 18, 3:11 PM
Unknown Object (File)
Wed, Dec 18, 3:11 PM
Unknown Object (File)
Wed, Dec 18, 3:11 PM
Subscribers

Details

Summary

This differential implements DMOperationSpec for change thread unread status operation.

Test Plan
  1. Apply this patch: https://gist.github.com/marcinwasowicz/d9f3365facba9e226284f470141a531e
  2. Open two browser windows and log in with the same user.
  3. Send text message in one window.
  4. Ensure that new thread is created on both browser windows.
  5. Ensure that after 5 seconds this thread becomes unread on both browser windows.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-8284-new-tmp
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek added inline comments.
lib/types/dm-ops.js
33

I think this name is confusing and it needs to be more detailed.

322

We don't use it when creating an update, but it is used during validation, which makes sense.

This revision is now accepted and ready to land.Aug 27 2024, 12:57 AM

Rename CHANGE_THREAD_STATUS_SPEC -> CHANGE_THREAD_READ_STATUS_SPEC