Skip to content

Conversation

@konstantiniiv
Copy link
Collaborator

@konstantiniiv konstantiniiv commented Nov 14, 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 Nov 14, 2025
@konstantiniiv konstantiniiv changed the title DROID-4152 chat widget removed DROID-4152 Widgets | Data space chat widget removed Nov 14, 2025
Copilot finished reviewing on behalf of konstantiniiv November 14, 2025 12:41
Copy link
Contributor

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 removes the chat widget functionality from the home screen widgets section, as indicated by the ticket "DROID-4152 chat widget removed". The changes eliminate the chat widget from being displayed at the top of the widget sections in shared spaces.

Key Changes

  • Removed chatWidget property from WidgetSections data class and associated documentation
  • Removed the buildChatWidget() function call and chat widget rendering logic from UI
  • Updated widget count calculations and logging to exclude chat widgets

Reviewed Changes

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

File Description
presentation/src/main/java/com/anytypeio/anytype/presentation/widgets/Widget.kt Removed chatWidget property from WidgetSections data class and removed buildChatWidget function call
presentation/src/main/java/com/anytypeio/anytype/presentation/home/HomeScreenViewModel.kt Updated widget calculations and logging to exclude chat widget, but incomplete cleanup remains
app/src/main/java/com/anytypeio/anytype/ui/home/WidgetsScreen.kt Removed SpaceChatWidgetCard import, chat widget state collection, and chat widget rendering UI block

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@konstantiniiv konstantiniiv merged commit 363569f into main Nov 14, 2025
3 checks passed
@konstantiniiv konstantiniiv deleted the droid-4152-data-space-remove-space-chat-widget branch November 14, 2025 14:11
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 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