Coder Social home page Coder Social logo

neo-tat / tat_flutter Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 17.0 150.66 MB

An App for Taipei Tech students. NTUT Life TAT, convenient, concise, fast, powerful, enrich your NTUT life!

Home Page: https://ntut.club/jointat

License: GNU General Public License v3.0

Kotlin 0.20% Swift 0.17% Objective-C 0.01% Dart 97.78% Ruby 0.51% Shell 0.34% Java 1.00%
flutter ios android tat ntut hacktoberfest

tat_flutter's People

Contributors

320jackson avatar deviltea avatar james-lu-none avatar morris13579 avatar ntut-xuan avatar ricky9667 avatar rileychh avatar xanonymous-github avatar yaoandy107 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tat_flutter's Issues

Feature: Seperate APP flafor into BETA and REAL

Description

  • As title.

How to implement?

  • Use flutter flavor, ensure runtime API could be split into BETA and REAL(prod) env.
  • Create Firebase BETA project for TAT.

Design(optional)

Additional contexts(optional)

[BUG] Exception: Invalid image data

Description

The avatar on the other tab page will appeared an decode error.
We have tried to test and found that the problem may caused by the school image source, which means if we change the image url to another, it will looks fine without errors.

Bug: error occurred when download course video

Describe the bug
As title, a file system related error may occurred when trying to download course video.

To Reproduce

  1. Go to a course iplus file page
  2. choose a video and open it
  3. click download
  4. check the console

Expected behavior
The video seems could still be downloaded, but we expect the error should not appear, too.

Screenshots
截圖 2022-05-19 上午5 01 17

Bug: score fetch error by non-digital score

Describe the bug
The score may not be a digital parsable string, ex: Q (What is this ???)
Only happened on seldom devices.

To Reproduce
Unknown.
We should find someone whose grade contains non-digital string

Expected behavior
show all grades without error

Screenshots
N/A

[Improvement] Update README.md

Description

The README.md of this project doesn't have a regular format.

So we should add some pictures, titles, descriptions into that file.

[Feature] Auto roll-call for Zuvio

Description

We will add an auto roll-call feature for Zuvio into TAT, hopes to help students pass all late roll-call risks :)

Yes, it will be.

[Improvement] Add Project CD/CI

Description

After upgrading to Flutter 2.0 & null-safety, it is failed to run the auto-deploy process.

And also there's not have any CI check before.

So we may need to add some CD/CI here to make it auto build and check.

Feature: let user use some features when not login

Description

  • After #91 , it seems we could let user user the following features which is not required any NTUT account auth key
    • About page
    • Feedback
    • settings
    • Calendar
    • bulletin board (TBD)

How to implement?

  • Maybe we can add a second bottom nav bar on the login screen
  • Or make the login screen become a main screen tab page's content, and disable the tab page which required NTUT account when user not login.

Design(optional)

  • TBD

Additional contexts(optional)

  • TBD

[Improvement] Fix null-safety errors in dart code base

Description

In order to upgrade code to support flutter null safety and prepare for the TAT 2.x , we need to check all dart files if they have already written in the newest way.

TODO

  • Move all legacy codes to a new flutter 2 project and check every files are ready for build.

[Improvement] Remove self-written plugins

Description

We want to remove plugins written by our own before includes

  • awsomeDialog
  • big5-dart
  • http_parser

Because the latest version of these plugins on pub.dev have more useful features then before.

Bug: some texts still overflow when system fontsize is set to large

Describe the bug
as title

To Reproduce
grade page

Expected behavior
not overflow

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Bug: Can not rotate playing video to landscape

Describe the bug
When playing a course video using IVP, the rotation seems been locked by top-level configs.

To Reproduce

  1. go iplus file page of some course.
  2. open a course video
  3. enter the full-screen mode and rotate device to landscape
  4. see if it could be rotated.

Expected behavior
The video should be rotated to landscape mode while inside the full-screen mode.

Smartphone (please complete the following information):

  • OS: iOS 15.5
  • Version 1.4.0

[BUG] iSchool may not be able to login when first lauching app

Description

As title, the iSchool may have a login issue when we first launch the app.

ErrMsg:

flutter: \^[[38;5;196m┌───────────────────────────────────────────────────────────<…>
flutter: \^[[38;5;196m│ #0   List.[] (dart:core-patch/growable_array.dart:281:36)<…>
flutter: \^[[38;5;196m│ #1   ISchoolPlusConnector.getSubscribeNotice (package:flutter_app/src/connector/ISchoolPlusConnector.dart:401:79)<…>
flutter: \^[[38;5;196m│ #2   <asynchronous suspension><…>
flutter: \^[[38;5;196m│ #3   IPlusSubscribeNoticeTask.execute (package:flutter_app/src/task/iplus/IPlusSubscribeNoticeTask.dart:13:28)<…>
flutter: \^[[38;5;196m│ #4   <asynchronous suspension><…>
flutter: \^[[38;5;196m│ #5   TaskFlow.start (package:flutter_app/src/task/TaskFlow.dart:54:27)<…>
flutter: \^[[38;5;196m│ #6   <asynchronous suspension><…>
flutter: \^[[38;5;196m│ #7   _CourseTablePageState.getCourseNotice (package:flutter_app/ui/pages/coursetable/CourseTablePage.dart:92:9)<…>
flutter: \^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…>
flutter: \^[[38;5;196m│ RangeError (index): Invalid value: Only valid value is 0: 1<…>
flutter: \^[[38;5;196m└───────────────────────────────────────────────────────────<…>

Bug: App will crash when clicking the AOS home screen widget

Describe the bug
After #101 , we have noticed that if we click the existing home screen widget on AOS when the APP is running background, the APP will crash.

To Reproduce

  1. add a home screen widget
  2. keep app in the background, and click the home screen widget.
  3. crashed

Expected behavior
APP should not crash and change to foreground.

Screenshots
N/A

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S21+ 5G
  • OS: AOS 12, API 31
  • Version 1.4.0

Additional context
It seems caused by the plugin sensor_plus.

Feature: show or highlight current course

Description

  • We should highlight current course card or put a message in some area indicates the current course, let user quickly understand where should go.

How to implement?

  • ?

Design(optional)

  • course card
  • new area ?

Additional contexts(optional)

Bug: Notifications are too frequent and too loud when download file

Describe the bug
As title.

To Reproduce

  1. choose a large file to download (ex: course video)
  2. listen! your device will become very annoying!

Expected behavior
The download notification show only show once, and contains a progress-bar which indicates the progress of download process.

Screenshots
If applicable, add screenshots to help explain your problem.

Bug: Student cancelled from course still appears in course information page

Describe the bug
In some cases, student cancel from course but still shows in the students list in course information.

To Reproduce
Steps to reproduce the behavior:

  1. Go to course calendar page of student with id 108820008
  2. Click on "Compilers" course, or 「編譯器原理」in Mandarin
  3. Scroll down to student with id 108820016
  4. Click the "Search" or 「搜尋」button of this student
  5. You will see the "Compilers" course is actually not showing in course calendar page of this student, which may be the error

Expected behavior
Students that cancelled should not appear in the students list of course information page, taking the above case as example, student with id 108820016 **should not ** be shown in students list in "Compilers" information page.

Screenshots
If applicable, add screenshots to help explain your problem.
photo_2022-05-28 01 02 47

Smartphone (please complete the following information):

  • Device: Pixel 3a
  • OS: Android 12
  • Version 1.4 or above

Additional context
This is actually not an urgent issue, the priority of this task can be adjusted according to developers' concerns.

Feature: Adjust auto-roll-call entry button show place

Description

Adjust the display conditions of the auto roll-call button on the course table page

  • Only show in lessons with a fixed time
  • Only show on your own timetable

How to implement?

  • TBD

Design(optional)

  • TBD

Additional contexts(optional)

  • N/A

Feature: Support real home screen widget for AOS & iOS

Description

  • In #79, we have just fix the display problem on AOS by #101, but that approach is not using the real way to create a real widget (its a screenshot)

  • So we could use the home_widget to implement both AOS & iOS widget.

How to implement?

  • use home_widget package.

Design(optional)

  • TBD

Additional contexts(optional)

  • N/A

Bug: Internal Video Player not fitted in SafeArea

Describe the bug
As title

To Reproduce

  • choose a course, and go to iplus file page.
  • find a video reference, and play the video.
  • Bug shows.

Expected behavior
should wrap the player inside the safearea.

Screenshots

Smartphone (please complete the following information):

  • Device: iPhone 11
  • OS: ios 15
  • Version 1.4.0 bulid 5011

Bug: some Grade info is 0.0 on some account

Describe the bug
Some account reported that one of their grade info has 0.0 value on the grade page.

To Reproduce
Unknown, just found it on grade page, only some people.

Expected behavior
All info on grade page should show normally.

Screenshots
photo_2022-05-20 17 30 11

Smartphone (please complete the following information):

  • OS: AOS, iOS
  • Version 1.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.