There has been a change in the field for POR holders for council/{id} and clubs/{id} endpoints. They now return null if not present. Kindly have a look and update the changes @mohit-mangal ?
This is the error I get when entering some clubs. I think its related to the use of storage of clubs and council data. @mohit-mangal , please have a look.. There seems to be a lot of errors in database.
Lets make the contacts appear the same way they do for POR holders in clubs and councils, including opening the dialog box on clicking.
Also, its better to use detailsDialog from club_&_council_widgets.dart itself.
/cc @aksayushx
consider the workshop create model and create textfields and other input taking widgets to populate this model that to be sent to backend. (/workshops/create/ api in https://workshops-app-backend.herokuapp.com/)
Basically, update the frontend model with the changes made in backend.
It seems that the app get really slow at times due to multiple API calls. We can take steps to reduce them, starting from saving the token after each login. SharedPreferrences may be useful. @mohit-mangal ?
While editing description, its not possible to scroll the textformfeild with keyboard open. So it becomes difficult to edit description for the workshop.
cc/ @aksayushx
Steps to recreate:
Menu => account => under subscriptions, open any subscribed club and unsusbscribe it => press back to go to the account;
Here u will see that the unsuscribed club is still present.
When browsing a workshop, tapping a contact from the list of contacts throws the following exception.
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building Builder(dirty):
A non-null String must be provided to a Text widget.
'package:flutter/src/widgets/text.dart':
Failed assertion: line 370 pos 10: 'data != null'
════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 2.3 pixels on the right.
This was possibly due to bad rendering of longer emails
@mohit-mangal I think there is a problem with database management for council's is_por_holder.. with my id, I receive true for SnTC's is_por_holder, when I call the backnd API, but false in the app.. Thats why I a POR holder cannot change description for Council. Kindly have a look.
As modified of BuiltCouncilPost and BuiltClubPost contains URL for 6 social sites, we need to make appropriate icons buttons which can redirect users to the desired context. For now, please leave click function null. @aksayushx@nishantkr18
In Settings page, After commenting out the color-picker code(not removing as we may need it later), an option for choosing themes need to be added. Currently, we have a 2 themes decided, so you may use both.
The search bar on the home page, once clicked, cannot be exited.
Going back once closes the keyboard.
Going back twice asks for confirmation to exit the app.
Ideally, there should be another layer between the two, by means of which the cursor leaves the search bar, but does not quit the app itself.
After editing club and council description, one needs to 'refresh in settings' to view changes.. this needs to be rectified for atleast the one who is editing..
A solution would be to add pull-to-refresh for clubs and councils, so that the database gets updated with new data when the user wants..