Skip to content
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

Use null-safe package for text highlighting. #281

Draft
wants to merge 64 commits into
base: null_safety
Choose a base branch
from

Conversation

IoanaAlexandru
Copy link
Member

This should be merged after #280, as the base branch is null_safety_fixes.

IoanaAlexandru and others added 30 commits July 16, 2021 21:24
* Prevent use of S.of(context).

* Add test code.

* Fix dangerfile.

* Check only dart files.

* Revert "Add test code."

This reverts commit bd975da

* Move remote_config import back
* Added myself to contributers

* Added myself to contributers

* Added myself to contributers

* Added myself to contributers

* Added myself to contributers

* Added myself to contributers(+ Ș/ț)

Co-authored-by: stafy2912 <stafy2912@gmail.com>
…/acs-upb-mobile into andreew/update_contributors
* Sort people by last name.

* Bump build number.

Co-authored-by: Andrei-Constantin Mirciu <38398944+andreicmirciu@users.noreply.github.com>
* update_contributors

* Update pubspec.lock

* Update README.md
* Allow unsafe traffic from aii.pub.ro.

* Only allow HTTP fo aii.pub.ro.

* Fix some whitespace.

* Bump version.

* Allow HTTP on iOS as well.

* Indent Info.plist using tabs.

* Missed a tab.
* Remove bottom blue line in tab bar.

* Change SelectableFormField to use Chips.

* Improve Chip theme.

* Make dividers more consistent.

Couldn't find the exact setting but this looks decent.

* Add custom theme for dark mode.

* First attempt at fixing relevance picker.

* Fix logic for relevance picker.

* Select "Anyone" when no custom node is selected.

* Call relevancePicker.onChanged whenever it changes.

* Disable public filter options if user doesn't have permission.

* Fix ChoiceChip theme.

* Make RelevancePicker a FormField everywhere.

* Reuse ChipFormField in RelevanceFormField.

* Move filterIconColor to resources/theme.dart.

* Remove some duplicate code.

* Remove S.of(context).

* Fix default relevance in picker.

* Use chips on filter page.

This also fixes #5.

* Use chips in FAQ page.

* Fix tests.

* Make flutter version in workflows more specific.

Workflows now fail on GH but work locally, so I think it's because the
1.24.x version somehow gets matched to 2.3.0-24.1.pre-beta instead of
1.24.0-10.2.pre.

* Revert workflow changes.

No longer seems to be necessary and the previous version didn't work well anyway.

* Prep for release.

* Bump version and update changelog.

* Add comma for formatting.

Co-authored-by: Andrei-Constantin Mirciu <38398944+andreicmirciu@users.noreply.github.com>
Solved warnings
Updated related packages
Solved warnings
Updated related packages
(in timetable's model classes)
bogpie and others added 30 commits August 22, 2021 21:01
Created event provider function (getEventsIntersecting), currently from already existing methods.

Made necessary conversions to UTC time zone.
Events are now preloaded including previous and next page (a page is a week).

Fixed minor warnings
To be improved, since I believe I also convert already-UTC DateTimes.
Fixed overflow on text from all-day events

Refactoring
This is done by updating isUtc property for events without making hour conversions; those would shift the hour from midnight to ~9PM previous. day.
However, it turned out that, while converting to Firebase Timestamp, I had to disable isUtc property to avoid an off-by-two-hours error (see toNonUtcForced() )
- RemoteConfig is not supported on web
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.

8 participants