Skip to content

Conversation

@FireFistisDead
Copy link
Contributor

Fixes #113

Closes #113

Description

This pull request introduces a new "Schedule View" feature that allows users to select which registers are visible across the Home, Timetable, and Settings screens. The implementation refactors register selection logic to use a unified viewingRegisters state, simplifying the user experience and codebase. Additionally, the PR includes minor updates to Android permissions and build configuration.

Schedule View & Register Selection Improvements:

  • Added a "Schedule View" section in SettingsScreen with a multi-select component, letting users choose which registers to view. The selected registers are stored in the new viewingRegisters state. [1] [2] [3]
  • Refactored HomeScreen and TimeTableScreen to use viewingRegisters for event and subject filtering, replacing previous logic based on activeRegister and selectedRegisters. This ensures consistency in register selection across screens and simplifies state management. [1] [2] [3] [4] [5]
  • Removed the dropdown UI and related helper functions from TimeTableScreen, as register selection is now managed via the Settings screen. [1] [2] [3] [4] [5]

User Feedback & Messaging:

  • Updated empty state messaging in HomeScreen to reflect the new register selection logic, guiding users to check their chosen registers for scheduled subjects.

Android & Build Configuration Updates:

  • Updated Android permissions in AndroidManifest.xml to support media access on newer Android versions and clarified usage of storage permissions.
  • Downgraded NDK version in android/build.gradle for compatibility.

These changes collectively enhance the flexibility and clarity of register selection, improve code maintainability, and ensure compatibility with updated Android requirements.

Files Changed

Screenshots/Videos

https://drive.google.com/file/d/1xk54pPD-52gC79G33zRm9r-ec2lPcNMf/view?usp=sharing

GSSoC Contributor

  • Yes, I am a GSSoC contributor

Testing Device

  • Physical Android Device

@FireFistisDead
Copy link
Contributor Author

FireFistisDead commented Aug 17, 2025

@Irtesaam @anisharma07 do you want this kind of change for issue #113 ??

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.

[Feature]: Global Register Selection Setting

1 participant