-
Notifications
You must be signed in to change notification settings - Fork 68
DROID-3998 Widgets | Refactors pinned widget cards #2783
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
DROID-3998 Widgets | Refactors pinned widget cards #2783
Conversation
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 default initial order for type widgets by introducing a new object types ordering system and updating widget UI components. The changes enable setting and maintaining order for object types within widgets, while also improving the widget interface design.
Key Changes:
- Adds new
UpdateObjectTypesOrderIds
use case andObjectTypesSetOrder
command for managing type ordering - Introduces
SimpleIcon
class and UI component for consistent widget iconography - Refactors widget cards to use a unified modifier pattern and improved menu system
Reviewed Changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
domain/src/main/java/com/anytypeio/anytype/domain/widgets/UpdateObjectTypesOrderIds.kt | New use case for updating object types order |
core-models/src/main/java/com/anytypeio/anytype/core_models/Command.kt | Added ObjectTypesSetOrder command |
middleware files | Implemented middleware support for object types ordering |
presentation/src/main/java/com/anytypeio/anytype/presentation/objects/ObjectIcon.kt | Added SimpleIcon data class for widget icons |
core-ui files | Implemented SimpleIcon UI component and updated icon handling |
app UI files | Refactored widget cards with unified modifier pattern and improved menu system |
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?