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

demo: custom channels megabranch #4113

Draft
wants to merge 115 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
1834096
Add button / yo input
davidisaaclee Oct 21, 2024
67fc515
Add picto message + input types
davidisaaclee Oct 21, 2024
7dee8fe
Generalize file upload helpers
davidisaaclee Oct 21, 2024
d29685f
Add basic mic input type
davidisaaclee Oct 21, 2024
bc94595
Pull AudioPlayer component out of AudioEmbed
davidisaaclee Oct 21, 2024
8dc46d5
Add AudioPost component
davidisaaclee Oct 21, 2024
6df74c9
remove debug logs
davidisaaclee Oct 21, 2024
fde58e0
Tweak button style
davidisaaclee Oct 21, 2024
cb0e956
Pull post collection view into isolated(ish) component
davidisaaclee Oct 23, 2024
e4dc330
Use components kit to provide collection views
davidisaaclee Oct 23, 2024
1082c9e
Add cards collection layout
davidisaaclee Oct 23, 2024
4b8938d
Merge branch 'dil/button-input' into dil/demo/custom-everything
davidisaaclee Oct 24, 2024
eb9b3c8
Merge branch 'dil/picto' into dil/demo/custom-everything
davidisaaclee Oct 24, 2024
5156f5e
Merge branch 'dil/audio-messages' into dil/demo/custom-everything
davidisaaclee Oct 24, 2024
4a684d8
Update pnpm-lock
davidisaaclee Oct 24, 2024
bd90123
y -> x
davidisaaclee Oct 24, 2024
c73997a
Fix ref type for AudioPlayer
davidisaaclee Oct 24, 2024
a8fc63d
Unload sound from React state as cleanup
davidisaaclee Oct 24, 2024
a5036a7
Make cards collection view load more posts; add buttons
davidisaaclee Oct 24, 2024
6e56280
Make user name visible in picto message
davidisaaclee Oct 24, 2024
4a46488
Add sign collection view
davidisaaclee Oct 24, 2024
fa7e568
simple color post + input
dnbrwstr Oct 24, 2024
06eb25e
Don't wrap in cards jogging; change labels to newer/older
davidisaaclee Oct 24, 2024
e9a6222
Add prompt to jump to post index
davidisaaclee Oct 24, 2024
72d02b0
Remove non-button nav presses
davidisaaclee Oct 24, 2024
a667a87
Pull useUpdateChannel into shared
davidisaaclee Oct 24, 2024
84841b2
Add feature flag mirroring in shared
davidisaaclee Oct 24, 2024
d707778
Update updateChannel for StructuredChannelDescriptionPayload
davidisaaclee Oct 24, 2024
4efa367
add jankass edit channel config section to channel options
davidisaaclee Oct 24, 2024
ade8ed8
Remove unused code
davidisaaclee Oct 25, 2024
572c339
Add boardroom collection layout
davidisaaclee Oct 25, 2024
23fcbfe
Pull load posts in window to hook
davidisaaclee Oct 25, 2024
9fbfb07
Add strobe collection layout
davidisaaclee Oct 25, 2024
a37de92
add inine configuration in channel
dnbrwstr Oct 25, 2024
0965f8b
add raw and yell content types
dnbrwstr Oct 25, 2024
0294a46
Merge remote-tracking branch 'origin/po/spike-bare-chat-input' into d…
davidisaaclee Oct 25, 2024
27e0157
ops: bump version
latter-bolden Oct 25, 2024
df327fa
onboarding: add show/hide to password fields
jamesacklin Oct 24, 2024
a0ce02a
fire invite link added event even if they get it on the welcome screen
latter-bolden Oct 24, 2024
99a3af8
fixtures: wrap onboarding screens in <Theme>, add fixture options to …
jamesacklin Oct 24, 2024
0fb9517
assets: add fill="currentColor" to arvos_discussing
jamesacklin Oct 24, 2024
998a697
fixtures: fix tsc error
jamesacklin Oct 24, 2024
6778024
update glob: [skip actions]
invalid-email-address Oct 25, 2024
748d764
Randomly sort boardroom members
davidisaaclee Oct 25, 2024
195c9f6
Fix posts not updating in some collection layouts
davidisaaclee Oct 26, 2024
65c8acd
Fix strobe collection collapsing messages without intrinsic width
davidisaaclee Oct 26, 2024
32da0a0
Merge remote-tracking branch 'origin/develop' into dil/demo/custom-ev…
davidisaaclee Oct 29, 2024
aa1b777
Resolve errors from merge
davidisaaclee Oct 29, 2024
5bf849c
Add shared/utils subpackage with objectKeys,objectEntries
davidisaaclee Oct 30, 2024
dffceaa
Centralize definition of component kit items into one array
davidisaaclee Oct 30, 2024
014c59a
Merge pull request #4129 from tloncorp/dil/centralize-componentskit-c…
davidisaaclee Oct 30, 2024
67ee7ae
[breaking change] Add parameters to channel content config components
davidisaaclee Oct 30, 2024
cb0aeec
Remove type parameter to enable omitting parameters
davidisaaclee Oct 30, 2024
ce23d7a
Add backwards compatibility with bare component ID configs
davidisaaclee Oct 30, 2024
24e410a
Extend ChannelConfigurationBar fixture to prove seamless config upgrade
davidisaaclee Oct 30, 2024
50890c7
Connect component-specific configuration to each view
davidisaaclee Oct 30, 2024
1e99db1
Hook up example parameters
davidisaaclee Oct 30, 2024
5a12650
Add standard set of collection params
davidisaaclee Oct 31, 2024
454ad79
Use npm package identifier for workspace package
davidisaaclee Nov 1, 2024
6a02724
Merge pull request #4133 from tloncorp/dil/channel-config-parameters
davidisaaclee Nov 1, 2024
c2fe806
Flip standard collection params to better handle missing values
davidisaaclee Nov 1, 2024
dd808dd
Avoid crashing on malformed description payload
davidisaaclee Nov 1, 2024
4a3e3a2
Use positive std param terms; set param defaults on read from DB
davidisaaclee Nov 1, 2024
019ff0e
Only show "configure view" menu item when config is available
davidisaaclee Nov 1, 2024
7e2956e
Apply standard params to legacy post content renderers
davidisaaclee Nov 1, 2024
381260f
fix import
latter-bolden Nov 4, 2024
2346d25
Fix type
davidisaaclee Nov 4, 2024
19a527a
Merge remote-tracking branch 'origin/develop' into dil/demo/custom-ev…
davidisaaclee Nov 7, 2024
86773b8
Update Podfile.lock
davidisaaclee Nov 7, 2024
a9a5537
Delete unused code
davidisaaclee Nov 7, 2024
081865a
Merge pull request #4158 from tloncorp/dil/delete-unused-edit-channel
davidisaaclee Nov 15, 2024
b19b50b
Set defaults when updating unset content config
davidisaaclee Nov 14, 2024
aeccf09
Export ChannelContentConfiguration as namespace
davidisaaclee Nov 14, 2024
f503b12
Fix cyclic import
davidisaaclee Nov 14, 2024
142398b
Add option to override properties of createFakePost
davidisaaclee Nov 14, 2024
5636935
Add Channel fixture with connected configuration bar
davidisaaclee Nov 14, 2024
1016165
Add basic summaries collection layout
davidisaaclee Nov 14, 2024
1b773eb
Move new post detail view into root navigator
davidisaaclee Nov 14, 2024
ddfa341
Pass editPost to ConnectedPostView
davidisaaclee Nov 15, 2024
209cf71
Add scratchpad post content type
davidisaaclee Nov 15, 2024
f9793cc
Use useLivePost when displaying posts
davidisaaclee Nov 15, 2024
3d86236
Delete broken notes fixture
davidisaaclee Nov 15, 2024
53570b6
Lighten scratchpad border
davidisaaclee Nov 15, 2024
080ff42
Use usePostWithRelations instead of usePostReference
davidisaaclee Nov 15, 2024
5322e1c
Update cosmos.imports.ts
davidisaaclee Nov 15, 2024
e9f9b75
Merge pull request #4140 from tloncorp/dil/flip-standard-params-custo…
davidisaaclee Nov 15, 2024
c8f075b
Enable editing posts from legacy PostView
davidisaaclee Nov 15, 2024
23f74d4
Remove unnecessary type
davidisaaclee Nov 15, 2024
7f06660
Merge pull request #4188 from tloncorp/dil/notes-app
davidisaaclee Nov 18, 2024
16ec840
Add carousel collection (#4198)
dnbrwstr Nov 20, 2024
284418d
Add and install local storage provider
davidisaaclee Nov 21, 2024
ec5e5ee
Move feature flag access to options; remove unused option
davidisaaclee Nov 21, 2024
e5db729
Use StorageContext instead of directly importing storage singleton
davidisaaclee Nov 21, 2024
80af067
Move useChannelContext to `shared` package
davidisaaclee Nov 21, 2024
8822aa9
Fix existing type issue (hidden by previous implicit use of `any`)
davidisaaclee Nov 21, 2024
bbf1cc7
Add channel type override to use appropriate BigInput
davidisaaclee Nov 18, 2024
986f65e
Show replies in DetailPostUsingContentConfiguration
davidisaaclee Nov 19, 2024
9f69ef6
Put ChatMessageActions props into shared file; make post ref optional
davidisaaclee Nov 19, 2024
65a50c0
Use Pressable for audio post tap
davidisaaclee Nov 19, 2024
fb516c8
Disable Pressable when no handlers are bound
davidisaaclee Nov 20, 2024
ee4dd8b
[wip] Add context menu to posts in detail view (no action functionality)
davidisaaclee Nov 20, 2024
a57b850
Move DetailPostUsingContentConfiguration into barrel
davidisaaclee Nov 20, 2024
f65a563
Pull context menu code into own file
davidisaaclee Nov 20, 2024
981cc3c
Add reply input
davidisaaclee Nov 20, 2024
84a19d8
Use useChannelContext to manage draft context in thread
davidisaaclee Nov 21, 2024
093aabd
Remove unused `quote` action
davidisaaclee Nov 21, 2024
488712c
Merge remote-tracking branch 'origin/develop' into dil/demo/custom-ev…
davidisaaclee Nov 21, 2024
8c48f8a
Merge remote-tracking branch 'origin/dil/demo/custom-everything' into…
davidisaaclee Nov 26, 2024
1abe003
fix merge artifact
davidisaaclee Nov 26, 2024
bca6bbc
Merge pull request #4213 from tloncorp/dil/custom-channels/fix-custom…
davidisaaclee Nov 26, 2024
1c931c0
Merge remote-tracking branch 'origin/develop' into dil/demo/custom-ev…
davidisaaclee Dec 3, 2024
ff1cef1
Wrap Channel in forwardRef
davidisaaclee Dec 3, 2024
27f1ce0
Open channel config bar via chat options context
davidisaaclee Dec 3, 2024
346a866
Wrap PostUsingContentConfigurationScreen with ChatOptionsProvider
davidisaaclee Dec 4, 2024
645dd56
Close chat options on start configure channel
davidisaaclee Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion apps/tlon-mobile/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,12 @@ PODS:
- React-Core
- react-native-safe-area-context (4.9.0):
- React-Core
- react-native-skia (1.5.3):
- glog
- RCT-Folly (= 2022.05.16.00)
- React
- React-callinvoker
- React-Core
- react-native-webview (13.6.4):
- glog
- RCT-Folly (= 2022.05.16.00)
Expand Down Expand Up @@ -1465,6 +1471,7 @@ DEPENDENCIES:
- react-native-get-random-values (from `../../../node_modules/react-native-get-random-values`)
- "react-native-netinfo (from `../../../node_modules/@react-native-community/netinfo`)"
- react-native-safe-area-context (from `../../../node_modules/react-native-safe-area-context`)
- "react-native-skia (from `../../../node_modules/@shopify/react-native-skia`)"
- react-native-webview (from `../../../node_modules/react-native-webview`)
- React-nativeconfig (from `../../../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
Expand Down Expand Up @@ -1672,6 +1679,8 @@ EXTERNAL SOURCES:
:path: "../../../node_modules/@react-native-community/netinfo"
react-native-safe-area-context:
:path: "../../../node_modules/react-native-safe-area-context"
react-native-skia:
:path: "../../../node_modules/@shopify/react-native-skia"
react-native-webview:
:path: "../../../node_modules/react-native-webview"
React-nativeconfig:
Expand Down Expand Up @@ -1837,6 +1846,7 @@ SPEC CHECKSUMS:
react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06
react-native-netinfo: 3aa5637c18834966e0c932de8ae1ae56fea20a97
react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b
react-native-skia: 211686d244201306777e3b8d8396df0e5e38b96a
react-native-webview: ad868affda04ff2b204de83546193bc0325a8280
React-nativeconfig: 44cd3076b158c39cb6758f238cd3e65953e989c0
React-NativeModulesApple: af58ca346cf42c3bb4dab9173b6edd0c83c2a21c
Expand Down Expand Up @@ -1880,7 +1890,7 @@ SPEC CHECKSUMS:
sqlite3: f163dbbb7aa3339ad8fc622782c2d9d7b72f7e9c
tentap: 2cf2e387dd284bf867010eb7d0f91618fb35b673
UMAppLoader: 5df85360d65cabaef544be5424ac64672e648482
Yoga: fb61b2337c7688c81a137e5560b3cbb515289f91
Yoga: 4dbfeceb9bb0f62899d0a53d37a1ddd58898d3f2

PODFILE CHECKSUM: 0cb7a78e5777e69c86c1bf4bb5135fd660376dbe

Expand Down
1 change: 1 addition & 0 deletions apps/tlon-mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@react-navigation/native-stack": "^6.9.13",
"@shopify/flash-list": "1.6.3",
"@tamagui/react-native-media-driver": "^1.116.12",
"@shopify/react-native-skia": "^1.3.9",
"@tanstack/react-query": "~5.32.1",
"@tloncorp/app": "workspace:*",
"@tloncorp/editor": "workspace:*",
Expand Down
87 changes: 46 additions & 41 deletions apps/tlon-mobile/src/App.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { useIsDarkMode } from '@tloncorp/app/hooks/useIsDarkMode';
import { useMigrations } from '@tloncorp/app/lib/nativeDb';
import { PlatformState } from '@tloncorp/app/lib/platformHelpers';
import { Provider as TamaguiProvider } from '@tloncorp/app/provider';
import { StorageProvider } from '@tloncorp/app/provider/StorageProvider';
import { FeatureFlagConnectedInstrumentationProvider } from '@tloncorp/app/utils/perf';
import { posthogAsync } from '@tloncorp/app/utils/posthog';
import { QueryClientProvider, queryClient } from '@tloncorp/shared/api';
Expand Down Expand Up @@ -121,48 +122,52 @@ export default function ConnectedApp() {
return (
<ErrorBoundary>
<FeatureFlagConnectedInstrumentationProvider>
<TamaguiProvider>
<ShipProvider>
<NavigationContainer
theme={isDarkMode ? DarkTheme : DefaultTheme}
ref={navigationContainerRef}
>
<BranchProvider>
<PostHogProvider
client={posthogAsync}
autocapture={{
captureTouches: false,
}}
options={{
enable:
process.env.NODE_ENV !== 'test' ||
!!process.env.POST_HOG_IN_DEV,
}}
>
<GestureHandlerRootView style={{ flex: 1 }}>
<SafeAreaProvider>
<MigrationCheck>
<QueryClientProvider client={queryClient}>
<SignupProvider>
<PortalProvider>
<App />
</PortalProvider>
<StorageProvider>
<TamaguiProvider>
<ShipProvider>
<NavigationContainer
theme={isDarkMode ? DarkTheme : DefaultTheme}
ref={navigationContainerRef}
>
<BranchProvider>
<PostHogProvider
client={posthogAsync}
autocapture={{
captureTouches: false,
}}
options={{
enable:
process.env.NODE_ENV !== 'test' ||
!!process.env.POST_HOG_IN_DEV,
}}
>
<GestureHandlerRootView style={{ flex: 1 }}>
<SafeAreaProvider>
<MigrationCheck>
<QueryClientProvider client={queryClient}>
<SignupProvider>
<PortalProvider>
<App />
</PortalProvider>

{__DEV__ && (
<DevTools
navigationContainerRef={navigationContainerRef}
/>
)}
</SignupProvider>
</QueryClientProvider>
</MigrationCheck>
</SafeAreaProvider>
</GestureHandlerRootView>
</PostHogProvider>
</BranchProvider>
</NavigationContainer>
</ShipProvider>
</TamaguiProvider>
{__DEV__ && (
<DevTools
navigationContainerRef={
navigationContainerRef
}
/>
)}
</SignupProvider>
</QueryClientProvider>
</MigrationCheck>
</SafeAreaProvider>
</GestureHandlerRootView>
</PostHogProvider>
</BranchProvider>
</NavigationContainer>
</ShipProvider>
</TamaguiProvider>
</StorageProvider>
</FeatureFlagConnectedInstrumentationProvider>
</ErrorBoundary>
);
Expand Down
Loading
Loading