Skip to content

DROID-3704 Sentry | Release 11 #2471

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

Merged
merged 5 commits into from
May 27, 2025
Merged

DROID-3704 Sentry | Release 11 #2471

merged 5 commits into from
May 27, 2025

Conversation

konstantiniiv
Copy link
Collaborator

@konstantiniiv konstantiniiv commented May 27, 2025


  • I understand that contributing to this repository will require me to agree with the CLA

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

@konstantiniiv konstantiniiv self-assigned this May 27, 2025
@konstantiniiv konstantiniiv requested a review from uburoiubu as a code owner May 27, 2025 14:55
@uburoiubu uburoiubu requested a review from Copilot May 27, 2025 20:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances font loading performance by switching to asynchronous font loading and improves notification channel group creation compatibility on certain devices.

  • Added FontLoadingStrategy.Async to all custom fonts in typography Compose files.
  • Wrapped getNotificationChannelGroup in a try-catch to handle NoSuchMethodError on some devices.
  • Updated onboarding typography file to use async loading for the Riccione font.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
core-ui/src/main/java/com/anytypeio/anytype/core_ui/views/TypographyCompose.kt Added loadingStrategy = FontLoadingStrategy.Async to all Font calls
core-ui/src/main/java/com/anyprotoio/anytype/core_ui/views/OnBoardingTypographyCompose.kt Added async loading to fontRiccioneRegular; onboarding title style removed by mistake?
app/src/main/java/com/anytypeio/anytype/device/NotificationBuilder.kt Wrapped channel group lookup in try-catch to guard against missing API
Comments suppressed due to low confidence (1)

core-ui/src/main/java/com/anytypeio/anytype/core_ui/views/OnBoardingTypographyCompose.kt:13

  • It looks like the HeadlineOnBoardingTitle TextStyle declaration was accidentally removed in this diff. Please re-add the HeadlineOnBoardingTitle definition to restore onboarding typography.
val fontRiccioneRegular = FontFamily(

@uburoiubu uburoiubu merged commit fa1ba9e into release/0-38-0 May 27, 2025
3 checks passed
@uburoiubu uburoiubu deleted the droid-3704-sentry branch May 27, 2025 21:03
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants