HomePhabricator
Diffusion Comm fad6a638b0f9

[web] Modify `selectedThreadColors` to preserve order of keys

Description

[web] Modify selectedThreadColors to preserve order of keys

Summary:
Addresses the issue flagged by @palys-swm here: https://phabricator.ashoat.com/D3702?id=11317#inline-22176

I tried a few other ways to do this, but ran into various flow issues. This aproach works, but it seems overly complex. Will continue investigating alternative approaches.

Test Plan: flow, colors now appear in the correct order:

Reviewers: palys-swm, ashoat

Reviewed By: palys-swm, ashoat

Subscribers: Adrian, karol-bisztyga, benschac, yayabosh, palys-swm

Differential Revision: https://phabricator.ashoat.com/D3715

Details

Provenance
atulAuthored on Apr 12 2022, 3:54 PM
Reviewer
tomek
Differential Revision
D3715: [web] Modify `selectedThreadColors` to preserve order of keys
Parents
rCOMMbf46c9287552: [web] Remove `newThreadPasswordInput` from `thread-settings-modal`
Branches
Unknown
Tags
Unknown