forked from zulip/zulip-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Update translations from Weblate #1
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
Open
github-actions
wants to merge
353
commits into
main
Choose a base branch
from
update-translations/weblate
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <[email protected]>
Servers can't yet start sending null without breaking clients. Releasing this will start lowering the number of client installs that would break, and eventually there will be few enough that the breakage is acceptable; see discussion (same link as in comment): https://chat.zulip.org/#narrow/channel/378-api-design/topic/.60user_settings.2Etwenty_four_hour_time.60/near/2220696
See the doc: https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html > Formatting dates in the default 'en_US' format does not require > any initialization. (And we haven't been doing the described initialization for 'en_US' or any other locale; it's asynchronous, and we have a better plan for international formatting described in zulip#45, using ffi.)
We don't use these yet; coming up.
…tamps Fixes-partly: zulip#1015
github-actions bot
pushed a commit
that referenced
this pull request
Jul 28, 2025
I happened to notice this message getting printed repeatedly in the debug logs (reformatted a bit): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: NetworkException: HTTP request failed. Client is already closed. (ClientException: HTTP request failed. Client is already closed., uri=https://chat.zulip.org/api/v1/users/me/presence) #0 ApiConnection.send (package:zulip/api/core.dart:175) <asynchronous suspension> #1 Presence._maybePingAndRecordResponse (package:zulip/model/presence.dart:93) <asynchronous suspension> zulip#2 Presence._poll (package:zulip/model/presence.dart:121) <asynchronous suspension> That'd be a symptom of an old Presence continuing to run its polling loop after the ApiConnection has been closed, which happens when the PerAccountStore is disposed. Looks like when we introduced Presence in 5d43df2 (zulip#1619), we forgot to call its `dispose` method. Fix that now. The presence model doesn't currently have any tests. So rather than try to add a test for just this, we'll leave it as something to include when we write those tests, zulip#1620.
ce7b149
to
54eecd8
Compare
Fixes zulip#332. Really the same optimization as described for zulip-mobile in zulip/zulip-mobile#4684 , and makes mark-as-read take 0ms (to the nearest ms) down from 3 or 4, in my testing, and so fixes zulip#332.
This skipped test is a duplicate of the one above it, but incorrectly has the description of the one below it. Probably a result of conflict-resolution error in b073c6b which introduced this duplicate, or another in the chain of cherry-picks that led to that commit.
With renderKatex flag enabled (and soon to be default behaviour) being first.
This flag has been enabled since v0.0.29 (beta) release, and we don't plan to disable it. So remove the flag completely, simplifying related code. Fixes: zulip#1728
These changed in a recent upstream PR to look a bit more like the output of `git describe`: flutter/flutter#172141 That causes an upgrade by `tools/upgrade flutter-local` past that upstream change to break an assumption made by this check; the check notices that up front, and sensibly fails. So update the check to accept both ways.
And update Flutter's supporting libraries to match. In particular this gets us TransitionDurationObserver: flutter/flutter#171109 We stop just before a certain Dart SDK roll: flutter/flutter@fa80cbcbdbdd because that commit breaks completion in the IDE, which would be pretty annoying for doing development. Thanks to Sayed for spotting that breakage and bisecting it to that commit: zulip#1755 (comment) https://chat.zulip.org/#narrow/channel/516-mobile-dev-help/topic/New.20Flutter.20upgrade.20degrades.20code.20autocompletion/near/2230721
…orgot This should unblock the upstream PR flutter/flutter#165832 . Discussion: flutter/flutter#165832 (comment) (And, for consistency, also use upstream's new TransitionDurationObserver in a place we were getting a duration more manually. This weakens the test a bit, by removing checks that the duration comes from a popped route, with specific details of the route that was popped. Perhaps we can add a feature to TransitionDurationObserver to get those checks back, but not a priority for now.)
In the next commit(s), when creating topic permalinks, we try to use max message id of the topic, if possible. If we cannot find the max message id, then I think better to use a message id near to max message id. Related CZO discussions: https://chat.zulip.org/#narrow/channel/101-design/topic/redirects.20from.20near.20links/near/1460694 https://chat.zulip.org/#narrow/channel/101-design/topic/redirects.20from.20near.20links/near/1774403
…nvariants` To include the "senders don't match" case, and rename it to `showSender`.
0d0a7cb
to
36d4c74
Compare
…nish These tests scroll a long way, in order to be sure to scroll to the end of the list. That means they invoke overscroll. The details of how overscroll behaves are changing in an upstream PR: flutter/flutter#173849 The new behavior will take more than a single `pump` to reach the end state where the subsequent checks behave as expected. These tests aren't about the overscroll behavior, so just gloss over any wrinkles by calling `pumpAndSettle`.
Fixes zulip#1523. Chris reported the issue, debugged, and wrote the core of the fix. I added the test, found that the left and right insets reappeared, debugged why, and added removeLeft and removeRight to fix those. Co-authored-by: Chris Bobbe <[email protected]>
This will result in better organization when more tests are added for another type of settings (IntGlobalSettings) in the following commits.
This `init` function has only one caller, `prepare` (it could probably be inlined?); simplify by removing this param and the code inside that was never being exercised.
See discussion: zulip#1784 (comment)
Fixes: zulip#524 [chris: rebased atop some notification-test refactors in the last few commits] Co-authored-by: Chris Bobbe <[email protected]>
36d4c74
to
0598d62
Compare
Downloaded from: https://github.com/googlefonts/noto-emoji/blob/b3e3051a0/fonts/Noto-COLRv1.ttf See Unicode 16 Emoji changelog: https://www.unicode.org/emoji/charts-16.0/emoji-released.html For full Unicode 16 support (new emoji reactions and :emoji_name:), the server will need an update for emoji data, CZO thread: https://chat.zulip.org/#narrow/channel/9-issues/topic/seems.20like.20server.20doesn't.20parse.20unicode.2015.20emojis.20yet/near/2253956
This reflects the condition that's directly encoded by this boolean. (Through several conditionals in the rest of the function, we end up confirming that this value is true just if the element does in fact have two `.vlist-r` children, as the old name suggests. But that comes later and more indirectly.)
…t it Mostly this moves and revises comments. Also rename one local to "depthStrut" to match its name in the KaTeX JS, which we also now use in the explanatory comment.
…t doc And leave a comment so we remember to keep this order when adding more fields.
Like HasUserStore for data about users (added in 623bcb4), and HasRealmStore for data about the realm, this will help make it convenient for other substores to refer to data about channels.
This way, this substore becomes a valid home for methods that need to refer to data about both messages and channels. See also fab85ca, where we provided UserStore to ChannelStore.
0598d62
to
30697c0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Automated changes by create-pull-request GitHub action