Page MenuHomePhabricator
Feed Advanced Search

Aug 15 2022

abosh requested changes to D4840: [native] Replace `sidebar-filled` icon in `SwipeableMessage` with `CommIcon`.

Visually, does this change look the same? Can you add before/after pictures like you did in D4839?

Aug 15 2022, 1:58 PM
abosh accepted D4839: [native] Replace `cloud-filled` icon in `CommunityPill` with `CommIcon`.
Aug 15 2022, 1:53 PM
abosh requested review of D4838: [native] Rename `swmansion.ttf` to `SWMansion.ttf`.
Aug 15 2022, 1:40 PM
abosh accepted D4829: [native] Introduce `CommIcon` component.
Aug 15 2022, 1:23 PM
abosh added a comment to D4829: [native] Introduce `CommIcon` component.

Now we're breaking them apart so the SWMansion icon pack can be "frozen," and we'll only add to the CommIcon pack in the future

Aug 15 2022, 1:20 PM
abosh requested review of D4836: [native] Remove `sortBy` property from `fetchPhotos`.
Aug 15 2022, 1:11 PM
abosh accepted D4831: [iOS] Bump `NotificationService` `CFBundleVersion` to match parent app.
In D4831#139757, @atul wrote:

(Another thing that'll be needed to bumped on each release)

Aug 15 2022, 1:03 PM
abosh requested changes to D4829: [native] Introduce `CommIcon` component.

Some questions before I can accept:

  • How were you able to verify these icons didn't exist in the pack? The SWMansion icon pack has a reply-filled, cloud-filled, and sidebar-filled that are actively used in the codebase. I haven't seen the "subsequent diffs that "consume" the CommIcon component" but I'm assuming given that this diff exists we want to use these icons over the SWMansion icon pack ones going forward? Or is that interpretation wrong?
  • What's the difference between icons from both packs? You said that the SWMansion icon pack didn't contain these icons, but I found instances of reply-filled, cloud-filled, and sidebar-filled in the SWMansion icon pack, so if the icons are different, showing photos with their differences would be helpful. Otherwise, if we already have reply-filled, cloud-filled, and sidebar-filled icons, why are we switching away?
  • Minor, but comparing this diff to the current structure of the SWMansion icon pack in the codebase, there are some differences. For example, you wrote CommIcons.ttf whereas currently it's swmansion.ttf (all lowercase). Personally, I think CommIcons.ttf is better, especially looking at the rest of the Info.release.plist file which contains useful capitalization, but maybe the swmansion.ttf can be renamed to SWMansion.ttf or something. Or even include the word icons in it, like with CommIcons.ttf.
Aug 15 2022, 12:51 PM
abosh accepted D4830: [CI] Add `yarn cleaninstall` via `nix develop` to Buildkite.

Makes sense

Aug 15 2022, 7:39 AM

Aug 12 2022

abosh added inline comments to D4817: [Nix] Add documentation around setting yourself as a trusted user.
Aug 12 2022, 11:09 AM
abosh added a comment to D4816: [Nix] Add comm binary cache to flake.
In D4816#139499, @jon wrote:

We're not talking about managing notifs, we're talking about managing your reviewers' queues.

For github, the notification feed https://github.com/notifications is the queue.

Aug 12 2022, 11:00 AM
abosh accepted D4822: [Nix] Add m1 bash default prompt to list.

I think @ashoat may have hit Request Changes after submitting his comment but not before you replied here, which is why this diff is in a weird state of you answered his question but received no response and instead got a request for revision.

Aug 12 2022, 10:53 AM
abosh added a comment to D4824: [native] Redesign `InlineSidebar` for reactions feature.

Seeing @abosh's screenshots in D4825 make me fear the answer is "yes". Please do not land something like this on master...

Aug 12 2022, 10:28 AM
abosh added a comment to D4825: [native] Introduce `inlineSidebar` animation when opening message tooltip to avoid visual issues..

Based on @abosh's screenshots, it looks like this diff is attempting to land fake placeholder emojis on master...

Aug 12 2022, 10:27 AM
abosh accepted D4823: [lib] Make `useInlineSidebarText` hook parameter optional.

Other than what @tomek said, this looks good. So if I understand correctly, threadInfo can now be null, undefined, or void, and in that case, we will return empty strings to InlineSidebar, since we still want to display the reactions but no text for a thread (since it doesn't exist)?

Aug 12 2022, 10:25 AM
abosh attached a referenced file: F136503: image.png.
Aug 12 2022, 10:11 AM
abosh accepted D4825: [native] Introduce `inlineSidebar` animation when opening message tooltip to avoid visual issues..

Tested this locally and it looks great! The visual change of the tooltip 'fading' through the message when holding down on the message is nice.

Screen Shot 2022-08-12 at 12.30.04 PM.png (2×1 px, 1 MB)

Once again adding @tomek and @atul as blocking.

Aug 12 2022, 9:48 AM
abosh accepted D4824: [native] Redesign `InlineSidebar` for reactions feature.

Adding @atul and @tomek as blocking to get at least one of them to review this.

Aug 12 2022, 9:31 AM
abosh closed D4828: [CI] Add “Install ShellCheck” step to ShellCheck GitHub Actions workflow.
Aug 12 2022, 8:47 AM
abosh committed rCOMMd42b19f446a5: [CI] Add “Install ShellCheck” step to ShellCheck GitHub Actions workflow (authored by abosh).
[CI] Add “Install ShellCheck” step to ShellCheck GitHub Actions workflow
Aug 12 2022, 8:47 AM
abosh requested changes to D4818: [Keyserver] Remove usages of nvm.

Should link the relevant Linear issue in the diff summary whenever you put up a diff.

Aug 12 2022, 8:33 AM
abosh accepted D4827: [CI] Bump GH Actions OS versions.

Accepting because we discussed this IRL. Also see this comment left by me for more context as to why ShellCheck was bumped to ubuntu-22.04.

Aug 12 2022, 8:20 AM
abosh added a comment to D4819: [Chore] Make shellcheck happy.

Ah, investigated with @atul and figured out why this is happening. ShellCheck on lint-staged is installed by homebrew (locally, by developers), ShellCheck on Buildkite is installed using apt-get, and ShellCheck on GitHub Actions is preinstalled using ubuntu-latest. Because this check of using command -v over which is optional in versions of ShellCheck 0.7.1+ (which the homebrew and apt-get installations of ShellCheck are), this was not caught by those CI builds, but was caught by GitHub Actions since the version of ShellCheck on ubuntu-latest is 0.7.0, which is < 0.7.1. To fix this, we're bumping the ShellCheck job on GitHub Actions to run off ubuntu-22.04 instead of ubuntu-latest (which is 20.04). This is because the version of ShellCheck that comes with ubuntu-22.04 is 0.8.0-2, which is 0.7.1+.

Aug 12 2022, 8:17 AM
abosh added 1 blocking reviewer(s) for D4819: [Chore] Make shellcheck happy: atul.
Aug 12 2022, 8:01 AM
abosh added a comment to D4819: [Chore] Make shellcheck happy.

What's more confusing to me is why this passed through lint-staged and Buildkite, but failed on GitHub Actions. They should be running the same shellcheck -x -P SCRIPTDIR [FILES...] command...

Aug 12 2022, 8:01 AM
abosh accepted D4819: [Chore] Make shellcheck happy.

Actually just saw this on GitHub, was going to send you a message about it, and saw this diff! Thanks for catching this.

Aug 12 2022, 8:00 AM

Aug 11 2022

abosh added a comment to D4431: [services] Export DatabaseManagers as CMake Project.

Still in the middle of reviving this but filtering out the header changes so the bulk CMake logic can be added.

I'll "Request Review" when this is in a better state

Aug 11 2022, 1:59 PM
abosh accepted D4790: [Nix] Add better prompt default for nix shell.

Thanks for addressing my feedback! Everything you said makes sense, so accepting.

Aug 11 2022, 12:57 PM
abosh resigned from D4510: [landing] SIWE component with RainbowKit that connects & signs a message.

welcoming feedback on how i can improve my summaries/test plans

Aug 11 2022, 12:10 PM
abosh requested changes to D4790: [Nix] Add better prompt default for nix shell.

I think it should be good after this!

Aug 11 2022, 10:30 AM
abosh committed rCOMMe4700dca8ef9: [web] Remove extraneous `console.log(...)` statement from… (authored by abosh).
[web] Remove extraneous `console.log(...)` statement from…
Aug 11 2022, 9:21 AM
abosh accepted D4806: [native] Fix message tooltip positioning for robotext with sidebar.
Aug 11 2022, 6:48 AM

Aug 10 2022

abosh added a comment to D4790: [Nix] Add better prompt default for nix shell.

To make the files visible to everybody, you'll need to "attach" them. @abosh has written some advice on how to do this before... @abosh, would you mind putting that info into a doc on Notion and then sharing it with @jon?

Aug 10 2022, 12:26 PM
abosh added a comment to D4790: [Nix] Add better prompt default for nix shell.

Also it seems your files are still "Restricted", because I can't see them even though they're in the summary.

image.png (314×566 px, 27 KB)

I think to fix this, you just have to click on the files on the right sidebar:
image.png (1×650 px, 121 KB)

and allow permissions or something of that sort. Then your files will be public so reviewers can see what you're referencing. Normally, referenced files should be public by default if they're included in the diff summary, but maybe because they were added later their permissions are different.

Aug 10 2022, 11:55 AM
abosh requested changes to D4790: [Nix] Add better prompt default for nix shell.

Ran ShellCheck manually on the Bash code that was still stored in a string variable (like in better-prompt.nix and dev-shell.nix), and they had errors...I really think all shell code should be put into a .sh file so that at least you can have lint-staged or Buildkite lint them before reviewers have to take a look at it. I know it involves extra work on your end but it's more modular, cleaner to read, easier to review, and passes through our CI.

Aug 10 2022, 11:49 AM
abosh added inline comments to D4791: [CI] Add nix blob CI.
Aug 10 2022, 10:36 AM
abosh added a comment to D4790: [Nix] Add better prompt default for nix shell.

I continue to dislike this pattern of putting bash inline in .nix files, especially here where it fully circumvents Shellcheck. Is there any way to check in this bash to the repo as a .sh file? Any way at all?

Aug 10 2022, 8:25 AM

Aug 9 2022

abosh accepted D4788: [web] Introduce `MutedNotifsIllustration` component to replace S3-hosted asset.
Aug 9 2022, 12:51 PM
abosh accepted D4787: [web] Introduce `BadgeNotifsIllustration` component to replace S3-hosted asset.
Aug 9 2022, 12:51 PM
abosh accepted D4786: [web] Introduce `AllNotifsIllustration` component to replace S3-hosted asset.
Aug 9 2022, 12:19 PM
abosh accepted D4785: [web] Introduce `BackgroundIllustration` component to replace S3-hosted asset.
Aug 9 2022, 12:18 PM
abosh accepted D4780: [Chore] Remove yarn's clang-format.

Agree with @ashoat's assessment. If you can create a stack out of this diff so the depends-on relationship between Nix migration and this is more explicit that'd be cool, but not necessary.

Aug 9 2022, 10:28 AM
abosh requested changes to D4779: [lintstaged] Add cmake-lint to lintstagedrc.

Not sure, but I think we should add a section on the docs to tell the user how to install cmake-lint, because otherwise they won't be able to commit code that's matched by the cmake-lint glob in .lintstagedrc.js. Do we need pip to install cmake-lint?

Aug 9 2022, 10:15 AM
abosh accepted D4777: [web] Fix spacing regression in `MessageList` component.
Aug 9 2022, 10:05 AM
abosh committed rCOMM34ca4b335c25: [docs] Move ShellCheck installation instructions with rest of `brew install`… (authored by abosh).
[docs] Move ShellCheck installation instructions with rest of `brew install`…
Aug 9 2022, 8:57 AM
abosh closed D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 9 2022, 8:51 AM
abosh closed D4771: [docs] Add ShellCheck installation instructions.
Aug 9 2022, 8:51 AM
abosh committed rCOMMdbfcd8204985: [lint-staged] Add ShellCheck to `.lintstagedrc.js` (authored by abosh).
[lint-staged] Add ShellCheck to `.lintstagedrc.js`
Aug 9 2022, 8:51 AM
abosh committed rCOMMa6578e42469c: [docs] Add ShellCheck installation instructions (authored by abosh).
[docs] Add ShellCheck installation instructions
Aug 9 2022, 8:51 AM
abosh added inline comments to D4750: [Nix] Provide nix way of starting MariaDB.
Aug 9 2022, 8:47 AM
abosh accepted D4750: [Nix] Provide nix way of starting MariaDB.

Ok, bash-wise, looks good!

Aug 9 2022, 8:46 AM

Aug 8 2022

abosh accepted D4773: [tunnelbroker] Removed unused include directives.
In D4773#137756, @atul wrote:

Was it something your IDE picked up on...or?

Ya

Aug 8 2022, 1:08 PM
abosh added a comment to D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
In D4772#137753, @atul wrote:

Looks good, but lets hold off on landing this until nix support gets landed

Aug 8 2022, 1:07 PM
abosh requested changes to D4773: [tunnelbroker] Removed unused include directives.

Don't think the test plan should be NA here, even if it may seem like a trivial change. How were you able to determine these #include directives were unused in the first place? Was it something your IDE picked up on...or?

Aug 8 2022, 1:03 PM
abosh retitled D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js` from [lint-staged] Add ShellCheck to `.lint-staged.js` to [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 8 2022, 12:56 PM
abosh requested changes to D4750: [Nix] Provide nix way of starting MariaDB.

Some small fixes here and there, then should be good to go!

Aug 8 2022, 12:46 PM
abosh closed D4760: [android] Fix camera roll permission on Android devices.
Aug 8 2022, 11:36 AM
abosh committed rCOMM1415fd016216: [android] Fix camera roll permission on Android devices (authored by abosh).
[android] Fix camera roll permission on Android devices
Aug 8 2022, 11:36 AM
abosh requested review of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.

Sent message.

Aug 8 2022, 11:34 AM
abosh added a comment to D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.

Ok, will do.

Aug 8 2022, 11:26 AM
abosh requested review of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
In D4772#137561, @atul wrote:

Before I accept, could you send a message in the Comm Dev Team chat letting everyone know that they'll need to install shellcheck (and provide instructions on how they can go about doing that?)

Aug 8 2022, 11:05 AM
abosh updated the diff for D4771: [docs] Add ShellCheck installation instructions.

Sure, that makes sense. Moved ShellCheck instructions up to the top of the Prerequisites section under Rust and above Yarn (to keep it "alphabetized"?). It's such a small command I doubt it should be an issue, but open to thoughts about where to place it in the doc.

Aug 8 2022, 11:04 AM
abosh accepted D4735: [Services] Remove build_services compatibility logic.
Aug 8 2022, 10:02 AM
abosh accepted D4770: [Nix] Add shellcheck to dev shell.

Looks good to me! Accepting, but adding @ashoat and @atul as blocking as this is adding a new dependency and want at least one of them to take a look at it.

Aug 8 2022, 10:00 AM
abosh updated the summary of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 8 2022, 9:58 AM
abosh updated the summary of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 8 2022, 9:57 AM
abosh added a comment to D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
In D4772#137507, @jon wrote:

https://phab.comm.dev/D4770 should probably be merged before this, not sure how to handle mult-owner stacks though

Aug 8 2022, 9:57 AM
abosh updated the summary of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 8 2022, 9:56 AM
abosh requested review of D4772: [lint-staged] Add ShellCheck to `.lintstagedrc.js`.
Aug 8 2022, 9:55 AM
abosh updated the test plan for D4771: [docs] Add ShellCheck installation instructions.
Aug 8 2022, 9:54 AM
abosh updated the test plan for D4771: [docs] Add ShellCheck installation instructions.
Aug 8 2022, 9:54 AM
abosh updated the test plan for D4771: [docs] Add ShellCheck installation instructions.
Aug 8 2022, 9:54 AM
abosh requested review of D4771: [docs] Add ShellCheck installation instructions.
Aug 8 2022, 9:45 AM
abosh accepted D4734: [Services] Allow for docker paths and system packages.
Aug 8 2022, 7:50 AM

Aug 6 2022

abosh added a reviewer for D4760: [android] Fix camera roll permission on Android devices: ashoat.
Aug 6 2022, 10:31 AM
abosh closed D4759: [native] Revert D4717.
Aug 6 2022, 9:26 AM
abosh added a reverting change for D4717: [native] Clean up `detect_abis.sh` using ShellCheck: rCOMMe8e9bd2da948: [native] Revert D4717.
Aug 6 2022, 9:26 AM
abosh committed rCOMMe8e9bd2da948: [native] Revert D4717 (authored by abosh).
[native] Revert D4717
Aug 6 2022, 9:26 AM

Aug 5 2022

abosh requested review of D4760: [android] Fix camera roll permission on Android devices.
Aug 5 2022, 2:59 PM
abosh closed D4756: [CI] Remove “Install `ShellCheck`” step from `ShellCheck` GitHub Actions workflow.
Aug 5 2022, 2:56 PM
abosh committed rCOMMfd643eb1899a: [CI] Remove “Install `ShellCheck`” step from `ShellCheck` GitHub Actions… (authored by abosh).
[CI] Remove “Install `ShellCheck`” step from `ShellCheck` GitHub Actions…
Aug 5 2022, 2:55 PM
abosh updated the summary of D4759: [native] Revert D4717.
Aug 5 2022, 2:53 PM
abosh requested review of D4759: [native] Revert D4717.
Aug 5 2022, 2:50 PM
abosh requested review of D4756: [CI] Remove “Install `ShellCheck`” step from `ShellCheck` GitHub Actions workflow.
Aug 5 2022, 12:16 PM
abosh added inline comments to D4750: [Nix] Provide nix way of starting MariaDB.
Aug 5 2022, 12:12 PM
abosh closed D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 11:55 AM
abosh committed rCOMM457673c23028: [CI] Add `ShellCheck` workflow to GitHub Actions (authored by abosh).
[CI] Add `ShellCheck` workflow to GitHub Actions
Aug 5 2022, 11:54 AM
abosh requested review of D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 11:43 AM
abosh updated the diff for D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.

Add sudo to apt-get commands.

Aug 5 2022, 11:43 AM
abosh updated the diff for D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.

Re-opening diff

Aug 5 2022, 11:42 AM
abosh reopened D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 11:41 AM
abosh closed D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 11:35 AM
abosh committed rCOMM1401617c7e61: [CI] Add `ShellCheck` workflow to GitHub Actions (authored by abosh).
[CI] Add `ShellCheck` workflow to GitHub Actions
Aug 5 2022, 11:35 AM
abosh updated the diff for D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.

Remove quotes around "Install ShellCheck" command.

Aug 5 2022, 10:37 AM
abosh updated the diff for D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.

Use commands we run in Buildkite job instead of unofficial pre-packaged GitHub Action, per @atul's feedback.

Aug 5 2022, 10:35 AM
abosh added inline comments to D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 10:34 AM
abosh requested review of D4755: [CI] Add `ShellCheck` workflow to GitHub Actions.
Aug 5 2022, 9:19 AM

Aug 4 2022

abosh added a comment to D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.

CI build error is unrelated to the changes.

Aug 4 2022, 6:31 PM
abosh committed rCOMM00fefd4ac6b4: [native] Add curly braces and `[@]` list expansion around `ABIS` in… (authored by abosh).
[native] Add curly braces and `[@]` list expansion around `ABIS` in…
Aug 4 2022, 2:05 PM
abosh closed D4738: [services] Clean up `install_cryptopp.sh` using ShellCheck.
Aug 4 2022, 2:02 PM