Skip to content

Add the ability to create action types/actions in only Rust; correctly write actions in Android #2805

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

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

Innominus
Copy link

@Innominus Innominus commented Jun 25, 2025

Code formatter has changed the kt code structure for the edited file. If it's not following guidelines/code format standards I'm happy to remove the extra whitespace changes.

Essentially it seems when writing the actions for an action group, it wasn't writing them the same way it was reading them. So it would add the actions but without an ID/title/input so they would show up blank.

Before:
image
After:
image

This is also what the code might look like when using the new builder syntax for ActionType and Action:

    let action_type = ActionType::builder("action-buttons")
        .actions(vec![
            Action::builder("visible-id", "Visible").foreground(true).build(),
            Action::builder("notification-action-id", "Notification Action Titles")
                .foreground(true)
                .build(),
        ])
        .build();

can register them; fix Android incorrectly storing actions in an action
group
@Innominus Innominus requested a review from a team as a code owner June 25, 2025 07:59
Copy link
Contributor

Package Changes Through d0b5d04

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant