-
Notifications
You must be signed in to change notification settings - Fork 1
Initial Launch Branch (Do not merge) #21
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
BenHarris4848
wants to merge
22
commits into
launch_branch
Choose a base branch
from
ben/Launch/DoNotMerge
base: launch_branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
6119e0b
Enable notifications and add log statements
BenHarris4848 1cd92bb
Merge branch 'main' of https://github.com/cuappdev/volume-android-arc…
BenHarris4848 226bdbc
Merge branch 'main' of https://github.com/cuappdev/volume-android-arc…
BenHarris4848 d0feda1
Change notifications to strictly be data notifications
ckdesir f727685
Add transitions to OPEN_MAGAZINE
ckdesir b968fef
Delete pendingIntent.send()
ckdesir 9b7da53
Change from "Saved" to "Bookmarks"
ckdesir 77bbfb8
Merge branch 'main' into ben/notifications
ckdesir e6d79e1
Finalize Notifications and formatting
ckdesir c772fc8
Delete Log
ckdesir 230878d
Remove comment
ckdesir 4442674
Add notification support for Android 13+
ckdesir 6ca4628
Remove Log
ckdesir 32db9ed
Add Notification support for API 33
ckdesir d7a81cb
Merge pull request #20 from cuappdev/ben/notifications
BenHarris4848 fe1d4b7
added the content type
emilyhu8 3c56a59
Remove instances of debrief and magazines
BenHarris4848 8663ec3
Merge branch 'emily-content-type' into ben/Launch/DoNotMerge
BenHarris4848 ac8fd02
Hide Magazine Publications
BenHarris4848 0c0ee42
Refactor content type to an enum class
BenHarris4848 ea1066a
Merge branch 'emily-content-type' into ben/Launch/DoNotMerge
BenHarris4848 44a779e
Adjust publication filtering to respect content type refactor
BenHarris4848 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,12 +55,14 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of contentTypes = publication.contentTypes, we can create the enums from the content type itself:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto everywhere |
||
| websiteURL = publication.websiteURL, | ||
| numArticles = publication.numArticles, | ||
| socials = publication.socials | ||
| .map { Social(it.social, it.url) } | ||
| ), | ||
| shoutouts = articleData.shoutouts, | ||
|
|
||
| nsfw = articleData.nsfw | ||
| ) | ||
| } | ||
|
|
@@ -84,6 +86,7 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
| numArticles = publication.numArticles, | ||
| websiteURL = publication.websiteURL, | ||
| socials = publication.socials | ||
|
|
@@ -113,6 +116,7 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
| numArticles = publication.numArticles, | ||
| websiteURL = publication.websiteURL, | ||
| socials = publication.socials | ||
|
|
@@ -142,6 +146,7 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
| numArticles = publication.numArticles, | ||
| websiteURL = publication.websiteURL, | ||
| socials = publication.socials | ||
|
|
@@ -171,6 +176,7 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
| numArticles = publication.numArticles, | ||
| websiteURL = publication.websiteURL, | ||
| socials = publication.socials | ||
|
|
@@ -200,6 +206,7 @@ class ArticleRepository @Inject constructor(private val networkApi: NetworkApi) | |
| rssURL = publication.rssURL, | ||
| slug = publication.slug, | ||
| shoutouts = publication.shoutouts, | ||
| contentTypes = publication.contentTypes, | ||
| websiteURL = publication.websiteURL, | ||
| numArticles = publication.numArticles, | ||
| socials = publication.socials | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think this would be better as a list of ENUMS than raw strings so it scales better from the source of truth;
should be
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.
Implemented these changes on emily-content-type (so that they can eventually be merged into main), then incorporated those changes into this branch. This way we can have the enum change in main next semester, and keep the filtering only in this branch.