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

contacts: fix events showing up in the feed #4243

Closed
wants to merge 64 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ca25bbd
wip: refactoring hooks
arthyn Nov 12, 2024
fb4daf2
channels-server: fix compile issue
arthyn Nov 12, 2024
724ea8c
channels-server: hooks mostly working, delay needs testing
arthyn Nov 14, 2024
938383b
wip: trying to use delay hooks
arthyn Nov 14, 2024
5c60aee
hooks: responses and usage threads
arthyn Nov 21, 2024
87ec95d
hooks: adding configuration
arthyn Nov 22, 2024
bc4abcb
hooks: scheduling thread
arthyn Nov 22, 2024
e58131c
hooks: refactor cron to be separate, clean up types
arthyn Nov 25, 2024
5285523
hooks: cleaning up marks, adding metadata, making edit unitized
arthyn Nov 26, 2024
840fa02
hooks: depluralizing folders
arthyn Nov 26, 2024
75abc72
hooks: better scheduling
arthyn Nov 26, 2024
83727c3
channels-server: restoring kind check for now
arthyn Nov 26, 2024
b8f8d02
hooks: cleaning up logging and ids
arthyn Nov 26, 2024
9f85a72
hooks: fail edit on bad compile
arthyn Nov 26, 2024
424ee7f
hooks: ignore premature firing
arthyn Nov 26, 2024
a2f3a1e
Merge branch 'develop' into hm/custom-channels-v2
arthyn Nov 26, 2024
05792c8
channel-utils: simpler log
arthyn Nov 26, 2024
8923a79
desktop: fix ChatList/ChannelList height/space weirdness
patosullivan Nov 26, 2024
2379d80
hooks: cleanup threads and run everything
arthyn Nov 26, 2024
029a90b
Merge pull request #4165 from tloncorp/hm/custom-channels-v2
arthyn Nov 26, 2024
a099d1c
desktop: reduce padding on Group/ChannelListItem
patosullivan Nov 26, 2024
f3b4410
add pressable to GalleryPost, fixes tlon-3279
patosullivan Nov 26, 2024
5b4498f
fixed padding, flipped m/l
patosullivan Nov 26, 2024
0f5f622
channels: fix +ca-recheck crash due to an invalid scry path
mikolajpp Nov 27, 2024
69879c2
Revert ListItem padding changes (it was worth a shot :))
patosullivan Nov 27, 2024
3b379f2
desktop: fix routing/crash issues in settings, add contacts, add themes
patosullivan Nov 27, 2024
1721095
Merge pull request #4223 from tloncorp/po/tlon-3271-fix-chat-list-hei…
patosullivan Nov 27, 2024
45e9266
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
5087a29
refactor chat query (#4225)
dnbrwstr Nov 27, 2024
fefa105
Merge pull request #4227 from tloncorp/po/tlon-3280-tlon-3283-tlon-32…
patosullivan Nov 27, 2024
a1b9bee
update glob: [skip actions]
invalid-email-address Nov 27, 2024
d053263
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
34f183a
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
218c32c
Merge pull request #4226 from tloncorp/mp/channels-fix-ca-recheck
mikolajpp Nov 27, 2024
8c1b796
hooks: only host can modify
arthyn Nov 27, 2024
60f8d57
desktop: fix issue with stale data breaking the app on first load
patosullivan Nov 27, 2024
53f19d8
Merge pull request #4228 from tloncorp/hm/hook-permissions
arthyn Nov 27, 2024
d20550d
Merge pull request #4229 from tloncorp/po/tlon-3288-fix-stale-query-i…
patosullivan Nov 27, 2024
db6f11b
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
1ac90e0
queries: omit you from suggestions
jamesacklin Nov 27, 2024
b1ca91a
ContactsScreenView: better "you" logic
jamesacklin Nov 27, 2024
47c55d0
add + icon to contacts screen for quicker adding
latter-bolden Nov 27, 2024
80bdf4d
remove commented out method
latter-bolden Nov 27, 2024
a65bd38
prevent ever marking yourself a suggestion when deserializing
latter-bolden Nov 27, 2024
b85eeca
add to profile screen navigator for new web
latter-bolden Nov 27, 2024
53f57d2
ops: bump 4.2.4
latter-bolden Nov 27, 2024
fbc9ee0
Merge pull request #4230 from tloncorp/ja/quick-contacts-fixes
jamesacklin Nov 27, 2024
39daf80
update glob: [skip actions]
invalid-email-address Nov 27, 2024
843d131
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
f5cd0c4
fix color deserializer
latter-bolden Nov 27, 2024
773bbec
fix display name for empty string nicknames
latter-bolden Nov 27, 2024
b4d622f
Merge pull request #4231 from tloncorp/lb/bulk-add-contacts
latter-bolden Nov 27, 2024
48549cd
update new frontend glob: [skip actions]
invalid-email-address Nov 27, 2024
0e4d0fb
hooks: allow no-op'ing if none
arthyn Nov 30, 2024
624cc88
Merge pull request #4234 from tloncorp/hm/fix-no-hooks
arthyn Nov 30, 2024
6f81397
desktop: fix big input, and other desktop web issues
patosullivan Dec 2, 2024
ac1f90a
ProfileStatusSheet: add send button
jamesacklin Dec 2, 2024
9fd7c11
desktop: add overflow menu button to gallery posts, default web image…
patosullivan Dec 2, 2024
de72f32
make new OverflowMenuButton component, move it inside the frames, dis…
patosullivan Dec 3, 2024
eaa43a6
Merge pull request #4238 from tloncorp/po/tlon-3273-fix-big-input-and…
patosullivan Dec 3, 2024
1e65255
update new frontend glob: [skip actions]
invalid-email-address Dec 3, 2024
2ca7a12
use token padding
latter-bolden Dec 3, 2024
927bc5d
Merge pull request #4237 from tloncorp/ja/refine-status-sheet
latter-bolden Dec 3, 2024
07e6777
include non notifying contact updates in init feed, bundle them separ…
latter-bolden Dec 3, 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
2 changes: 1 addition & 1 deletion apps/tlon-mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
compileSdk rootProject.ext.compileSdkVersion
versionCode 108
versionName "4.2.3"
versionName "4.2.4"

buildConfigField("boolean", "REACT_NATIVE_UNSTABLE_USE_RUNTIME_SCHEDULER_ALWAYS", (findProperty("reactNative.unstable_useRuntimeSchedulerAlways") ?: true).toString())
}
Expand Down
8 changes: 4 additions & 4 deletions apps/tlon-mobile/ios/Landscape.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.3;
MARKETING_VERSION = 4.2.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -1465,7 +1465,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.3;
MARKETING_VERSION = 4.2.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -1689,7 +1689,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.3;
MARKETING_VERSION = 4.2.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -1732,7 +1732,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.3;
MARKETING_VERSION = 4.2.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 2 additions & 0 deletions apps/tlon-web-new/src/logic/useAppUpdates.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { queryClient } from '@tloncorp/shared';
import { createContext, useCallback, useEffect, useState } from 'react';
import { useRegisterSW } from 'virtual:pwa-register/react';

Expand Down Expand Up @@ -78,6 +79,7 @@ export default function useAppUpdates() {
: `${window.location.href}?updatedAt=${Date.now()}`;

if (needRefresh) {
queryClient.clear();
try {
await updateServiceWorker(false);
} catch (e) {
Expand Down
4 changes: 2 additions & 2 deletions apps/tlon-web-new/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ setupDb().then(() => {
<PersistQueryClientProvider
client={queryClient}
persistOptions={{
persister: indexedDBPersistor(`${window.our}-landscape`),
buster: `${window.our}-landscape-4.0.1`,
persister: indexedDBPersistor(`${window.our}-tlon`),
buster: `${window.our}-tlon-buster-0`,
}}
>
<PostHogProvider client={analyticsClient}>
Expand Down
10 changes: 9 additions & 1 deletion desk/app/activity.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
:: we only care about posts/replies events that are notified, and we
:: don't want to include events from sources whose latest event is
:: after the start so we always get "new" sources when paging
?. ?& notified.event
?. ?& ?|(notified.event ?=(%contact -<.event))
(lth latest.src-info start)
?= $? %post %reply %dm-post %dm-reply
%flag-post %flag-reply %group-ask
Expand All @@ -613,6 +613,14 @@
?^ mention
:- sources.acc
[(sub limit.acc 1) (snoc happenings.acc u.mention) collapsed.acc]
=/ contact-bundle=(unit activity-bundle:a)
?. ?=(%all type) ~
=/ is-contact-event ?=(%contact -<.event)
?. is-contact-event ~
`[source time ~[[time event]]]
?^ contact-bundle
:- sources.acc
[(sub limit.acc 1) (snoc happenings.acc u.contact-bundle) collapsed.acc]
=/ care
?| ?=(%all type)
&(?=(%replies type) ?=(?(%reply %dm-reply) -<.event))
Expand Down
Loading
Loading