-
Notifications
You must be signed in to change notification settings - Fork 68
DROID-3965 Widgets | Epic widgets restructuring #2735
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
Conversation
…ring # Conflicts: # domain/src/main/java/com/anytypeio/anytype/domain/objects/StoreOfObjectTypes.kt # domain/src/main/java/com/anytypeio/anytype/domain/objects/StoreOfRelations.kt
…ring # Conflicts: # app/src/main/java/com/anytypeio/anytype/di/common/ComponentManager.kt # localization/src/main/res/values/strings.xml
There was a problem hiding this 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.
Description
What type of PR is this? (check all applicable)
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?