Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move remaining composer state into reducer #5623

Merged
merged 39 commits into from
Oct 8, 2024
Merged

Move remaining composer state into reducer #5623

merged 39 commits into from
Oct 8, 2024

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Oct 6, 2024

Stacked on #5606 and #5608


This completes moving composer state to a reducer. It is now the source of truth for everything we're posting. This has no functional change, but it prepares us for a threaded composer in the future (which would compose the composer reducer).

I've also done a minor naming cleanup.

Test Plan

Try all composer features.

gaearon and others added 30 commits October 6, 2024 14:43
Co-authored-by: Mary <git@mary.my.id>
Co-authored-by: Mary <git@mary.my.id>
They don't get fancy previews but at least we show something.
This is a bit annoying to port over and seems like a nice-to-have. Might readd in a different place later but I think this also needs a smarter condition.
This reverts commit 35ade48b98ae9aab01fb99eef886a60f3cbc2e45.
Copy link

github-actions bot commented Oct 6, 2024

Old size New size Diff
7.93 MB 7.92 MB -1.17 KB (-0.01%)

src/lib/api/resolve.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@haileyok haileyok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran through this again, everything looks quite solid! Amazing work here and I'm super excited about the draft capabilities this introduces.

Base automatically changed from embed-8 to main October 8, 2024 00:03
@arcalinea arcalinea temporarily deployed to embed-9 - social-app PR #5623 October 8, 2024 00:07 — with Render Destroyed
@haileyok haileyok merged commit e1ca3ae into main Oct 8, 2024
5 of 6 checks passed
@haileyok haileyok deleted the embed-9 branch October 8, 2024 00:07
estrattonbailey added a commit that referenced this pull request Oct 8, 2024
* origin/main: (267 commits)
  Nicer error message for disabled quotes (#5644)
  Update neue nux date (#5643)
  Make alt text scrollable on native (#5642)
  Move remaining composer state into reducer (#5623)
  Fetch link previews from RQ (#5608)
  Use composer state as source of truth for embeds/links on publish (#5606)
  Update Indonesian translation (#5316)
  [Video] Add dimension info to share intent pt.2 (#5640)
  [Video] Prevent screen from dimming while in full screen (#5637)
  [Video] Add dimension info to share intent (#5639)
  [Video] Revert safari hackfix (#5367)
  Swipeable to delete chat, custom swipeable (#5614)
  equal spacing on displayname/handle (#5636)
  Update Japanese translation (#5374)
  Update catalana messages.po (#5380)
  Update and inconsistency fixes to pt-br translation (#5436)
  Tweak #5522 (#5635)
  Update Korean localization (#5401)
  Update Chinese localization (#5433)
  Add Cantonese Localization (#5479)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants