Skip to content

Conversation

@zainbilalh
Copy link
Contributor

Implemented most of Highlight UI:

  • Added Models: Highlight.swift, YoutubeVideo.swift, Article.swift to represent the types of data I'll be showing. Highlight is a parent datatype that can be a YoutubeVideo or Article to write less code
  • Added HighlightTile.swift, HighlightTileVideo.swift, HighlightTileArticle.swift, which represent the tiles for Highlight videos/articles. HighlightTile acts as a parent view for easier data passing regardless of type. (currently three different files, but can be put into one for ease)
  • Added HighlightView.swift and DetailedHighlightView.swift, representing the two possible view lists for highlights (horizontal, vertical)
  • Added SearchView.swift and SearchViewFullScreen.swift. SearchView represents the clickable search bar that opens the search modal. SearchViewFullScreen represents the search modal, where the user can actually search. SearchViewFullScreen is in MainViews, it has debouncing logic to not update excessively, and it uses a DispatchWorkItem.
  • Added NoHighlightView.swift to show as a screen for when there are no results in the search (needs a higher resolution icon)
  • Added Util in Dates.swift, isWithinPastDays to check if a date falls within a given number of days.
  • Added View+CornerRadius.swift to enable rounding specific corners of a view.

TODO:

  • Make the sport filter work (filter highlights based on sport. Button is there, but no logic yet).
  • Make it so that the bottom navbar shows on the detailed highlight view
  • Make search and filter sticky, so when you scroll, it stays on top of the screen
  • Fix all paddings and text styles to be the same throughout the whole app (prioritize app designs over Figma)
  • Fix Empty screen and make Loading screen for when there are no highlights, and when the page is first loading in

zainbilalh and others added 22 commits October 1, 2025 18:15
* Use different Bundle ID (#12)

* Testflight version 1 from main (#13)

* Use different Bundle ID

* Add ci_scripts and remove codegen file

* Add ci_scripts and Display Name

* Fix secrets ci_script issue

* Made script executable

* Made AppIcon square

* Ensure AppIcon has no transparency

* Release 1.0.0 Build 17 (#19)

* Merge release into Main (#15)

* Use different Bundle ID (#12)

* Testflight version 1 from main (#13)

* Use different Bundle ID

* Add ci_scripts and remove codegen file

* Add ci_scripts and Display Name

* Fix secrets ci_script issue

* Made script executable

* Made AppIcon square

* Ensure AppIcon has no transparency

* Added scrollview to opponent name (#10)

* added String extension file with a function to remove prefix for university of. Applied it to opponent names in game cards

* added comment to new string function

* reverse shorten University name, instead made it scrollable

* added scroll view to more views

* Delete Package.resolved

* made new textUtil file for string manipulation specifically for university name being too long, made it scrollable, added shadow to trailing to indicate scrollable. Shorten university of to U

* added comment to TextUtil.trailingFadeWhite

* PR Comment Fixed

- made new folder for ViewModifier and moved TrailingFadeGradient to withTrailingFadeGradient
- renamed TextUtil file to String+Extention

---------



* Adelynnwu/fix background bugs (#18)

* added ci_scripts and modified codegen

* refactor duplicated code in GameView, DynamicScoreBox, etc and implemented PastGameViewModel

* fixed game tile text color

* fixed game summary background and carousel card corner radius

* Some bug fixes

* fixed score box and game location display issue

* Prepare for testing attempt 1

* Fix merge bugs and set App Category & build

* Fix loading state bug

---------



---------




* fixed incosistenc score breakdowns and removed ice hockey (#23) (#24)

* fixed incosistenc score breakdowns and removed ice hockey

* Remove tracking of GameAPI and change to fragments

* Remove default to prevent error

* Implement Temp Fix for pagination and add load more button

---------



* Release 1.0.0 Build 23 (#25)

* fixed incosistenc score breakdowns and removed ice hockey (#23)

* fixed incosistenc score breakdowns and removed ice hockey

* Remove tracking of GameAPI and change to fragments

* Remove default to prevent error

* Implement Temp Fix for pagination and add load more button

---------



* Increment marketing version

---------



* Release Version 1.0.2 Build 26 (#28)

* fixed incosistenc score breakdowns and removed ice hockey (#23)

* fixed incosistenc score breakdowns and removed ice hockey

* Remove tracking of GameAPI and change to fragments

* Remove default to prevent error

* Implement Temp Fix for pagination and add load more button

---------



* Increment marketing version

* fix upcoming card icon (#27)

* Updated Build and version

---------




* Release 1.0.3 Build 27 (#32)

* fixed incosistenc score breakdowns and removed ice hockey (#23)

* fixed incosistenc score breakdowns and removed ice hockey

* Remove tracking of GameAPI and change to fragments

* Remove default to prevent error

* Implement Temp Fix for pagination and add load more button

---------



* Increment marketing version

* fix upcoming card icon (#27)

* Updated README and added set-up instructions (#30)

* Set up Firebase Analytics (#29)

* Set up Firebase

* Removed previous TODO

* Resolved merge conflicts

---------






* Create Package.resolved

* Release 1.0.3 Build 29

* Release 1.0.3 Build 30

---------

Co-authored-by: Angelina Chen <[email protected]>
Co-authored-by: Jayson Hahn <[email protected]>
Co-authored-by: Jayson Hahn <[email protected]>
Co-authored-by: Jay Z. <[email protected]>
Co-authored-by: AdelynnWu <[email protected]>
Co-authored-by: Richie Sun <[email protected]>
Co-authored-by: Peter Bidoshi <[email protected]>
Co-authored-by: Peter <[email protected]>
Copy link
Contributor

@MrPeterss MrPeterss left a comment

Choose a reason for hiding this comment

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

Really nice work, Zain! I'm surprised I don't have more comments on this one because its so large. Once you address the comments, go ahead and request me again!

Copy link
Contributor

@angelinaa-chen angelinaa-chen left a comment

Choose a reason for hiding this comment

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

YAY congrats on your first (and large) PR Zain! This is super impressive, the overall code structure is amazing and I'm so so excited for this feature. I only had a couple of comments to make, but once you address Peter's styling comments as well you should be good to merge!

Copy link
Contributor

@MrPeterss MrPeterss left a comment

Choose a reason for hiding this comment

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

Nice Work, Zain!

@zainbilalh zainbilalh merged commit f4eebae into main Oct 26, 2025
@zainbilalh zainbilalh deleted the Zain/implement-highlight-ui branch October 26, 2025 17:29
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.

4 participants