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

Better starterpack embed #4659

Merged
merged 8 commits into from
Jun 27, 2024
Merged

Better starterpack embed #4659

merged 8 commits into from
Jun 27, 2024

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Jun 26, 2024

without whitespace

Temporarily using an external embed for this. The app view is actually returning a NotFound record for these, so the normal way of embedding a record won't do great. The image being displayed keeps the info fresh though.

Will add go.bsky.app resolution in a separate PR.

Note: resolution won't work on localhost, because of the origin header. Has to be on a bsky.app domain.

Copy link

render bot commented Jun 26, 2024

Copy link

github-actions bot commented Jun 26, 2024

Old size New size Diff
6.47 MB 6.48 MB 3.43 KB (0.05%)


export async function resolveShortLink(shortLink: string) {
const controller = new AbortController()
const to = setTimeout(() => controller.abort(), 2e3)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these should resolve in two seconds, but we can bump to maybe 5 if we need to.

Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

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

Tested on iOS simulator, seems solid

@haileyok haileyok merged commit 878b047 into main Jun 27, 2024
6 checks passed
estrattonbailey added a commit that referenced this pull request Jun 27, 2024
* origin/main:
  bskyogcard: support emoji, more languages, long starter pack names (#4668)
  Run intl extract
  Add some events to landing screen (#4664)
  update follows when pressing follow all (#4663)
  Better starterpack embed (#4659)
  [Starter Packs] Posts tab (#4660)
  Run intl extract
  [D1X] Onboarding interest display names (#4657)
  Mark two starter pack strings for localization (#4655)
  Refactor nested conditions in the starter pack wizard (#4652)
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.

2 participants