Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

36 support file uploads for submissions #151

Open
wants to merge 41 commits into
base: dev
Choose a base branch
from

Conversation

JonasWanke
Copy link
Contributor

Issue: AN-36: Support file uploads for submissions

Description

This PR adds file uploads and integrates them into assignments by allowing students to take a picture or select a local file to add to a submission.

Checklist

  • Tested on actual devices
  • Commit messages follow conventionalcommits.org


override fun onOptionsItemSelected(item: MenuItem?): Boolean {
when (item?.itemId) {
R.id.base_action_share -> shareLink(url!!, supportActionBar?.title)
R.id.base_action_refresh -> performRefresh()
// TODO: Remove when deep linking is readded
// TODO: Remove when deep linking is readded

This comment was marked as off-topic.

@CodeQualityBot
Copy link

1 Warning
⚠️ a large PR

Generated by 🚫 Danger

@@ -99,34 +121,127 @@ abstract class MainFragment<VM : ViewModel>(refreshableImpl: RefreshableImpl = R
context?.shareLink(link, mainViewModel.config.value?.title)
}
R.id.base_action_refresh -> performRefresh()
// TODO: Remove when deep linking is readded
// TODO: Remove when deep linking is readded

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This comment contains text that has been defined as forbidden in detekt.

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

Successfully merging this pull request may close these issues.

2 participants