Commit Graph
54 Commits
Author SHA1 Message Date
denizk0461 e99a58de54 Added a floating action button to add tasks in TaskOverviewFragment.kt 2023-05-21 19:59:38 +02:00
denizk0461 b21953c571 Added data type EventTask.kt for the task fragment; added timetableId to StudIPEvent.kt to assign events with a specific timetable, for a future implementation of being able to store multiple timetables simultaneously; database scheme will now be exported to allow for automatic migrations 2023-05-21 15:29:34 +02:00
denizk0461 2675e5b7f3 Added measures to make sure the user logs into their schedule before fetching can commence 2023-05-21 09:16:27 +02:00
denizk0461 fb155550b3 New fragments can now be accessed via an experimental setting. They tell the user via snack message that their functionality is not yet implemented 2023-05-20 23:01:53 +02:00
denizk0461 cbea5f124d Fixed colours for icons to tell the user that canteen offers are hidden or that they have no events; added tooltips to buttons in canteen fragment; edited README.md to use new iamge paths 2023-05-20 19:12:03 +02:00
denizk0461 1c31d422fa WeserPlaner 1.0.3: adjusted layout of AllergenSheet.kt to display allergens and additives separately; FetcherActivity.kt now features a button to go directly to the user's schedule, if logged in; replaced toast messages with snack bars; ScheduleUpdateSheet.kt now notifies the user about database transactions via snack bar; schedule view now tells the user if there are no events scheduled for a day 2023-05-14 23:09:06 +02:00
denizk0461 8f69b5f381 Adjusted layout of AllergenSheet.kt to display allergens and additives separately 2023-05-14 21:44:05 +02:00
denizk0461 14e379eebf CanteenPageFragment.kt now displays the count of offers that have been hidden due to allergen and dietary preferences 2023-05-14 19:49:09 +02:00
denizk0461 d9a4ead7ec Flattened structure of StwParser.kt somewhat; CanteenFragment.kt now shows an error snack if the user tries to switch canteens while another one is being fetched; made slight adjustments to the translations 2023-05-14 09:00:08 +02:00
denizk0461 2311cc46ad Adjusted UI elements in CanteenFragment.kt to clean up the UI 2023-05-13 19:45:36 +02:00
denizk0461 2798e0ecbb Moved development codes from DevCodeSheet.kt to a (by default) hidden section of SettingsFragment.kt; added further information about the build in that section 2023-05-13 19:31:27 +02:00
denizk0461 7ed230b4b9 Changed FABs into Extended FABs that collapse on scroll; updated FABs and scrolling behaviour of app bars; removed dimens.xml files for landscape and larger widths that had been generated by Android Studio 2023-05-13 10:00:40 +02:00
denizk0461 1e8cc694a3 Fixed some slight issues with the German translation: 2nd person singular "du" was only sometimes capitalised "Du", now it never is; one instance where "The" was used in place of "Die" 2023-05-11 21:38:38 +02:00
denizk0461 a61f072055 Added a button to direct the user to download their schedule from Stud.IP if they have not done any modifications to their schedule; fixed a bug that would show opening hours of the currently selected canteen or crash the app whenever the info button in FetcherActivity.kt was clicked 2023-05-11 21:31:41 +02:00
denizk0461 6dccb287ab Adjusted text to show the user when they have changed their allergen preferences; changed licences text 2023-05-11 14:56:33 +02:00
denizk0461 e33414b7e9 WeserPlaner 1.0.1: pricing can now be adjusted - users can pick whether they want to see pricing for students or for employees; fragment launch settings has been changed to use a MaterialButtonGroup to support adding more options down the line 2023-05-10 21:14:17 +02:00
denizk0461 9ada2ca462 AllergenConfigSheet.kt now updates SettingsFragment.kt to display the count of allergens the user has set; made changes to several strings and minor UI tweaks 2023-05-10 18:43:06 +02:00
denizk0461 218bc89873 Changed TextSheet to use a ViewModel for showing content that is fetched from the database. Uses TextSheetContentId to determine which LiveData to observe. 2023-05-09 14:19:45 +02:00
denizk0461 6cbfe71e62 Added functionality to view news for a canteen; fixed a bug that would prevent the offers from being fetched for canteens without news; BUG: news are still a bit buggy, check for crashes 2023-05-09 12:22:40 +02:00
denizk0461 4ad952f1ae WeserPlaner 1.0.0: updated minor things and changed name from 'Stud.IP Timetable' to 'WeserPlaner' 2023-05-06 22:56:37 +02:00
denizk0461 8a416b30fd Added small hints to FetcherActivity.kt to help out the user 2023-05-05 11:53:44 +02:00
denizk0461 e17a81e604 CanteenFragment.kt: replaced buttons for opening hours and canteen switch embedded in the app bar with floating action buttons; implemented a possible fix for the app crashing after refreshing the canteen plan. This may have been caused by accessing the view/context of the fragment to let the user know that the refresh succeeded or encountered an error. Reference will be null by the time the fragment is inactive, causing a NullPointerException 2023-05-04 15:09:10 +02:00
denizk0461 5ca5788899 Replaced custom TimePickerFragment.kt with standard MaterialTimePicker 2023-05-04 13:29:34 +02:00
denizk0461 3d508dff6c (re-)added option to launch timetable on the current day; reinstated functionality to launch app on CanteenFragment.kt 2023-05-04 08:32:12 +02:00
denizk0461 9e5277a5f6 All sheets now have a button to dismiss the sheet 2023-05-03 21:49:18 +02:00
denizk0461 df1d127a17 Implemented functionality for adding a new event manually; added floating action buttons for adding an event and refreshing the canteen offers 2023-05-03 14:16:32 +02:00
denizk0461 ae8db7ce48 StudIPParser.kt now stops fetching items that don't provide full information, and tells the user how many items were skipped 2023-05-03 11:10:34 +02:00
denizk0461 a5c66aaaff FetcherActivity.kt now has a bottom app bar with useful actions and extends FragmentActivity instead of AppCompatActivity to show a tutorial bottom sheet 2023-05-02 22:35:19 +02:00
denizk0461 2f4b205703 Converted all bottom sheets to use blank constructors and instead rely on bundles to retrieve data/objects, or custom view models to execute functions 2023-05-02 15:02:47 +02:00
denizk0461 5a9ab267aa All sheets now have the ability to scroll; a custom selectable item background has been added to clickable views to get a custom coloured ripple effect on click 2023-05-01 22:19:44 +02:00
denizk0461 b0631d323e User can now select allergens to exclude from the canteen offers 2023-05-01 19:17:35 +02:00
denizk0461 d4737d8e14 Implemented separate ColorStateLists for the individual chips in CanteenFragment.kt to show their distinct colours when clicked 2023-05-01 09:35:01 +02:00
denizk0461 7243df0f06 Further error handling. Also given the user the option to colour dietary preference icons. Colours have partially been derived from those used on stw-bremen.de but have all been processed through the theme builder on m3.material.io 2023-04-29 22:26:26 +02:00
denizk0461 2bf340bdff TabLayoutMediator has been re-instantiated, hopefully in a form that is less crash-prone. Crashes will also be handled now in StwParser.kt 2023-04-29 10:56:52 +02:00
denizk0461 ce7b854e8c StwParser.kt now collects all its data before adding everything to the database all at once, fixing problems where LiveData would update before all transactions were finished; ViewPagers have been updated to use Adapters extending FragmentStateAdapter instead of RecyclerView.Adapter 2023-04-27 21:58:10 +02:00
denizk0461 9d6489f83b Implemented ability to change the fragment opened on app start; made some optimisations to DietaryPreferences.kt. BUG: tab layout mediator is annoying af 2023-04-27 15:15:29 +02:00
denizk0461 a6a1309bce Implemented button to change dates for an event to reflect the academic quarter 2023-04-27 08:20:56 +02:00
denizk0461 540a2a7b9a Canteen adapter now tells the user when no offers are available for a given day 2023-04-26 20:17:35 +02:00
denizk0461 450ce92dca Fixed ScheduleUpdateSheet.kt not updating and deleting events... somehow. Also implemented cheat codes hehe 2023-04-26 18:36:32 +02:00
denizk0461 d0819553bc Implemented licences dialogue in the settings; fully restored highlighting event functionality 2023-04-26 10:21:16 +02:00
denizk0461 65114264c4 Added opening hours and a button for the user to view them, but the formatting sucks 2023-04-25 16:55:17 +02:00
denizk0461 6b1d77dfb3 Implemented functionality to switch canteens. UI for this is not fully implemented. 2023-04-25 15:38:30 +02:00
denizk0461 840c8f1db7 Implemented snackbar telling the user that an error has occurred when fetching their schedule through FetcherActivity.kt. Also made some slight additions to the documentation 2023-04-25 12:02:25 +02:00
denizk0461 9b6e267cb0 Started implementation of event update sheet 2023-04-24 15:43:42 +02:00
denizk0461 a53232a814 Added information on data collection as well as an opt-in toggle, which is not yet implemented 2023-04-24 13:08:03 +02:00
denizk0461 b938352c53 Added further information to be shown in AllergenSheet.kt 2023-04-24 11:21:52 +02:00
denizk0461 6f5df7dd55 Fixed allergen duplicates being stored in the database and shown to the user multiple times 2023-04-24 10:47:34 +02:00
denizk0461 8d6a15c4d5 Added colour to StudIPEvent.kt to implement at a later date in an effort to prepare the app for release without needing to migrate (= nuke) the database once the functionality will be implemented 2023-04-23 21:40:04 +02:00
denizk0461 ca89e68a91 Implemented allergen functionality by showing the user a bottom sheet 2023-04-23 20:33:17 +02:00
denizk0461 b39aa1f003 Fixed a bug that would cause the tab for a day without canteen offers to not be shown, causing the offers for the next days to be shifted over, thus not showing the offers for the last day that's available online. I know I didn't explain that very well, but it's fixed now anyway, soo (: also made some minor visual adjustments to margins and colours 2023-04-20 21:35:09 +02:00