Page MenuHomePhabricator
Feed Advanced Search

Jun 30 2022

abosh added inline comments to D4390: [CI] Add `blob_build` workflow to Buildkite/GH Actions.
Jun 30 2022, 7:39 AM

Jun 29 2022

abosh committed rCOMMc8c20687c78e: [services] Use `[[ ]]` instead of `[ ]` in `run_server_image.sh` (authored by abosh).
[services] Use `[[ ]]` instead of `[ ]` in `run_server_image.sh`
Jun 29 2022, 1:40 PM
abosh closed D4398: [services] Clean up `run_server_image.sh`.
Jun 29 2022, 1:32 PM
abosh committed rCOMM69b13a14348d: [services] Clean up `run_server_image.sh` (authored by abosh).
[services] Clean up `run_server_image.sh`
Jun 29 2022, 1:32 PM
abosh closed D4397: [keyserver] Delete `backup-phabricator.sh`.
Jun 29 2022, 1:20 PM
abosh committed rCOMMaabc6d1d8ca3: [keyserver] Delete `backup-phabricator.sh` (authored by abosh).
[keyserver] Delete `backup-phabricator.sh`
Jun 29 2022, 1:20 PM
abosh updated the diff for D4398: [services] Clean up `run_server_image.sh`.

Use [[ ]] instead of [ ]

Jun 29 2022, 1:18 PM
abosh added a comment to D4398: [services] Clean up `run_server_image.sh`.

Of course, that makes sense.

Jun 29 2022, 1:14 PM
abosh accepted D4401: [docs] Remove references to create-db.js script.

Accepting, because the scope of this diff is to remove references to create-db.js. But in the process of reviewing, saw some minor minor wording changes that could be made. Up to you and rest of reviewers.

Jun 29 2022, 1:13 PM
abosh added inline comments to D4401: [docs] Remove references to create-db.js script.
Jun 29 2022, 1:10 PM
abosh accepted D4400: [web] Clear error message before sending another request on settings page.

Nice, thanks for addressing my inline feedback in D4364. This change looks good and addresses the potential bug.

Jun 29 2022, 9:35 AM
abosh added inline comments to D4399: [docs] Rearrange "Running keyserver" and "Running web app/landing page".
Jun 29 2022, 9:20 AM
abosh requested review of D4399: [docs] Rearrange "Running keyserver" and "Running web app/landing page".
Jun 29 2022, 9:18 AM
abosh requested review of D4398: [services] Clean up `run_server_image.sh`.
Jun 29 2022, 8:24 AM
abosh added inline comments to D4390: [CI] Add `blob_build` workflow to Buildkite/GH Actions.
Jun 29 2022, 8:23 AM
abosh requested review of D4397: [keyserver] Delete `backup-phabricator.sh`.
Jun 29 2022, 7:40 AM
abosh attached a referenced file: F84807: image.png.
Jun 29 2022, 7:19 AM
abosh attached a referenced file: F86997: image.png.
Jun 29 2022, 7:19 AM

Jun 28 2022

abosh closed D4346: [native] [web] Improve wording when clearing thread name or description.
Jun 28 2022, 1:54 PM
abosh committed rCOMMd9602e7aa877: [native] [web] Improve wording when clearing thread name or description (authored by abosh).
[native] [web] Improve wording when clearing thread name or description
Jun 28 2022, 1:54 PM
abosh closed D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.
Jun 28 2022, 1:53 PM
abosh committed rCOMMb656afcf2e70: [web] Fix sidebar title cutoff in `ChatThreadList` (authored by abosh).
[web] Fix sidebar title cutoff in `ChatThreadList`
Jun 28 2022, 1:53 PM
abosh added a comment to D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.

Screen Shot 2022-06-28 at 4.38.29 PM.png (564×838 px, 27 KB)
test

Jun 28 2022, 1:38 PM
abosh attached a referenced file: F85976: image.png.
Jun 28 2022, 1:22 PM
abosh attached a referenced file: F85977: image.png.
Jun 28 2022, 1:22 PM
abosh attached a referenced file: F85983: image.png.
Jun 28 2022, 1:22 PM
abosh attached a referenced file: F85981: image.png.
Jun 28 2022, 1:21 PM
abosh attached a referenced file: F85982: image.png.
Jun 28 2022, 1:21 PM
abosh attached a referenced file: F85990: Screen Recording 2022-06-28 at 3.35.23 PM.mov.
Jun 28 2022, 1:21 PM
abosh attached a referenced file: F85991: Screen Recording 2022-06-28 at 3.36.05 PM.mov.
Jun 28 2022, 1:21 PM
abosh added inline comments to D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.
Jun 28 2022, 12:30 PM
abosh updated the diff for D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.

Address feedback. No longer uses position: absolute and actually addresses the cause of the bug instead of repositioning other elements.

Jun 28 2022, 12:30 PM
abosh abandoned D4365: [keyserver] Clean up `backup-phabricator.sh` with style fixes.

Abandoning this, per @ashoat on this Linear task:

We can just delete backup-phabricator.sh… we're using Amazon RDS for the Phabricator database now, which guarantees data integrity out-of-the-box. If we ever find a need for backup-phabricator.sh again we can always just bring it back

Jun 28 2022, 11:34 AM
abosh accepted D4369: [android] Convert `.png` assets to `.webp` assets.
Jun 28 2022, 10:06 AM
abosh added a comment to D4367: [keyserver] Revise `dc.sh` passed parameters.

No, it shouldn't. I'm not sure why double quotes would mess it up, was there a reason you thought it could?

Jun 28 2022, 10:04 AM
abosh added a comment to D4367: [keyserver] Revise `dc.sh` passed parameters.

If the file in the inline comment cannot be seen.

Jun 28 2022, 8:59 AM
abosh added a comment to D4371: [services] Remove `build-[blob/backup]-base` from `services/package.json`.

image.png (100×514 px, 11 KB)

Ah that's totally my bad. I saw the No newline at end of file here and thought it wasn't on the new version of the diff. This looks good!

Jun 28 2022, 8:45 AM
abosh added a reviewer for D4365: [keyserver] Clean up `backup-phabricator.sh` with style fixes: ashoat. abosh removed 1 blocking reviewer(s) for D4365: [keyserver] Clean up `backup-phabricator.sh` with style fixes: atul.
Jun 28 2022, 7:40 AM
abosh accepted D4370: [android] Convert `splash_background` JPEGs to WEBP.
Jun 28 2022, 7:24 AM
abosh added a comment to D4370: [android] Convert `splash_background` JPEGs to WEBP.

Why have we decided to use lossy here and lossless in the previous diff?

Jun 28 2022, 7:23 AM
abosh accepted D4371: [services] Remove `build-[blob/backup]-base` from `services/package.json`.

I think there should be a newline at the end of this file. Every other package.json in the codebase ends with a newline, and it is the POSIX standard for lines.

Jun 28 2022, 6:57 AM
abosh added a comment to D4374: [ignore] Experimenting with Android build.

Dang, I thought I could do more code review but I'm the placeholder guy they put on diffs to ignore! 😂😂 carry on 😑

Jun 28 2022, 6:39 AM

Jun 27 2022

abosh added inline comments to D4367: [keyserver] Revise `dc.sh` passed parameters.
Jun 27 2022, 12:17 PM
abosh added inline comments to D4367: [keyserver] Revise `dc.sh` passed parameters.
Jun 27 2022, 12:14 PM
abosh requested review of D4367: [keyserver] Revise `dc.sh` passed parameters.
Jun 27 2022, 12:13 PM
abosh updated the summary of D4366: [ignore] Try relative path instead of absolute for `native/.flowconfig`.
Jun 27 2022, 11:48 AM
abosh added 1 blocking reviewer(s) for D4365: [keyserver] Clean up `backup-phabricator.sh` with style fixes: atul.
Jun 27 2022, 10:32 AM
abosh requested review of D4365: [keyserver] Clean up `backup-phabricator.sh` with style fixes.
Jun 27 2022, 10:30 AM
abosh added inline comments to D4364: [web] Display an error message when adding new user failed.
Jun 27 2022, 9:00 AM
abosh accepted D4364: [web] Display an error message when adding new user failed.

Nice! Some minor inline feedback, but looks good to me.

Jun 27 2022, 8:40 AM
abosh accepted D4358: [web] Remove `safari-pinned-tab.svg`.

However, recent versions of Safari display favicons for tabs across the board (it's no longer even possible to disable them), and including safari-pinned-tab.svg is no longer necessary... but Safari will still use it if it's provided. Based on what I've read, it seems like the only reason to specify safari-pinned-tab.svg is if you want something other than the default favicon to be displayed on just Safari. I don't think that's something we care about.

Jun 27 2022, 7:54 AM

Jun 25 2022

abosh closed D4357: [lib] Remove extraneous ternary from `threadUIName` in `thread-utils`.
Jun 25 2022, 10:54 AM
abosh committed rCOMMc8ba23ae795a: [lib] Remove extraneous ternary from `threadUIName` in `thread-utils` (authored by abosh).
[lib] Remove extraneous ternary from `threadUIName` in `thread-utils`
Jun 25 2022, 10:54 AM
abosh added a comment to D4357: [lib] Remove extraneous ternary from `threadUIName` in `thread-utils`.

That's correct!

Jun 25 2022, 10:53 AM

Jun 24 2022

abosh closed D4356: [landing] Define `--sans-serif` for `landing`.
Jun 24 2022, 1:53 PM
abosh committed rCOMM278cf3347398: [landing] Define `--sans-serif` for `landing` (authored by abosh).
[landing] Define `--sans-serif` for `landing`
Jun 24 2022, 1:53 PM
abosh requested review of D4357: [lib] Remove extraneous ternary from `threadUIName` in `thread-utils`.
Jun 24 2022, 1:52 PM
abosh requested review of D4356: [landing] Define `--sans-serif` for `landing`.
Jun 24 2022, 1:21 PM
abosh abandoned D4355: [landing] Define `--font-stack` for `landing`.

I agree. Having some sort of git issue, so abandoning this revision, but the new revision with the renamed font-stack is here: D4356.

Jun 24 2022, 1:17 PM
abosh accepted D4334: [lib] Rename `threadsToMessageIDsFromMessageInfos` to `mapThreadsToMessageIDsFromOrderedMessageInfos`.

Are you suggesting that we should include the names of non-primitive types in variable names?

Jun 24 2022, 12:59 PM
abosh requested review of D4355: [landing] Define `--font-stack` for `landing`.
Jun 24 2022, 12:29 PM
abosh added a comment to D4339: [web][landing] Fix miscellaneous CSS issues.

FYI, I can't see the images in this inline comment. I ran into a similar issue when reviewing another diff, so maybe this is an issue where images don't show up on inline comments.

image.png (1×1 px, 144 KB)

Jun 24 2022, 11:21 AM
abosh added a reviewer for D4284: [web] Fix sidebar title cutoff in `ChatThreadList`: tomek.
Jun 24 2022, 10:30 AM
abosh added a comment to D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.

The sidebar title should flow the same as normal titles. I'm glad you added an ellipsis here, but the title still seems to be limited to half of the width of the containing component

Jun 24 2022, 10:29 AM
abosh accepted D4353: [web] Make button size consistent between variants.

Yup, this makes sense to me. I think the difference in border size was overlooked in D3057, but nice catch!

Jun 24 2022, 9:56 AM
abosh closed D4344: [web] Remove extraneous `display: inline-block` in `calendar.css`.
Jun 24 2022, 7:37 AM
abosh committed rCOMMc080f84410e8: [web] Remove extraneous `display: inline-block` in `calendar.css` (authored by abosh).
[web] Remove extraneous `display: inline-block` in `calendar.css`
Jun 24 2022, 7:37 AM
abosh closed D4343: [web] [landing] Omit units for 0 values in CSS.
Jun 24 2022, 7:37 AM
abosh committed rCOMM746063b42798: [web] [landing] Omit units for 0 values in CSS (authored by abosh).
[web] [landing] Omit units for 0 values in CSS
Jun 24 2022, 7:37 AM

Jun 23 2022

abosh planned changes to D4284: [web] Fix sidebar title cutoff in `ChatThreadList`.
Jun 23 2022, 12:54 PM
abosh updated the test plan for D4346: [native] [web] Improve wording when clearing thread name or description.
Jun 23 2022, 11:56 AM
abosh updated the test plan for D4346: [native] [web] Improve wording when clearing thread name or description.
Jun 23 2022, 11:55 AM
abosh requested review of D4346: [native] [web] Improve wording when clearing thread name or description.
Jun 23 2022, 11:54 AM
abosh accepted D4327: [lib] Write some tests for `text-utils:pluralize(...)`.

Looks even better now!

Jun 23 2022, 10:58 AM
abosh requested review of D4344: [web] Remove extraneous `display: inline-block` in `calendar.css`.
Jun 23 2022, 9:54 AM
abosh added a comment to D4334: [lib] Rename `threadsToMessageIDsFromMessageInfos` to `mapThreadsToMessageIDsFromOrderedMessageInfos`.

The fact that this function requires the input to be sorted is critical and should be made exceedingly explicit at the callsite, so the verbosity is worth it.

Jun 23 2022, 9:34 AM
abosh requested review of D4343: [web] [landing] Omit units for 0 values in CSS.
Jun 23 2022, 8:51 AM
abosh accepted D4340: [lib] Merge identical action handlers in `message-reducer`.

Good catch!

Jun 23 2022, 8:17 AM
abosh accepted D4339: [web][landing] Fix miscellaneous CSS issues.
Jun 23 2022, 8:16 AM
abosh accepted D4338: [lib] Return `mergeNewMessages(...)` directly where possible in `reduceMessageStore(...)`.
Jun 23 2022, 8:09 AM
abosh accepted D4337: [lib] Return result of `mergeNewMessages(...) immediately for `fetchMessagesBeforeCursor.success`/`fetchMostReecentMessages.success` action types.
Jun 23 2022, 8:08 AM
abosh accepted D4336: [lib] Simplify logic in `mapThreadsToMessageIDsFromOrderedMessageInfos`.
Jun 23 2022, 8:02 AM
abosh added inline comments to D4334: [lib] Rename `threadsToMessageIDsFromMessageInfos` to `mapThreadsToMessageIDsFromOrderedMessageInfos`.
Jun 23 2022, 7:57 AM
abosh accepted D4335: [lib] Rename `threadIsWatched` to `isThreadWatched`.

Agree with this. threadIsWatched-type boolean names feel like they imply a value of true, since it sounds like "The thread is watched" versus "Is the thread watched?"

Jun 23 2022, 7:52 AM
abosh requested changes to D4334: [lib] Rename `threadsToMessageIDsFromMessageInfos` to `mapThreadsToMessageIDsFromOrderedMessageInfos`.

I'm okay with this revision as it improves code comprehension, but neither threadsToMessageIDsFromMessageInfos nor mapThreadsToMessageIDsFromOrderedMessageInfos are readable. That is, once read, it makes sense, but names shouldn't need to be that long to begin with.

Jun 23 2022, 7:49 AM
abosh accepted D4333: [lib] Remove `assertMessageStoreMessagesAreEqual(...)` from `message-reducer`.
Jun 23 2022, 7:35 AM
abosh accepted D4332: [lib] Replace `mergedStore.messages` with `processedStore.messages` in `mergeNewMessages`.
Jun 23 2022, 7:33 AM

Jun 22 2022

abosh accepted D4329: [lib] Write some tests for `text-utils: pluralizeAndTrim(...)`.
Jun 22 2022, 1:27 PM
abosh added a comment to D4328: [lib] Write some tests for `text-utils:trim(...)`.

Yup, that is confusing. Luckily, just did a quick check throughout the codebase and there are no calls to trimText with a maxLength argument of less than 30. So for now, this should be fine.

Jun 22 2022, 1:15 PM
abosh accepted D4328: [lib] Write some tests for `text-utils:trim(...)`.

Looks good! Appreciate the explanation for erring on the side of redundancy for unit tests, I wholeheartedly agree with that. With that in mind, these tests look good!

Jun 22 2022, 1:00 PM
abosh added a comment to D4327: [lib] Write some tests for `text-utils:pluralize(...)`.

Oh, okay my bad! I only made those suggestions since if this is part of the CI build we want it to run as fast as possible so we should eliminate redundant tests.

Jun 22 2022, 12:45 PM
abosh accepted D4327: [lib] Write some tests for `text-utils:pluralize(...)`.

Tests look good but there's some redundancy that can be removed.

Jun 22 2022, 12:19 PM
abosh closed D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.
Jun 22 2022, 10:00 AM
abosh committed rCOMM1d97b312f296: [lib] Remove extraneous ternary from `pluralize` function in `text-utils` (authored by abosh).
[lib] Remove extraneous ternary from `pluralize` function in `text-utils`
Jun 22 2022, 10:00 AM
abosh updated the test plan for D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.
Jun 22 2022, 9:54 AM
abosh updated the test plan for D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.
Jun 22 2022, 8:53 AM
abosh updated the test plan for D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.
Jun 22 2022, 8:49 AM
abosh added a comment to D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.

You're right, I should have been more thoughtful. Just updated the Test Plan.

Jun 22 2022, 8:49 AM
abosh updated the test plan for D4317: [lib] Remove extraneous ternary from `pluralize` function in `text-utils`.
Jun 22 2022, 8:48 AM
abosh accepted D4319: [lib] Simplify conditional logic in `wrapActionPromise:loadingInfo`.

Looks good to me. Nice catch!

Jun 22 2022, 7:34 AM