Skip to content

chore: Move to different iconsax library#301

Merged
PartyDonut merged 1 commit intodevelopfrom
chore/move-to-newer-iconsax-library
Apr 5, 2025
Merged

chore: Move to different iconsax library#301
PartyDonut merged 1 commit intodevelopfrom
chore/move-to-newer-iconsax-library

Conversation

@PartyDonut
Copy link
Copy Markdown
Collaborator

Pull Request Description

Move to different iconsax library, change some collection icons

@PartyDonut PartyDonut requested a review from Copilot April 5, 2025 21:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 51 out of 71 changed files in this pull request and generated no comments.

Files not reviewed (20)
  • lib/models/account_model.dart: Language not supported
  • lib/models/collection_types.dart: Language not supported
  • lib/models/item_base_model.dart: Language not supported
  • lib/models/syncing/sync_item.dart: Language not supported
  • lib/models/video_stream_model.dart: Language not supported
  • lib/screens/book_viewer/book_viewer_controls.dart: Language not supported
  • lib/screens/collections/add_to_collection.dart: Language not supported
  • lib/screens/details_screens/book_detail_screen.dart: Language not supported
  • lib/screens/details_screens/episode_detail_screen.dart: Language not supported
  • lib/screens/details_screens/movie_detail_screen.dart: Language not supported
  • lib/screens/details_screens/season_detail_screen.dart: Language not supported
  • lib/screens/details_screens/series_detail_screen.dart: Language not supported
  • lib/screens/home_screen.dart: Language not supported
  • lib/screens/library_search/library_search_screen.dart: Language not supported
  • lib/screens/library_search/widgets/library_filter_chips.dart: Language not supported
  • lib/screens/library_search/widgets/library_saved_filters.dart: Language not supported
  • lib/screens/library_search/widgets/library_views.dart: Language not supported
  • lib/screens/library_search/widgets/suggestion_search_bar.dart: Language not supported
  • lib/screens/login/lock_screen.dart: Language not supported
  • lib/screens/login/login_edit_user.dart: Language not supported

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai bot commented Apr 5, 2025

Reviewer's Guide by Sourcery

This pull request migrates the project from the ficonsax package to the iconsax_plus package for providing icons. It also updates the icon references throughout the codebase to use the new IconsaxPlusBold and IconsaxPlusLinear classes.

Updated class diagram for ItemBaseModel

classDiagram
  class ItemBaseModel {
    -IconData icon
    -IconData selectedicon
  }
  note for ItemBaseModel "ItemBaseModel now uses IconsaxPlusLinear and IconsaxPlusBold for icons."
  ItemBaseModel : -IconsaxOutline.folder_2 -> -IconsaxPlusLinear.folder_2
  ItemBaseModel : -IconsaxBold.folder_2 -> -IconsaxPlusBold.folder_2
  ItemBaseModel : -IconsaxOutline.music -> -IconsaxPlusLinear.music
  ItemBaseModel : -IconsaxBold.music -> -IconsaxPlusBold.music
  ItemBaseModel : -IconsaxOutline.video -> -IconsaxPlusLinear.video
  ItemBaseModel : -IconsaxBold.video -> -IconsaxPlusBold.video
  ItemBaseModel : -IconsaxOutline.video_horizontal -> -IconsaxPlusLinear.video_horizontal
  ItemBaseModel : -IconsaxBold.video_horizontal -> -IconsaxPlusBold.video_horizontal
  ItemBaseModel : -IconsaxOutline.video_vertical -> -IconsaxPlusLinear.video_vertical
  ItemBaseModel : -IconsaxBold.video_vertical -> -IconsaxPlusBold.video_vertical
  ItemBaseModel : -IconsaxOutline.picture_frame -> -IconsaxPlusLinear.picture_frame
  ItemBaseModel : -IconsaxBold.picture_frame -> -IconsaxPlusBold.picture_frame
  ItemBaseModel : -IconsaxOutline.user -> -IconsaxPlusLinear.user
  ItemBaseModel : -IconsaxBold.user -> -IconsaxPlusBold.user
  ItemBaseModel : -IconsaxOutline.gallery -> -IconsaxPlusLinear.gallery
  ItemBaseModel : -IconsaxBold.gallery -> -IconsaxPlusBold.gallery
  ItemBaseModel : -IconsaxOutline.folder -> -IconsaxPlusLinear.folder
  ItemBaseModel : -IconsaxBold.folder -> -IconsaxPlusBold.folder
  ItemBaseModel : -IconsaxOutline.bookmark -> -IconsaxPlusLinear.bookmark
  ItemBaseModel : -IconsaxBold.bookmark -> -IconsaxPlusBold.bookmark
  ItemBaseModel : -IconsaxOutline.archive_book -> -IconsaxPlusLinear.archive_book
  ItemBaseModel : -IconsaxBold.archive_book -> -IconsaxPlusBold.archive_book
  ItemBaseModel : -IconsaxOutline.book -> -IconsaxPlusLinear.book
  ItemBaseModel : -IconsaxBold.book -> -IconsaxPlusBold.book
Loading

File-Level Changes

Change Details Files
Migrated from the ficonsax package to the iconsax_plus package for icon support.
  • Replaced ficonsax imports with iconsax_plus imports.
  • Updated icon references to use IconsaxPlusBold, IconsaxPlusLinear instead of IconsaxBold and IconsaxOutline.
lib/models/item_base_model.dart
lib/screens/library_search/library_search_screen.dart
lib/util/item_base_model/item_base_model_extensions.dart
lib/screens/video_player/video_player_controls.dart
lib/screens/photo_viewer/photo_viewer_screen.dart
lib/screens/settings/settings_screen.dart
lib/screens/home_screen.dart
lib/models/collection_types.dart
lib/screens/details_screens/book_detail_screen.dart
lib/screens/syncing/sync_item_details.dart
lib/screens/book_viewer/book_viewer_controls.dart
lib/screens/library_search/widgets/library_views.dart
lib/screens/login/login_screen.dart
lib/widgets/navigation_scaffold/components/navigation_drawer.dart
lib/models/account_model.dart
lib/screens/details_screens/episode_detail_screen.dart
lib/screens/details_screens/movie_detail_screen.dart
lib/screens/details_screens/season_detail_screen.dart
lib/screens/details_screens/series_detail_screen.dart
lib/screens/library_search/widgets/library_saved_filters.dart
lib/screens/login/widgets/discover_servers_widget.dart
lib/screens/syncing/sync_button.dart
lib/screens/video_player/components/video_player_next_wrapper.dart
lib/models/video_stream_model.dart
lib/screens/library_search/widgets/library_filter_chips.dart
lib/screens/settings/widgets/settings_message_box.dart
lib/screens/shared/detail_scaffold.dart
lib/screens/syncing/sync_widgets.dart
lib/screens/video_player/components/video_volume_slider.dart
lib/widgets/navigation_scaffold/components/floating_player_bar.dart
lib/models/syncing/sync_item.dart
lib/screens/login/lock_screen.dart
lib/screens/login/login_user_grid.dart
lib/screens/photo_viewer/photo_viewer_controls.dart
lib/screens/shared/chips/category_chip.dart
lib/screens/shared/media/carousel_banner.dart
lib/screens/shared/media/components/poster_image.dart
lib/screens/shared/media/episode_details_list.dart
lib/screens/shared/media/expanding_overview.dart
lib/screens/shared/nested_sliver_appbar.dart
lib/screens/syncing/sync_list_item.dart
lib/screens/syncing/widgets/sync_status_overlay.dart
lib/screens/syncing/widgets/synced_episode_item.dart
lib/widgets/navigation_scaffold/components/navigation_body.dart
lib/widgets/shared/horizontal_list.dart
lib/screens/collections/add_to_collection.dart
lib/screens/library_search/widgets/suggestion_search_bar.dart
lib/screens/login/login_edit_user.dart
lib/screens/metadata/edit_item.dart
lib/screens/metadata/edit_screens/edit_fields.dart
lib/screens/metadata/identifty_screen.dart
lib/screens/metadata/info_screen.dart
lib/screens/photo_viewer/simple_video_player.dart
lib/screens/playlists/add_to_playlists.dart
lib/screens/settings/about_settings_page.dart
lib/screens/settings/client_sections/client_settings_download.dart
lib/screens/shared/authenticate_button_options.dart
lib/screens/shared/file_picker.dart
lib/screens/shared/media/banner_play_button.dart
lib/screens/shared/media/components/media_play_button.dart
lib/screens/shared/media/media_banner.dart
lib/screens/shared/media/poster_list_item.dart
lib/screens/syncing/synced_screen.dart
lib/screens/video_player/components/video_playback_information.dart
lib/screens/video_player/components/video_player_options_sheet.dart
lib/util/sticky_header_text.dart
lib/widgets/shared/full_screen_button.dart
lib/widgets/shared/full_screen_button_web.dart
lib/widgets/shared/progress_floating_button.dart

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @PartyDonut - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Consider using a consistent naming convention for the icon libraries (e.g., always use IconsaxPlusBold instead of mixing IconsaxBold and IconsaxPlusBold).
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Review instructions: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@PartyDonut PartyDonut merged commit 5578076 into develop Apr 5, 2025
11 checks passed
@PartyDonut PartyDonut deleted the chore/move-to-newer-iconsax-library branch April 5, 2025 21:36
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.

2 participants