Skip to content

Conversation

konstantiniiv
Copy link
Collaborator

@konstantiniiv konstantiniiv commented Sep 16, 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 marked this pull request as ready for review September 19, 2025 15:46
@konstantiniiv konstantiniiv changed the title Droid 3965 epic widgets restructuring DROID-3965 Widgets | Epic widgets restructuring Sep 19, 2025
@konstantiniiv konstantiniiv self-assigned this Sep 19, 2025
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 implements a major restructuring of the widgets system, introducing section-based widget organization and ObjectType widgets. The changes consolidate widget-related logic and improve the user experience by adding sections for pinned items and object types.

  • Adds new widget section types (Pinned and ObjectTypes) with dedicated UI components
  • Implements ObjectType widgets that dynamically create widgets for user-created types
  • Consolidates widget header logic into reusable components with improved styling
  • Updates widget data model to include icon support and creation capabilities

Reviewed Changes

Copilot reviewed 45 out of 45 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
presentation/src/main/java/com/anytypeio/anytype/presentation/widgets/Widget.kt Core widget model updates with icon support and source validation
presentation/src/main/java/com/anytypeio/anytype/presentation/home/HomeScreenViewModel.kt Major restructuring to support ObjectType widgets and section-based organization
app/src/main/java/com/anytypeio/anytype/ui/widgets/types/WidgetHeader.kt New reusable widget header component with animation and interaction support
presentation/src/main/java/com/anytypeio/anytype/presentation/widgets/DataViewListWidgetContainer.kt Enhanced data view container with caching and performance optimizations
app/src/main/java/com/anytypeio/anytype/ui/home/HomeScreen.kt UI updates for section headers and new widget organization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@konstantiniiv konstantiniiv merged commit fe84cd8 into main Sep 20, 2025
3 checks passed
@konstantiniiv konstantiniiv deleted the droid-3965-epic-widgets-restructuring branch September 20, 2025 09:59
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 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.

1 participant