Skip to content
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

[feature-medialist] Add trigger to open list editor upon completion of a series #205

Open
wax911 opened this issue Jan 13, 2023 · 0 comments
Labels
🆘 help wanted Extra attention is needed 🌟 feature request A new feature request
Milestone

Comments

@wax911
Copy link
Member

wax911 commented Jan 13, 2023

AniTrend Issue Guidelines

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

You may find an answer in already closed issues:
https://github.com/AniTrend/anitrend-v2/issues?q=is%3Aissue+is%3Aclosed

Feature Information

Automatically open feature-medialist-editor when a user uses the shortcut item to increment thier progress, allowing the user to update other fields, ideally we might want to make this optional so as not to force everyone to go through this.

We'll add more details later, once we understand the requirement fully

Solution Information

TBA

fun View.openMediaListSheetFor(
entity: Media,
settings: IUserSettings
): Boolean {
runIfActivityContext {
runIfAuthenticated(settings) {
val fragmentItem = FragmentItem(
fragment = MediaListEditorRouter.forSheet(),
parameter = MediaListEditorRouter.Param(
mediaId = entity.id,
mediaType = entity.category.type,
scoreFormat = settings.scoreFormat.value
).asBundle()
)
val dialog = fragmentItem.fragmentByTagOrNew(this)
dialog.show(fragmentManager(), fragmentItem.tag())
}
}
return true
}

Additional Context

TBA

@wax911 wax911 added the 🌟 feature request A new feature request label Jan 13, 2023
@wax911 wax911 added this to the v2.0.0-alpha milestone Jan 13, 2023
@wax911 wax911 moved this to 🆕 New in anitrend-v2 Jan 15, 2023
@wax911 wax911 added the 🆘 help wanted Extra attention is needed label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆘 help wanted Extra attention is needed 🌟 feature request A new feature request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant