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

Sync pr #2

Merged
merged 120 commits into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
c224921
remove scrollbar-gutter in fullscreen (#5258)
mozzius Sep 10, 2024
fc25992
[Video] make hover state stick around if tapped (#5259)
mozzius Sep 11, 2024
db38438
increase target area of scrubber (#5265)
mozzius Sep 11, 2024
b04ecbe
hls buffering tweaks (#5266)
mozzius Sep 11, 2024
580b67b
disable autoplay within messages and trim feelers (#5260)
mozzius Sep 11, 2024
a19c91d
[Video] TEMP disable skip compression (#5271)
mozzius Sep 11, 2024
24b07c6
[Video] Cap duration (#5270)
mozzius Sep 11, 2024
f943239
fix min size for compression (#5272)
mozzius Sep 11, 2024
dd2d0e6
add (#5273)
haileyok Sep 11, 2024
9912029
[Video] Fix web autoplay (#5274)
mozzius Sep 11, 2024
8a6d83d
make container relative (#5280)
mozzius Sep 11, 2024
67f56af
remove double closing tag (#5257)
Gargaj Sep 11, 2024
cff7cbb
Add autoCapitalize to password field (#5216)
0xEDU Sep 11, 2024
ae71f5c
NUX API (#5278)
estrattonbailey Sep 12, 2024
76c584d
WIP
estrattonbailey Sep 10, 2024
3c8b3b4
Progress on desktoip
estrattonbailey Sep 10, 2024
eaf0081
WIP, avi not working on web
estrattonbailey Sep 10, 2024
f7db14f
Disable avi
estrattonbailey Sep 10, 2024
11ecea2
Add badges, clean up spacing
estrattonbailey Sep 10, 2024
2ee68e4
Copy
estrattonbailey Sep 11, 2024
f8edd11
Don't open for logged out users
estrattonbailey Sep 11, 2024
77d60a5
Hook up data
estrattonbailey Sep 11, 2024
6344405
Rename
estrattonbailey Sep 12, 2024
9bb385a
Refactor, integrate nux, snoozing
estrattonbailey Sep 12, 2024
c8b1338
Fix some nux types
estrattonbailey Sep 12, 2024
6e78ce5
Dev helpers, string cleanup
estrattonbailey Sep 12, 2024
45c8d89
Protect against 3p PDSs and bad responses
estrattonbailey Sep 12, 2024
c99e43d
Protect against other exit methods, protect against multiple fetches
estrattonbailey Sep 12, 2024
63f85f6
Copy
estrattonbailey Sep 12, 2024
7da3ddb
[Video] speculative .vtt file selection fix (#5296)
mozzius Sep 12, 2024
4d22adb
Tabular numbers to video timestamp (#5293)
quiple Sep 12, 2024
e0d9e75
Fix notification scroll jump (#5297)
gaearon Sep 12, 2024
86abeb8
Renaming the Follow button to "Follow back" when followed by user (#5…
wscld Sep 12, 2024
897d8ba
Revert "Show some known OP replies in Following (#5049)" (#5301)
gaearon Sep 12, 2024
47bea32
Add a hard-coded redirect for lulaoficial.bsky.social (#5303)
pfrazee Sep 12, 2024
46402fd
Add gate
estrattonbailey Sep 12, 2024
bd79ce7
Ensure dialog shows for all accounts without snoozing
estrattonbailey Sep 12, 2024
7bba213
Add retry
estrattonbailey Sep 12, 2024
1f2e4b2
Handle overflow of bottom text
estrattonbailey Sep 12, 2024
cc8e7b5
Handle display name
estrattonbailey Sep 12, 2024
7acf0e1
On android, change ten milly nux secondary action to save instead of …
pfrazee Sep 12, 2024
36ac551
Add ja and pt-BR translations
pfrazee Sep 12, 2024
d60a8f2
Suggested follows by actor (on profiles) updates (#5243)
estrattonbailey Sep 12, 2024
47d99b8
Adjust image sizing (#5302)
estrattonbailey Sep 12, 2024
fddb125
Enable video_upload gate (#5311)
gaearon Sep 13, 2024
003f9e0
Fallback snoozing
estrattonbailey Sep 13, 2024
4637c66
Let display name wrap
estrattonbailey Sep 13, 2024
b47bac9
Merge remote-tracking branch 'origin/ten-milly-android-save' into ten…
estrattonbailey Sep 13, 2024
0315814
Separate alt/crop, use new icon (#5321)
estrattonbailey Sep 13, 2024
1dc7ef1
Fix notification->post jump for real (#5314)
gaearon Sep 13, 2024
c723153
Merge branch 'ten-milly' into main
pfrazee Sep 13, 2024
b3381da
Image/video border + tweaks (#5324)
estrattonbailey Sep 13, 2024
08ac3a2
Add events
estrattonbailey Sep 13, 2024
9163f67
Merge branch 'events' into main
pfrazee Sep 13, 2024
78a531f
Disable pointer events on media border (#5327)
estrattonbailey Sep 13, 2024
26508cf
[Video] Remove `expo-video`, use `bluesky-video` (#5282)
haileyok Sep 13, 2024
791bc7a
Fix lexicon validation in PWI Discover (#5329)
gaearon Sep 13, 2024
843f992
[Video] Remember mute state while scrolling (#5331)
haileyok Sep 13, 2024
5333821
[Video] Don't require email verification on self-host (#5332)
haileyok Sep 13, 2024
88813f5
Always display next button on login page (#5326)
estrattonbailey Sep 13, 2024
ce3893d
Apply Following settings to Lists (#5313)
gaearon Sep 13, 2024
cac4312
[Video] Bump video (#5333)
haileyok Sep 13, 2024
d76f9ab
"N" keyboard shortcut to open a new post modal (#5197)
estrattonbailey Sep 13, 2024
e767c50
Don't open composer via hotkey if other dialog is already open (#5334)
estrattonbailey Sep 13, 2024
d8b8030
[Video] Fix regression on audio session at launch (#5338)
haileyok Sep 13, 2024
701ddfb
Release 1.91.1 prep (#5339)
pfrazee Sep 13, 2024
f8658f0
bump (#5348)
haileyok Sep 14, 2024
2a344d8
Add context to `Unmute` and `Mute` strings (#5340)
surfdude29 Sep 15, 2024
55da270
[UITextView] Add background color support to iOS selectable text (#5335)
haileyok Sep 15, 2024
d6c11a7
Fix wrong empty state for liked by (#5343)
gaearon Sep 15, 2024
61deab7
Nux after onboarding (#5357)
estrattonbailey Sep 15, 2024
42b28fe
Disallow some font scaling
estrattonbailey Sep 15, 2024
0681727
Remove overflow hidden from external link outer el (#5356)
estrattonbailey Sep 15, 2024
d62e14e
loosen checks on vtt file (#5359)
mozzius Sep 16, 2024
75e3f51
[Video] Fix scrubber tap target (#5360)
mozzius Sep 16, 2024
06f0785
Update Portuguese localization (#5256)
surfdude29 Sep 16, 2024
c371b70
Update French localization (#5227)
surfdude29 Sep 16, 2024
08003a0
Update Chinese localization (#5291)
auroursa Sep 16, 2024
7dfbd5d
Update Korean localization (#5254)
quiple Sep 16, 2024
4a0e2e3
Update Japanese translation (#5217)
tkusano Sep 16, 2024
b5d8ce1
Update catalan messages.po (#5223)
ivanbea Sep 16, 2024
38c8f01
Updates to Irish translation, back to 100% (#5345)
kscanne Sep 16, 2024
8241747
[Video] Volume controls on web (#5363)
mozzius Sep 16, 2024
8daf6b7
[Video] Fix safari showing spinner (#5364)
mozzius Sep 16, 2024
b69fd23
Milly tweaks (#5365)
estrattonbailey Sep 16, 2024
0414b95
[Video] Additional android fixes (#5373)
haileyok Sep 17, 2024
342919b
Bump 1.91.2 (#5387)
haileyok Sep 17, 2024
8f98d6b
Tweak `pt-BR` string (#5372)
surfdude29 Sep 17, 2024
2745cba
Pre-fill alt text with 10-million card post (#5389)
estrattonbailey Sep 17, 2024
751375c
Make like animation on web same speed as mobile (#5391)
knotbin Sep 17, 2024
b2b5be5
Fix border radius on avatars (#5392)
estrattonbailey Sep 17, 2024
67895f7
Make it work with Xcode 16 (#5386)
mozzius Sep 17, 2024
8d560de
Temporary Sentry hack patch for iOS 18 (#5400)
haileyok Sep 18, 2024
f45f714
Revert unneeded changes to `expo-modules-core` patch (#5393)
haileyok Sep 18, 2024
41d4b2c
remove expo-sentry (#5405)
haileyok Sep 18, 2024
6c8ef69
Fix for undefined ref on hot reload on web (#5407)
estrattonbailey Sep 18, 2024
fb3be79
Update sentry sourcemaps upload (#5409)
haileyok Sep 18, 2024
cbc7cd0
[Neue] Base (#5395)
estrattonbailey Sep 19, 2024
bda355f
Fix font loading on web (#5412)
estrattonbailey Sep 19, 2024
8fde02f
Fix ext embeds in DMs (#5419)
mozzius Sep 19, 2024
24adcb4
Revert provider stacking changes (#5423)
estrattonbailey Sep 19, 2024
1523160
Remove expo/vector-icons from EditImage modal (#5422)
estrattonbailey Sep 19, 2024
8a7fc9a
[Neue] Ligatures & composer (#5427)
estrattonbailey Sep 19, 2024
c0cb593
[Neue] Copy and spacing tweaks (#5428)
estrattonbailey Sep 19, 2024
c8184e8
Adjust toggle components sizing (#5408)
estrattonbailey Sep 19, 2024
22410a3
[Neue] Parallel font loading on web (#5411)
estrattonbailey Sep 19, 2024
f42d441
Add eslint rule to fix imports without the `#/` path alias (#5175)
mozzius Sep 20, 2024
cd88cbe
Add border to menu on web (#5439)
futurGH Sep 20, 2024
fa6f6f9
Language fixes (#5384)
estrattonbailey Sep 20, 2024
27cceb9
Add explicit non-handling of detached quotes in embed (#5156)
estrattonbailey Sep 20, 2024
0eed1cf
[Neue] Buttons (#5406)
estrattonbailey Sep 20, 2024
395edfe
patch expo modules again (#5441)
mozzius Sep 20, 2024
c85a271
Additional moderation (#5172)
estrattonbailey Sep 20, 2024
79a2f8d
Increase rounding for all embeds (#5421)
mozzius Sep 20, 2024
5be5f96
Fixing hover card for labeler accounts (#5414)
wscld Sep 20, 2024
e07f5d5
Fixing extra spacing in notification text (#5396)
wscld Sep 20, 2024
c88b555
Validate TLD in signup (#5426)
haileyok Sep 20, 2024
4161e23
Fix spacing (#5444)
estrattonbailey Sep 20, 2024
7e2456b
[Neue] Font weights (#5442)
estrattonbailey Sep 20, 2024
ed9ec54
Merge branch 'main' into pr/Aeroxander/1
Aeroxander Sep 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = {
],
'bsky-internal/use-exact-imports': 'error',
'bsky-internal/use-typed-gates': 'error',
'bsky-internal/use-prefixed-imports': 'warn',
'simple-import-sort/imports': [
'warn',
{
Expand Down
14 changes: 1 addition & 13 deletions __e2e__/flows/curate-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ appId: xyz.blueskyweb.app
- tapOn: "Delete List"
- tapOn:
id: "confirmBtn"
- assertVisible:
id: "listsEmpty"
- assertVisible: "This list is empty!"

- tapOn:
label: "Create a new curatelist"
Expand Down Expand Up @@ -161,17 +160,6 @@ appId: xyz.blueskyweb.app
- assertNotVisible:
id: "userAddRemoveListsModal"

- tapOn:
label: "Shows the curatelist on my profile"
id: "bottomBarProfileBtn"
- swipe:
from:
id: "profilePager-selector"
direction: LEFT
- tapOn:
id: "profilePager-selector-6"
- tapOn: "Good Ppl"

- tapOn:
label: "Adds and removes users on curatelists from the profile"
id: "bottomBarSearchBtn"
Expand Down
6 changes: 2 additions & 4 deletions __e2e__/flows/thread-screen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ appId: xyz.blueskyweb.app
id: "likeBtn"
childOf:
id: "postThreadItem-by-bob.test"
- assertVisible:
id: "likeCount-expanded"
- assertVisible: "1 like"
- tapOn:
id: "likeBtn"
childOf:
id: "postThreadItem-by-bob.test"
- assertNotVisible:
id: "likeCount-expanded"
- assertNotVisible: "1 like"

# Can like a reply post
- tapOn:
Expand Down
39 changes: 36 additions & 3 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = function (config) {
: undefined
const UPDATES_ENABLED = !!UPDATES_CHANNEL

const USE_SENTRY = Boolean(process.env.SENTRY_AUTH_TOKEN)
const SENTRY_DIST = `${PLATFORM}.${VERSION}.${IS_TESTFLIGHT ? 'tf' : ''}${
IS_DEV ? 'dev' : ''
}`
Expand Down Expand Up @@ -186,7 +187,15 @@ module.exports = function (config) {
},
plugins: [
'expo-localization',
Boolean(process.env.SENTRY_AUTH_TOKEN) && 'sentry-expo',
USE_SENTRY && [
'@sentry/react-native/expo',
{
organization: 'blueskyweb',
project: 'react-native',
release: VERSION,
dist: SENTRY_DIST,
},
],
[
'expo-build-properties',
{
Expand All @@ -211,7 +220,6 @@ module.exports = function (config) {
sounds: PLATFORM === 'ios' ? ['assets/dm.aiff'] : ['assets/dm.mp3'],
},
],
'expo-video',
'react-native-compressor',
'./plugins/starterPackAppClipExtension/withStarterPackAppClip.js',
'./plugins/withAndroidManifestPlugin.js',
Expand All @@ -222,6 +230,31 @@ module.exports = function (config) {
'./plugins/shareExtension/withShareExtensions.js',
'./plugins/notificationsExtension/withNotificationsExtension.js',
'./plugins/withAppDelegateReferrer.js',
[
'expo-font',
{
fonts: [
// './assets/fonts/inter/Inter-Thin.otf',
// './assets/fonts/inter/Inter-ThinItalic.otf',
// './assets/fonts/inter/Inter-ExtraLight.otf',
// './assets/fonts/inter/Inter-ExtraLightItalic.otf',
// './assets/fonts/inter/Inter-Light.otf',
// './assets/fonts/inter/Inter-LightItalic.otf',
'./assets/fonts/inter/Inter-Regular.otf',
'./assets/fonts/inter/Inter-Italic.otf',
'./assets/fonts/inter/Inter-Medium.otf',
'./assets/fonts/inter/Inter-MediumItalic.otf',
'./assets/fonts/inter/Inter-SemiBold.otf',
'./assets/fonts/inter/Inter-SemiBoldItalic.otf',
'./assets/fonts/inter/Inter-Bold.otf',
'./assets/fonts/inter/Inter-BoldItalic.otf',
'./assets/fonts/inter/Inter-ExtraBold.otf',
'./assets/fonts/inter/Inter-ExtraBoldItalic.otf',
'./assets/fonts/inter/Inter-Black.otf',
'./assets/fonts/inter/Inter-BlackItalic.otf',
],
},
],
].filter(Boolean),
extra: {
eas: {
Expand Down Expand Up @@ -264,7 +297,7 @@ module.exports = function (config) {
* @see https://docs.expo.dev/guides/using-sentry/#app-configuration
*/
{
file: 'sentry-expo/upload-sourcemaps',
file: './postHooks/uploadSentrySourcemapsPostHook',
config: {
organization: 'blueskyweb',
project: 'react-native',
Expand Down
Binary file added assets/fonts/inter/Inter-Black.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-BlackItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Bold.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-BoldItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-ExtraBold.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-ExtraBoldItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-ExtraLight.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-ExtraLightItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Italic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Light.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-LightItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Medium.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-MediumItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Regular.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-SemiBold.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-SemiBoldItalic.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-Thin.otf
Binary file not shown.
Binary file added assets/fonts/inter/Inter-ThinItalic.otf
Binary file not shown.
1 change: 1 addition & 0 deletions assets/icons/aspectRatio11_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/aspectRatio34_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/aspectRatio43_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/download_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/flipHorizontal_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/flipVertical_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/textSize_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/titleCase_stroke2_corner0_rounded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion bskyembed/src/components/embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ export function Embed({
return <Info>The quoted post is blocked.</Info>
}

// Case 3.8: Detached quote post
if (AppBskyEmbedRecord.isViewDetached(record)) {
// Just don't show anything
return null
}

// Unknown embed type
return null
}
Expand Down Expand Up @@ -372,7 +378,7 @@ function VideoEmbed({content}: {content: AppBskyEmbedVideo.View}) {

return (
<div
className="w-full overflow-hidden rounded-lg aspect-square"
className="w-full overflow-hidden rounded-lg aspect-square relative"
style={{aspectRatio: `${aspectRatio} / 1`}}>
<img
src={content.thumbnail}
Expand Down
2 changes: 1 addition & 1 deletion bskyweb/cmd/bskyweb/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func run(args []string) {
Name: "cors-allowed-origins",
Usage: "list of allowed origins for CORS requests",
Required: false,
Value: cli.NewStringSlice("https://bsky.app", "https://main.bsky.dev", "https://app.staging.bsky.dev"),
Value: cli.NewStringSlice("https://bsky.app", "https://main.bsky.dev", "https://app.staging.bsky.dev", "https://creaton.social"),
EnvVars: []string{"CORS_ALLOWED_ORIGINS"},
},
},
Expand Down
5 changes: 5 additions & 0 deletions bskyweb/cmd/bskyweb/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ func serve(cctx *cli.Context) error {
maxAge = 7 * (60 * 60 * 24) // 1 week
}

// fonts can be cached for a year
if strings.HasSuffix(path, ".otf") {
maxAge = 365 * (60 * 60 * 24) // 1 year
}

c.Response().Header().Set("Cache-Control", fmt.Sprintf("public, max-age=%d", maxAge))
return next(c)
}
Expand Down
Binary file modified bskyweb/static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified bskyweb/static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified bskyweb/static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified bskyweb/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified bskyweb/static/social-card-default-gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified bskyweb/static/social-card-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
157 changes: 155 additions & 2 deletions bskyweb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,117 @@

<!-- Hello Humans! API docs at https://atproto.com -->

<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Regular.1f5ed03b6dd9fd1f9982.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Italic.95778eb0c75dc956257e.otf">
<!--
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Medium.296aa2d65964269836b3.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-MediumItalic.0e57e17a6311368e2114.otf">
-->
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-SemiBold.2277990330981b8409bb.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-SemiBoldItalic.f62fea3df3a521d6c8a7.otf">
<!--
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Bold.8d330503e1d034ad68de.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-BoldItalic.bb17e63f9baa0d861a20.otf">
-->
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-ExtraBold.ff2581a193bf6b7e0b06.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-ExtraBoldItalic.0e50b40728d24d40fdf4.otf">
<!--
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-Black.66e9a87f1c921e844ed4.otf">
<link rel="preload" as="font" type="font/otf" href="/static/media/Inter-BlackItalic.27b9f0ad06fd13a7b9da.otf">
-->

<style>
@font-face {
font-family: "Inter-Regular";
src: local("Inter-Regular"), url(/static/media/Inter-Regular.1f5ed03b6dd9fd1f9982.otf) format("font/otf");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-Italic";
src: local("Inter-Italic"), url(/static/media/Inter-Italic.95778eb0c75dc956257e.otf) format("font/otf");
font-weight: 400;
font-style: italic;
font-display: swap;
}
/*
@font-face {
font-family: "Inter-Medium";
src: local("Inter-Medium"), url(/static/media/Inter-Medium.296aa2d65964269836b3.otf) format("font/otf");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-MediumItalic";
src: local("Inter-MediumItalic"), url(/static/media/Inter-MediumItalic.0e57e17a6311368e2114.otf) format("font/otf");
font-weight: 500;
font-style: italic;
font-display: swap;
}
*/
@font-face {
font-family: "Inter-SemiBold";
src: local("Inter-SemiBold"), url(/static/media/Inter-SemiBold.2277990330981b8409bb.otf) format("font/otf");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-SemiBoldItalic";
src: local("Inter-SemiBoldItalic"), url(/static/media/Inter-SemiBoldItalic.f62fea3df3a521d6c8a7.otf) format("font/otf");
font-weight: 600;
font-style: italic;
font-display: swap;
}
/*
@font-face {
font-family: "Inter-Bold";
src: local("Inter-Bold"), url(/static/media/Inter-Bold.8d330503e1d034ad68de.otf) format("font/otf");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-BoldItalic";
src: local("Inter-BoldItalic"), url(/static/media/Inter-BoldItalic.bb17e63f9baa0d861a20.otf) format("font/otf");
font-weight: 700;
font-style: italic;
font-display: swap;
}
*/
@font-face {
font-family: "Inter-ExtraBold";
src: local("Inter-ExtraBold"), url(/static/media/Inter-ExtraBold.ff2581a193bf6b7e0b06.otf) format("font/otf");
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-ExtraBoldItalic";
src: local("Inter-ExtraBoldItalic"), url(/static/media/Inter-ExtraBoldItalic.0e50b40728d24d40fdf4.otf) format("font/otf");
font-weight: 800;
font-style: italic;
font-display: swap;
}
/*
@font-face {
font-family: "Inter-Black";
src: local("Inter-Black"), url(/static/media/Inter-Black.66e9a87f1c921e844ed4.otf) format("font/otf");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter-BlackItalic";
src: local("Inter-BlackItalic"), url(/static/media/Inter-BlackItalic.27b9f0ad06fd13a7b9da.otf) format("font/otf");
font-weight: 900;
font-style: italic;
font-display: swap;
}
*/

/**
* Extend the react-native-web reset:
* https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
Expand Down Expand Up @@ -149,7 +259,6 @@

/* ProseMirror */
.ProseMirror {
font: 18px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Liberation Sans", Helvetica, Arial, sans-serif;
min-height: 140px;
}
.ProseMirror-dark {
Expand Down Expand Up @@ -258,7 +367,51 @@
.force-no-clicks * {
pointer-events: none !important;
}
</style>

input[type=range][orient=vertical] {
writing-mode: vertical-lr;
direction: rtl;
appearance: slider-vertical;
width: 16px;
vertical-align: bottom;
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}

input[type="range"][orient=vertical]::-webkit-slider-runnable-track {
background: white;
height: 100%;
width: 4px;
border-radius: 4px;
}

input[type="range"][orient=vertical]::-moz-range-track {
background: white;
height: 100%;
width: 4px;
border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
border-radius: 50%;
background-color: white;
height: 16px;
width: 16px;
margin-left: -6px;
}

input[type="range"][orient=vertical]::-moz-range-thumb {
border: none;
border-radius: 50%;
background-color: white;
height: 16px;
width: 16px;
margin-left: -6px;
}
</style>
{% include "scripts.html" %}
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
Expand Down
1 change: 1 addition & 0 deletions eslint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module.exports = {
'avoid-unwrapped-text': require('./avoid-unwrapped-text'),
'use-exact-imports': require('./use-exact-imports'),
'use-typed-gates': require('./use-typed-gates'),
'use-prefixed-imports': require('./use-prefixed-imports'),
},
}
8 changes: 4 additions & 4 deletions eslint/use-exact-imports.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/* eslint-disable bsky-internal/use-exact-imports */
const BANNED_IMPORTS = [
'@fortawesome/free-regular-svg-icons',
'@fortawesome/free-solid-svg-icons',
]

exports.create = function create(context) {
return {
Literal(node) {
if (typeof node.value !== 'string') {
ImportDeclaration(node) {
const source = node.source
if (typeof source.value !== 'string') {
return
}
if (BANNED_IMPORTS.includes(node.value)) {
if (BANNED_IMPORTS.includes(source.value)) {
context.report({
node,
message:
Expand Down
Loading
Loading