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

Create classes feedback motivation page #314

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
ac93a4b
Add class feedback form initial view
andreicmirciu Mar 27, 2021
9b6f032
Add emoji radio bar for answering questions
andreicmirciu Mar 28, 2021
c173988
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 4, 2021
794ae0e
Insert questions into a card widget
andreicmirciu Apr 6, 2021
a80ac64
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 6, 2021
501b05b
Fix formatting
andreicmirciu Apr 6, 2021
f072f8d
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 10, 2021
94c6d7b
Initial version of feedback form.
andreicmirciu Apr 17, 2021
36ed86b
Use AnimatedContainer for emoji form field
andreicmirciu Apr 17, 2021
e9578b4
Clean unused code
andreicmirciu Apr 17, 2021
842e9dc
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 17, 2021
1613f27
Replace class icon
andreicmirciu Apr 18, 2021
3f5e4d9
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 18, 2021
8712a72
Extract questions from Firestore
andreicmirciu Apr 25, 2021
d1a3cc1
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Apr 25, 2021
2529b47
Remove context from provider
andreicmirciu Apr 25, 2021
a055bbb
Add question type
andreicmirciu Apr 25, 2021
6772907
Begin saving questions' answers
andreicmirciu May 5, 2021
1ed9523
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu May 5, 2021
d4ab040
Improve answers' saving process
andreicmirciu May 6, 2021
27f2b3e
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu May 6, 2021
fcc64bf
Save all questions' answers
andreicmirciu May 6, 2021
dd11bc2
Minor code improvements
andreicmirciu May 9, 2021
627e9c3
Better generalize questions/answers
andreicmirciu May 9, 2021
820a5d6
Rename variables
andreicmirciu May 9, 2021
589ed2f
Show feedback button only in debug mode
andreicmirciu May 9, 2021
c7e3635
Create custom AutocompletePerson widget
andreicmirciu May 10, 2021
52a7d5c
Initiate creation of separate widgets
andreicmirciu May 10, 2021
6e57a85
Improve questions instantiation logic
andreicmirciu May 11, 2021
0bab65e
Remove S.of(context)
andreicmirciu May 11, 2021
c1daa63
Add input questions' validator
andreicmirciu May 11, 2021
31e74d8
Add input questions' validator
andreicmirciu May 12, 2021
71922d7
Create multiple question types
andreicmirciu May 12, 2021
0446788
Create separate question display widget
andreicmirciu May 13, 2021
69aa64b
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu May 13, 2021
a0d58e0
Refactor emojis animation
andreicmirciu May 13, 2021
8859e86
Realign message at the beginning
andreicmirciu May 13, 2021
0b84ebd
Center anonymous form notice.
IoanaAlexandru May 17, 2021
a61078b
Improve emoji animation and remove Selectable.
IoanaAlexandru May 17, 2021
b128c4c
Modify feedback policy message
andreicmirciu May 18, 2021
28ef2f7
Allow users to submit one time only feedback for a class
andreicmirciu May 18, 2021
77c018b
Add tests for feedback page
andreicmirciu May 19, 2021
5ffb515
Align questions to the left
andreicmirciu May 19, 2021
aefe3b3
Remove unused onChanged methods
andreicmirciu May 19, 2021
69d32aa
Remove unused code
andreicmirciu May 19, 2021
2a64481
Remove rating questions validator
andreicmirciu May 21, 2021
58c1aeb
Remove card widget from free text answers
andreicmirciu May 21, 2021
5bf2313
Replace text form field with slider
andreicmirciu May 21, 2021
9cae32e
Modify feedback page tests
andreicmirciu May 21, 2021
9a433fe
Improve slider responses range
andreicmirciu May 22, 2021
34875a1
Make teacher field editable
andreicmirciu May 22, 2021
49aedf3
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu May 22, 2021
350b0bd
Fix failing tests
andreicmirciu May 22, 2021
debb7bc
Implement remote config functionality
andreicmirciu May 22, 2021
90874dd
Fix failing tests
andreicmirciu May 22, 2021
741db0a
Fix formatting
andreicmirciu May 22, 2021
6a63fa2
Change question type from input to slider
andreicmirciu Jun 1, 2021
2a71f4c
Create feedback motivation page
andreicmirciu Jun 2, 2021
5e52ba3
Make dropdown answers localizable
andreicmirciu Jun 5, 2021
7277b83
Modify SizedBox height
andreicmirciu Jun 5, 2021
184d698
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Jun 5, 2021
711c583
Merge branch 'master' into andreicmirciu/feedback
andreicmirciu Jun 6, 2021
67e1b7a
Add feedback icon tooltip
andreicmirciu Jun 6, 2021
c729c59
Merge branch 'andreicmirciu/feedback' into andreicmirciu/feedback_mot…
andreicmirciu Jun 6, 2021
5d9991d
Modify navigation message to "Learn more"
andreicmirciu Jun 6, 2021
ee8b5c4
Make undraw image smaller
andreicmirciu Jun 6, 2021
8bed9db
Begin remodeling text paragraphs
andreicmirciu Jun 10, 2021
ef1e26e
Add icon for each message
andreicmirciu Jul 5, 2021
1c5c964
Merge branch 'master' into andreicmirciu/feedback_motivation
andreicmirciu Oct 9, 2021
ecf98e5
Merge branch master into current
andreicmirciu Oct 9, 2021
b93271a
Revert wrong merge changes
andreicmirciu Oct 10, 2021
229adc5
Bump build number
andreicmirciu Oct 10, 2021
6d89af3
Add tests for feedback motivation page
andreicmirciu Oct 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/illustrations/undraw_review.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class MessageLookup extends MessageLookupByLibrary {
"actionEditWebsite" : MessageLookupByLibrary.simpleMessage("Edit website"),
"actionEnableEditing" : MessageLookupByLibrary.simpleMessage("Enable editing"),
"actionJumpToToday" : MessageLookupByLibrary.simpleMessage("Jump to today"),
"actionLearnMore" : MessageLookupByLibrary.simpleMessage("Learn more"),
"actionLogIn" : MessageLookupByLibrary.simpleMessage("Log in"),
"actionLogInAnonymously" : MessageLookupByLibrary.simpleMessage("Log in anonymously"),
"actionLogOut" : MessageLookupByLibrary.simpleMessage("Log out"),
Expand Down Expand Up @@ -229,8 +230,15 @@ class MessageLookup extends MessageLookupByLibrary {
"messageEventAdded" : MessageLookupByLibrary.simpleMessage("Event added successfully."),
"messageEventDeleted" : MessageLookupByLibrary.simpleMessage("Event deleted successfully."),
"messageEventEdited" : MessageLookupByLibrary.simpleMessage("Event modified successfully."),
"messageFeedbackAspects" : MessageLookupByLibrary.simpleMessage("Key aspects we take into account:"),
"messageFeedbackHasBeenSent" : MessageLookupByLibrary.simpleMessage("The review has been sent successfully."),
"messageFeedbackLeft" : m9,
"messageFeedbackMotivation1" : MessageLookupByLibrary.simpleMessage("Your data and privacy are respected. We do not report individual responses, but these are aggregated, thus an opinion cannot be associated with a particular profile."),
"messageFeedbackMotivation2" : MessageLookupByLibrary.simpleMessage("Information shared will be kept in our database for at least 4 years (study duration of a Bachelor\'s degree), so the evolution over time can be observed."),
"messageFeedbackMotivation3" : MessageLookupByLibrary.simpleMessage("Access to statistics is allowed to any student who wants to find out impressions about a class during the semester. However, while the opportunity to share your feedback is active, only students who have already expressed their opinion can analyze the ideas of others."),
"messageFeedbackMotivation4" : MessageLookupByLibrary.simpleMessage("The whole process of collecting and displaying reviews is transparent. Being an open-source application, source code is accessible to everyone."),
"messageFeedbackMotivation5" : MessageLookupByLibrary.simpleMessage("We are constantly looking to improve the connection between different generations of students. As a result, any thought is extremely valuable. All the details supplied are used pro-actively."),
"messageFeedbackMotivationOverview" : MessageLookupByLibrary.simpleMessage("Share your experience so future generations of students will receive statistics about this class!"),
"messageGetStartedByPressing" : MessageLookupByLibrary.simpleMessage("Get started by pressing the"),
"messageIAgreeToThe" : MessageLookupByLibrary.simpleMessage("I agree to the "),
"messageNewUser" : MessageLookupByLibrary.simpleMessage("New user?"),
Expand Down Expand Up @@ -262,6 +270,7 @@ class MessageLookup extends MessageLookupByLibrary {
"navigationClasses" : MessageLookupByLibrary.simpleMessage("Classes"),
"navigationClassesFeedbackChecklist" : MessageLookupByLibrary.simpleMessage("Feedback checklist"),
"navigationEventDetails" : MessageLookupByLibrary.simpleMessage("Event details"),
"navigationFeedbackMotivation" : MessageLookupByLibrary.simpleMessage("Motivation"),
"navigationFilter" : MessageLookupByLibrary.simpleMessage("Filter"),
"navigationHome" : MessageLookupByLibrary.simpleMessage("Home"),
"navigationMap" : MessageLookupByLibrary.simpleMessage("Map"),
Expand Down
9 changes: 9 additions & 0 deletions lib/generated/intl/messages_ro.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class MessageLookup extends MessageLookupByLibrary {
"actionEditWebsite" : MessageLookupByLibrary.simpleMessage("Modifică website"),
"actionEnableEditing" : MessageLookupByLibrary.simpleMessage("Activează modul editare"),
"actionJumpToToday" : MessageLookupByLibrary.simpleMessage("Sari la ziua de azi"),
"actionLearnMore" : MessageLookupByLibrary.simpleMessage("Află mai multe"),
"actionLogIn" : MessageLookupByLibrary.simpleMessage("Conectare"),
"actionLogInAnonymously" : MessageLookupByLibrary.simpleMessage("Conectare anonimă"),
"actionLogOut" : MessageLookupByLibrary.simpleMessage("Deconectare"),
Expand Down Expand Up @@ -229,8 +230,15 @@ class MessageLookup extends MessageLookupByLibrary {
"messageEventAdded" : MessageLookupByLibrary.simpleMessage("Eveniment adăugat cu succes."),
"messageEventDeleted" : MessageLookupByLibrary.simpleMessage("Eveniment șters cu succes."),
"messageEventEdited" : MessageLookupByLibrary.simpleMessage("Eveniment modificat cu succes."),
"messageFeedbackAspects" : MessageLookupByLibrary.simpleMessage("Aspecte cheie pe care le luăm în considerare:"),
"messageFeedbackHasBeenSent" : MessageLookupByLibrary.simpleMessage("Feedback trimis cu succes."),
"messageFeedbackLeft" : m9,
"messageFeedbackMotivation1" : MessageLookupByLibrary.simpleMessage("Datele și confidențialitatea ta sunt respectate. Nu colectăm răspunsuri individuale, ci acestea sunt agregate, astfel încât o opinie să nu poată fi asociată cu un profil anume."),
"messageFeedbackMotivation2" : MessageLookupByLibrary.simpleMessage("Informațiile partajate vor fi păstrate în baza noastră de date timp de cel puțin 4 ani (durata studiului ciclului de licență), astfel încât să se poată observa evoluția în timp."),
"messageFeedbackMotivation3" : MessageLookupByLibrary.simpleMessage("Accesul la statistici este permis oricărui student care dorește să afle impresii despre o disciplină în timpul semestrului. Cu toate acestea, în timp ce oportunitatea de a împărtăși feedback este activă, numai studenții care și-au exprimat deja opinia pot analiza ideile altora."),
"messageFeedbackMotivation4" : MessageLookupByLibrary.simpleMessage("Întregul proces de colectare și afișare a recenziilor este transparent. Fiind o aplicație open-source, codul sursă este accesibil tuturor."),
"messageFeedbackMotivation5" : MessageLookupByLibrary.simpleMessage("Căutăm în permanență să îmbunătățim legătura dintre diferite generații de studenți. Drept urmare, orice părere este extrem de valoroasă. Toate detaliile furnizate sunt utilizate pro-activ."),
"messageFeedbackMotivationOverview" : MessageLookupByLibrary.simpleMessage("Împărtășiți-vă experiența, astfel încât generațiile viitoare de studenți să primească statistici despre această materie!"),
"messageGetStartedByPressing" : MessageLookupByLibrary.simpleMessage("Începeți prin a apăsa butonul"),
"messageIAgreeToThe" : MessageLookupByLibrary.simpleMessage("Sunt de acord cu "),
"messageNewUser" : MessageLookupByLibrary.simpleMessage("Utilizator nou?"),
Expand Down Expand Up @@ -262,6 +270,7 @@ class MessageLookup extends MessageLookupByLibrary {
"navigationClasses" : MessageLookupByLibrary.simpleMessage("Materii"),
"navigationClassesFeedbackChecklist" : MessageLookupByLibrary.simpleMessage("Listă feedback"),
"navigationEventDetails" : MessageLookupByLibrary.simpleMessage("Detalii eveniment"),
"navigationFeedbackMotivation" : MessageLookupByLibrary.simpleMessage("Motivație"),
"navigationFilter" : MessageLookupByLibrary.simpleMessage("Filtru"),
"navigationHome" : MessageLookupByLibrary.simpleMessage("Acasă"),
"navigationMap" : MessageLookupByLibrary.simpleMessage("Hartă"),
Expand Down
90 changes: 90 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"actionOpenFilter": "Open filter",
"actionRequestPermissions": "Request permissions",
"actionRefresh": "Refresh",
"actionLearnMore": "Learn more",

"errorSomethingWentWrong": "Something went wrong.",
"errorPasswordsDiffer": "The two passwords differ.",
Expand Down Expand Up @@ -201,6 +202,7 @@
"navigationClassFeedback": "Feedback",
"navigationClassesFeedbackChecklist": "Feedback checklist",
"navigationAdmin": "Permission requests",
"navigationFeedbackMotivation": "Motivation",

"filterMenuShowAll": "Show all",
"filterMenuShowMine": "Show only mine",
Expand Down Expand Up @@ -305,6 +307,13 @@
"messageAlreadySeeingCurrentWeek": "You're already seeing the current week!",
"messageReportSent": "Report sent successfully.",
"messageReportNotSent": "Report could not be sent.",
"messageFeedbackMotivationOverview": "Share your experience so future generations of students will receive statistics about this class!",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"messageFeedbackMotivationOverview": "Share your experience so future generations of students will receive statistics about this class!",
"messageFeedbackMotivationOverview": "Share your experience so future generations of students will know what to expect!",

"messageFeedbackAspects": "Key aspects we take into account:",
"messageFeedbackMotivation1": "Your data and privacy are respected. We do not report individual responses, but these are aggregated, thus an opinion cannot be associated with a particular profile.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"messageFeedbackMotivation1": "Your data and privacy are respected. We do not report individual responses, but these are aggregated, thus an opinion cannot be associated with a particular profile.",
"messageFeedbackMotivation1": "Your data and privacy are protected. We do not report individual responses, but these are aggregated, thus an opinion cannot be associated with a particular profile.",

"messageFeedbackMotivation2": "Information shared will be kept in our database for at least 4 years (study duration of a Bachelor's degree), so the evolution over time can be observed.",
"messageFeedbackMotivation3": "Access to statistics is allowed to any student who wants to find out impressions about a class during the semester. However, while the opportunity to share your feedback is active, only students who have already expressed their opinion can analyze the ideas of others.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much word, few meaning

Suggested change
"messageFeedbackMotivation3": "Access to statistics is allowed to any student who wants to find out impressions about a class during the semester. However, while the opportunity to share your feedback is active, only students who have already expressed their opinion can analyze the ideas of others.",
"messageFeedbackMotivation3": "Anyone can access the form results. However, while the feedback forms are open at the end of a semester, you need to complete a form before being able to see the results.",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But to the actual meaning of this, I see some issues:

  1. the stats are not available now, so either hide this part until they are, or let's merge this after we merge the stats thing; otherwise it's misleading
  2. regarding the second part of this sentence -- this can be a bit weird.What if it's a class I didn't take? Why shouldn't I be able to see the result? There are two things to consider doing here imo:
    • if the user has the class added but they didn't submit feedback, they can't see the results
    • users should still be able to browse classes they don't have, so we want to add another variation of the classes page where you can see all classes (with categories, like on the add classes page). This is kind of related to this TODO as well, and should be very easy to do since we already have a ClassList widget.

"messageFeedbackMotivation4": "The whole process of collecting and displaying reviews is transparent. Being an open-source application, source code is accessible to everyone.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A link to the repo would make sense here. You have a few options for styling a link:

  • RIchText
  • Markdown (we're already using flutter_markdown on the FAQ page)
  • something similar to what we have on the settings page, with IconText

"messageFeedbackMotivation5": "We are constantly looking to improve the connection between different generations of students. As a result, any thought is extremely valuable. All the details supplied are used pro-actively.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think proactive means what you think it means (and also, it's one word). I'd remove this entire part, I don't see the purpose.


"infoPasswordResetEmailSent": "Please check your inbox for the password reset e-mail.",
"infoRelevance": "Try to choose the most restrictive category.",
Expand Down
9 changes: 9 additions & 0 deletions lib/l10n/intl_ro.arb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"actionOpenFilter": "Deschide filtru",
"actionRequestPermissions": "Cere permisiuni",
"actionRefresh": "Reîncarcă",
"actionLearnMore": "Află mai multe",

"errorSomethingWentWrong": "A apărut o problemă.",
"errorPasswordsDiffer": "Cele două parole diferă.",
Expand Down Expand Up @@ -201,6 +202,7 @@
"navigationClassFeedback": "Feedback",
"navigationClassesFeedbackChecklist": "Listă feedback",
"navigationAdmin": "Cereri permisiuni",
"navigationFeedbackMotivation": "Motivație",

"filterMenuShowAll": "Arată tot",
"filterMenuShowMine": "Arată doar pe ale mele",
Expand Down Expand Up @@ -305,6 +307,13 @@
"messageTalkToChatbot": "Vorbește cu Polly!",
"messageReportSent": "Reposrt sent successfully.",
"messageReportNotSent": "Reposrt could not be sent.",
"messageFeedbackMotivationOverview": "Împărtășiți-vă experiența, astfel încât generațiile viitoare de studenți să primească statistici despre această materie!",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"messageFeedbackMotivationOverview": "Împărtășiți-vă experiența, astfel încât generațiile viitoare de studenți să primească statistici despre această materie!",
"messageFeedbackMotivationOverview": "Descrie-ți experiența, astfel încât generațiile viitoare de studenți să știe la ce să se aștepte!",

"messageFeedbackAspects": "Aspecte cheie pe care le luăm în considerare:",
"messageFeedbackMotivation1": "Datele și confidențialitatea ta sunt respectate. Nu colectăm răspunsuri individuale, ci acestea sunt agregate, astfel încât o opinie să nu poată fi asociată cu un profil anume.",
"messageFeedbackMotivation2": "Informațiile partajate vor fi păstrate în baza noastră de date timp de cel puțin 4 ani (durata studiului ciclului de licență), astfel încât să se poată observa evoluția în timp.",
"messageFeedbackMotivation3": "Accesul la statistici este permis oricărui student care dorește să afle impresii despre o disciplină în timpul semestrului. Cu toate acestea, în timp ce oportunitatea de a împărtăși feedback este activă, numai studenții care și-au exprimat deja opinia pot analiza ideile altora.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"messageFeedbackMotivation3": "Accesul la statistici este permis oricărui student care dorește să afle impresii despre o disciplină în timpul semestrului. Cu toate acestea, în timp ce oportunitatea de a împărtăși feedback este activă, numai studenții care și-au exprimat deja opinia pot analiza ideile altora.",
"messageFeedbackMotivation3": "Oricine poate accesa rezultatele. Totuși, atunci când formularul de feedback este deschis la finalul unui semestru, doar studenții care l-au completat pot vedea rezultatele.",

"messageFeedbackMotivation4": "Întregul proces de colectare și afișare a recenziilor este transparent. Fiind o aplicație open-source, codul sursă este accesibil tuturor.",
"messageFeedbackMotivation5": "Căutăm în permanență să îmbunătățim legătura dintre diferite generații de studenți. Drept urmare, orice părere este extrem de valoroasă. Toate detaliile furnizate sunt utilizate pro-activ.",

"infoPasswordResetEmailSent": "Please check your inbox for the password reset e-mail.",
"infoRelevance": "Încercați să selectați cea mai restrictivă categorie.",
Expand Down
38 changes: 38 additions & 0 deletions lib/pages/class_feedback/service/remote_config.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import 'package:firebase_remote_config/firebase_remote_config.dart';

const String _feedbackEnabled = 'feedback_enabled';

class RemoteConfigService {
RemoteConfigService({RemoteConfig remoteConfig})
: _remoteConfig = remoteConfig;
final RemoteConfig _remoteConfig;
final defaults = <String, dynamic>{_feedbackEnabled: false};
static RemoteConfigService _instance;

static Future<RemoteConfigService> getInstance() async {
return _instance ??= RemoteConfigService(
remoteConfig: await RemoteConfig.instance,
);
}

bool get feedbackEnabled =>
// ignore: avoid_bool_literals_in_conditional_expressions
_remoteConfig == null ? true : _remoteConfig.getBool(_feedbackEnabled);

Future<dynamic> initialise() async {
try {
await _remoteConfig.setDefaults(defaults);
await _fetchAndActivate();
} on FetchThrottledException catch (e) {
print('Remote config fetch throttled: $e');
} catch (e) {
print(
'Unable to fetch remote config. Cached or default values will be used.');
}
}

Future<dynamic> _fetchAndActivate() async {
await _remoteConfig.fetch();
await _remoteConfig.activateFetched();
}
}
8 changes: 8 additions & 0 deletions lib/pages/class_feedback/view/class_feedback_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:acs_upb_mobile/generated/l10n.dart';
import 'package:acs_upb_mobile/pages/class_feedback/model/questions/question.dart';
import 'package:acs_upb_mobile/pages/class_feedback/service/feedback_provider.dart';
import 'package:acs_upb_mobile/pages/class_feedback/view/feedback_question.dart';
import 'package:acs_upb_mobile/pages/class_feedback/view/feedback_motivation.dart';
import 'package:acs_upb_mobile/pages/classes/model/class.dart';
import 'package:acs_upb_mobile/pages/people/model/person.dart';
import 'package:acs_upb_mobile/pages/people/service/person_provider.dart';
Expand Down Expand Up @@ -213,7 +214,14 @@ class _ClassFeedbackViewState extends State<ClassFeedbackView> {
child: IconText(
icon: Icons.info_outline,
text: S.current.infoFormAnonymous,
actionText: S.current.actionLearnMore,
actionArrow: true,
style: Theme.of(context).textTheme.bodyText1,
onTap: () => Navigator.of(context).push(
MaterialPageRoute<FeedbackMotivation>(
builder: (_) => FeedbackMotivation(),
),
),
),
),
),
Expand Down
Loading