Page MenuHomePhabricator
Feed Advanced Search

Jan 11 2024

atul published D10608: [lib] Narrow `Register[Response/Result]` to `MinimallyEncodedRawThreadInfos` for review.
Jan 11 2024, 9:44 AM
atul published D10606: [lib] Narrow `LogIn[Response/Result]` to `MinimallyEncodedRawThreadInfos` for review.
Jan 11 2024, 9:44 AM
atul planned changes to D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.
Jan 11 2024, 8:34 AM

Jan 10 2024

atul added inline comments to D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.
Jan 10 2024, 1:33 PM
atul updated the diff for D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.

address nits

Jan 10 2024, 1:33 PM
atul added a comment to D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.

It seems like if we want to sequence this one prior to ENG-6138, we'll need to separate out the types of ThreadStore between web and native. Might be easier to just do the web migration first. Let me know if I'm missing something

Jan 10 2024, 11:39 AM
atul updated the diff for D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.

remove accidental newlines

Jan 10 2024, 10:50 AM
atul added a comment to D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.

Was going to try to see if I could do some more flow refactoring to remove the two invariants that were introduced to thread-reducer, but figured it'd be good to put up what I had that resolved all flow issues.

Jan 10 2024, 10:45 AM
atul retitled D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos` from [DRAFT] Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos` to Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.
Jan 10 2024, 10:42 AM
atul requested review of D10588: Constrain client `ThreadStore` to `MinimallyEncodedRawThreadInfos`.
Jan 10 2024, 1:27 AM

Jan 9 2024

atul accepted D10548: [web] factor out pinned messages banner into its own component.

Personally think it's fine you snuck the color name change in this diff, but in the future we should definitely make a note of that in the Summary section and annotate the change in the diff.

Jan 9 2024, 11:32 PM
atul accepted D10549: [web] update the thread top bar ui.
Jan 9 2024, 11:23 PM

Jan 8 2024

atul accepted D10563: [web] fix secondary header shadow color.
Jan 8 2024, 2:51 PM
atul accepted D10564: [web] update chat thread composer ui.

Outside the scope of this diff, but don't love how the search result cell extends beyond the width of the search field.

Jan 8 2024, 1:40 PM
atul accepted D10565: [web] update the chat message list ui.
Jan 8 2024, 1:23 PM
atul accepted D10566: [web] update the chat input bar ui.

Changes looks good

Jan 8 2024, 1:01 PM
atul accepted D10567: [web] introduce chat message list panel item.

Looks good, question inline about wrapping ChatMessageListContainer with <> </>

Jan 8 2024, 12:55 PM
atul accepted D10568: [web] fix edit text message container.

I don't love that this value is hard-coded... not enough context here to suggest a better way to do it, though

Jan 8 2024, 12:48 PM
atul accepted D10569: [web] update the calendar ui.

Looks good

Jan 8 2024, 12:40 PM
atul accepted D10570: [web] introduce light mode to confirm leave thread modal.

Changes described in summary look good.

Jan 8 2024, 12:35 PM
atul accepted D10571: [web] introduce light mode to sidebar promote modal.
Jan 8 2024, 12:33 PM
atul accepted D10572: [web] introduce light mode to thread notifications modal.

Hm, radio button doesn't have much contrast when selected. Guessing that component will get updated later as part of this work?

Jan 8 2024, 12:26 PM

Jan 6 2024

atul requested changes to D10561: [nix] Upgrade to latest version of nixpkgs-unstable.

This would bring forward a bunch of dependencies, right?

Jan 6 2024, 12:12 PM

Jan 5 2024

atul added a comment to D10553: [RN72] Update Babel.

Noticed a lot of repeated babel stuff when skimming the lock file. Ran yarn-deduplicate locally and got: https://gist.githubusercontent.com/atulsmadhugiri/95f82a4eafb53cffde598e92408e70c7/raw/31fad69447478cf8900df284de7f591675c56bd1/gistfile1.txt

Jan 5 2024, 12:47 PM
atul accepted D10553: [RN72] Update Babel.
Jan 5 2024, 12:37 PM
atul abandoned D10558: [lib] Reduce branching for `setThreadUnreadStatusActionTypes.started` in `thread-reducer`.
Jan 5 2024, 12:37 PM
atul abandoned D10557: [lib] Reduce branching for `updateSubscriptionActionTypes.success` in `thread-reducer`.
Jan 5 2024, 12:36 PM
atul abandoned D10556: [native] Reduce branching in `fixUnreadActiveThread`.
Jan 5 2024, 12:36 PM
atul abandoned D10555: [lib] Reduce branching in `deleteAccountSpec.generateOps...()`.
Jan 5 2024, 12:36 PM
atul accepted D10516: [web] refactor tabs component.

Looks good, make sure to link Linear task before landing

Jan 5 2024, 11:35 AM
atul requested review of D10555: [lib] Reduce branching in `deleteAccountSpec.generateOps...()`.

Following the migration, don't we have a guarantee that the store contains only MinimallyEncodedRawThreadInfo?

Jan 5 2024, 11:33 AM
atul requested review of D10558: [lib] Reduce branching for `setThreadUnreadStatusActionTypes.started` in `thread-reducer`.
Jan 5 2024, 9:26 AM
atul requested review of D10557: [lib] Reduce branching for `updateSubscriptionActionTypes.success` in `thread-reducer`.
Jan 5 2024, 9:21 AM
atul requested review of D10556: [native] Reduce branching in `fixUnreadActiveThread`.
Jan 5 2024, 9:17 AM
atul requested review of D10555: [lib] Reduce branching in `deleteAccountSpec.generateOps...()`.
Jan 5 2024, 9:11 AM
atul accepted D10554: [native] Avoid calling invariant from worklet.
Jan 5 2024, 8:29 AM

Jan 4 2024

atul accepted D10546: [RN72] Remove deprecated ESLint formatting rules.
Jan 4 2024, 2:54 PM
atul accepted D10545: [RN72] Update Jest Flow libdefs.

Rubberstamping

Jan 4 2024, 2:51 PM
atul accepted D10544: [RN72] Fix lint-staged.
Jan 4 2024, 2:47 PM
atul accepted D10543: [RN72][skip-ci] Introduce --report-unused-disable-directives to ESLint invocations.
Jan 4 2024, 2:44 PM
atul accepted D10542: [RN72][skip-ci] Automatic deletion of all unused ESLint disable directives.

Looks good

Jan 4 2024, 2:39 PM
atul accepted D10541: [RN72][skip-ci] Rename eslint NPM script to eslint:all.
Jan 4 2024, 2:35 PM
atul added inline comments to D10541: [RN72][skip-ci] Rename eslint NPM script to eslint:all.
Jan 4 2024, 2:35 PM
atul accepted D10540: [RN72][skip-ci] Manual ESLint fixes.
Jan 4 2024, 2:32 PM
atul accepted D10538: [RN72][skip-ci] Update ESLint & Prettier.

Looks good

Jan 4 2024, 2:28 PM
atul accepted D10537: [RN72][skip-ci] Update Babel config for monorepo setup.
Jan 4 2024, 2:27 PM
atul closed D10547: [web] Remove extraneous CSS selectors.
Jan 4 2024, 2:09 PM
atul committed rCOMMb739a65caa71: [web] Remove extraneous CSS selectors (authored by atul).
[web] Remove extraneous CSS selectors
Jan 4 2024, 2:09 PM
atul attached a referenced file: F1028456: 405b56.png.
Jan 4 2024, 2:06 PM
atul accepted D10529: [web] update thread list ui.

Looks good, but adding @ashoat as blocking to get sign off on design/product question before landing.

Jan 4 2024, 2:06 PM
atul published D10547: [web] Remove extraneous CSS selectors for review.
Jan 4 2024, 2:00 PM
atul added inline comments to D10528: [web] house the thread list in a panel component.
Jan 4 2024, 1:59 PM
atul accepted D10528: [web] house the thread list in a panel component.
Jan 4 2024, 1:55 PM
atul accepted D10527: [web] update the chat tabs ui.
Jan 4 2024, 1:27 PM
atul accepted D10524: [web] deprecate and clean up unused tabs code.

Nit, but let's make sure that we change inActiveTabHeader to inactiveTabHeader before landing

Jan 4 2024, 1:25 PM
atul accepted D10523: [web] update chat tabs to use the new tabs component.
Jan 4 2024, 1:22 PM
atul added a comment to D10522: [web] update thread settings modal to use the new tabs component.

Looks like there might be a regression with the info icon not appearing correctly in the Delete tab:

Jan 4 2024, 1:21 PM
atul accepted D10522: [web] update thread settings modal to use the new tabs component.

Looks good

Jan 4 2024, 1:20 PM
atul accepted D10521: [web] update members modal to use the new tabs component.

Looks good

Jan 4 2024, 12:57 PM
atul accepted D10520: [web] update thread settings media gallery modal to use new tabs component.

Looks good

Jan 4 2024, 12:54 PM
atul accepted D10519: [web] update sidebars modal to use new tabs component.

Some thoughts inline, but good to land as is.

Jan 4 2024, 12:49 PM
atul accepted D10518: [web] upate emoji avatar selection modal to use new tabs component.

Seems reasonable, thanks for including the video in the Test Plan!

Jan 4 2024, 12:41 PM
atul accepted D10539: [RN72][skip-ci] Automatic Prettier fixes.
Jan 4 2024, 12:39 PM
atul accepted D10536: [RN72][skip-ci] Update Jest to 29.

Should we also update "eslint-plugin-jest" and flow-typed/npm/jest_v26.x.x.js?

Jan 4 2024, 12:18 PM
atul accepted D10517: [web] rename tabs to tabs legacy.

Seems reasonable

Jan 4 2024, 12:08 PM
atul requested changes to D10516: [web] refactor tabs component.

Seems correct, but would appreciate a bit of clarity on use of generics in Props<T: string> to make sure I'm understanding things correctly

Jan 4 2024, 12:03 PM
atul accepted D10515: [web] rename card color family to panel.
Jan 4 2024, 11:52 AM
atul accepted D10514: [web] rename panel color family to frame.

Makes sense.

Jan 4 2024, 11:52 AM
atul closed D10476: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of `hooks/disconnected-bar`.
Jan 4 2024, 11:40 AM
atul committed rCOMMecd719501ff6: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of… (authored by atul).
[lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of…
Jan 4 2024, 11:40 AM
atul updated the diff for D10476: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of `hooks/disconnected-bar`.

re-open

Jan 4 2024, 11:31 AM
atul closed D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.
Jan 4 2024, 10:57 AM
atul committed rCOMM3b38c3691379: [native] Update `DisconnectedBar` to display based on `state.connectivity. (authored by atul).
[native] Update `DisconnectedBar` to display based on `state.connectivity.
Jan 4 2024, 10:57 AM
atul added a comment to D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.

Re-landing with useNativeDriver removed, created task for converting animation to use Reanimated: https://linear.app/comm/issue/ENG-6348/consider-converting-disconnectedbar-animation-to-reanimated

Jan 4 2024, 10:56 AM
atul updated the diff for D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.

remove useNativeDriver

Jan 4 2024, 10:52 AM
atul updated the diff for D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.

re-open

Jan 4 2024, 10:49 AM
atul reopened D10476: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of `hooks/disconnected-bar`.
Jan 4 2024, 10:42 AM
atul reopened D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.
Jan 4 2024, 10:41 AM

Jan 3 2024

atul accepted D10500: [web] introduce panel component.

Left a comment about using React.Children.* APIs which are listed as "legacy" in the React docs.

I read through the alternative solutions to the React.Children API in the link you attached in your comments above and felt that the methods outlined here were the best alternative
https://react.dev/reference/react/Children#accepting-an-array-of-objects-as-a-prop

I have confirmed that everything still works with this new alternative solution.

In regards to changing the name of this component from "Card" to "Panel" I mentioned earlier that I wasn't sold on the naming convention either but was struggling to come up with something better. I think "Panel" does fit better for this component; however, with that said we already do have a "Panel" color family that is used other places. I think it would be better to rename that old panel color family to "frame" (based on the screenshots you sent me that is what we use the old panel family for). If there is no opposition to using that name I will update the naming convention in a follow up diff.

Also updated the test plan to show screenshots of safari and firefox

Jan 3 2024, 12:02 PM
atul accepted D10499: [web] introduce community header.

Thanks for addressing feedback

Jan 3 2024, 11:04 AM

Dec 30 2023

atul requested changes to D10499: [web] introduce community header.

Looks good, but we should try to remove "hard coded" debugging values. Feel free to re-request changes if there's something I'm missing.

Dec 30 2023, 2:49 AM
atul accepted D10498: [web] introduce community header actions.

Maybe I'm missing something, but it looks like the message list is missing in the screenshots provided. Guessing this was just for debugging layout or something?

Dec 30 2023, 2:41 AM
atul accepted D10483: Enable e2e Windows notifications to public users.

Have pretty much zero context on how notifications work on Windows, but this seems like a reasonable flip the switch diff. (Would make sense to get another accept before landing if there's more going on here)

Dec 30 2023, 2:07 AM
atul accepted D10481: Enable e2e web notifications to public users.

I don't have much context on E2EE Web notifications or the cryptosystem, but this seems like a reasonable "flip the switch" diff.

Dec 30 2023, 2:05 AM
atul accepted D10482: Enable e2e MacOS notifications to public users.

I don't have much context on E2EE MacOS notifications or the cryptosystem, but this seems like a reasonable "flip the switch" diff.

Dec 30 2023, 2:04 AM
atul attached a referenced file: F1014231: e96b77.png.
Dec 30 2023, 1:48 AM
atul requested changes to D10500: [web] introduce panel component.

Left a comment about using React.Children.* APIs which are listed as "legacy" in the React docs.

Dec 30 2023, 1:48 AM

Dec 29 2023

atul closed D10476: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of `hooks/disconnected-bar`.
Dec 29 2023, 8:18 AM
atul committed rCOMM7f64f3d0d5be: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of… (authored by atul).
[lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of…
Dec 29 2023, 8:18 AM
atul closed D10475: [native] Update `DisconnectedBar` to display based on `state.connectivity.connected`.
Dec 29 2023, 8:18 AM
atul committed rCOMM8f592ed33c85: [native] Update `DisconnectedBar` to display based on `state.connectivity. (authored by atul).
[native] Update `DisconnectedBar` to display based on `state.connectivity.
Dec 29 2023, 8:18 AM

Dec 28 2023

atul accepted D10474: [web] cleanup and better organize code for tooltips.

Looks good, thanks for tidying things up.

Dec 28 2023, 5:28 PM
atul accepted D10478: [keyserver] Add num revisions reviewed to monthly Phabricator leaderboard.

Looks good

Dec 28 2023, 5:25 PM
atul accepted D10477: [keyserver] Add num revisions landed to monthly Phabricator leaderboard.

If I'm understanding this query correctly, we're counting the number of differential.revision.close transactions. Not sure if this is a big deal, but I believe if someone were to

Dec 28 2023, 5:12 PM
atul added a comment to D10476: [lib] Rip `useShouldShowDisconnectedBar` and `useDisconnectedBar` out of `hooks/disconnected-bar`.

More context on Linear, but I wonder if we can rename useDisconnectedBarVisibilityHandler to something more appropriate, and have it take a keyserver parameter in place of ashoatKeyserverID. Might be best for a separate diff though

Dec 28 2023, 5:02 PM
atul accepted D10468: [keyserver] Introduce script to generate monthly Phabricator leaderboard.

Thanks for annotating the SQL query, helped a lot in understanding what was going on.

Dec 28 2023, 4:59 PM
atul accepted D10473: [web] rename navigation sidebar tooltip to label tooltip.
Dec 28 2023, 4:41 PM
atul accepted D10472: [web] extend navigation sidebar tooltip api.

Seems reasonable, just a note about making tooltipMarginStyle more concise.

Dec 28 2023, 4:39 PM
atul accepted D10471: [web] introduce AppList.
Dec 28 2023, 4:33 PM
atul added inline comments to D10471: [web] introduce AppList.
Dec 28 2023, 4:23 PM