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

Fix/521 maintenance #521

Merged
merged 12 commits into from
Nov 14, 2023
Merged
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,100 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2023-11-14

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`studyu_app` - `v2.6.4`](#studyu_app---v264)
- [`studyu_core` - `v4.3.2`](#studyu_core---v432)
- [`studyu_designer_v2` - `v1.6.1`](#studyu_designer_v2---v161)
- [`studyu_flutter_common` - `v1.6.4`](#studyu_flutter_common---v164)

---

#### `studyu_app` - `v2.6.4`

- **FIX**: upgrade deps. ([f37d0a71](https://github.com/hpi-studyu/studyu/commit/f37d0a711ab9a126b7da13b7eb4fbb9b784f3725))
- **FIX**: dart fix. ([d184c43b](https://github.com/hpi-studyu/studyu/commit/d184c43bafd0229a799ec835b16c3dcb851016b9))
- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))

#### `studyu_core` - `v4.3.2`

- **FIX**: upgrade deps. ([f37d0a71](https://github.com/hpi-studyu/studyu/commit/f37d0a711ab9a126b7da13b7eb4fbb9b784f3725))
- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))

#### `studyu_designer_v2` - `v1.6.1`

- **FIX**: upgrade deps. ([f37d0a71](https://github.com/hpi-studyu/studyu/commit/f37d0a711ab9a126b7da13b7eb4fbb9b784f3725))
- **FIX**: convert status code to int. ([6b8fc2d2](https://github.com/hpi-studyu/studyu/commit/6b8fc2d29a9a190a3966ba7e0d6bf9404298e9b6))
- **FIX**: dart fix. ([d184c43b](https://github.com/hpi-studyu/studyu/commit/d184c43bafd0229a799ec835b16c3dcb851016b9))
- **FIX**: combine all integration tests due to lack of sequential testing. ([0b291cd8](https://github.com/hpi-studyu/studyu/commit/0b291cd8a2cccb6ae6b68f41466d9c9f9808cef4))
- **FIX**: study test frame exception and lints. ([9a2ee3a5](https://github.com/hpi-studyu/studyu/commit/9a2ee3a589b8b5a44dfd74b3977bc1512f0dbee4))
- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: convert status code to int. ([38f66b30](https://github.com/hpi-studyu/studyu/commit/38f66b3006dbe6dc74672cb6a9169ac77f050709))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))

#### `studyu_flutter_common` - `v1.6.4`

- **FIX**: upgrade deps. ([f37d0a71](https://github.com/hpi-studyu/studyu/commit/f37d0a711ab9a126b7da13b7eb4fbb9b784f3725))
- **FIX**: remove old env and add new hpi dev env. ([2ea488fe](https://github.com/hpi-studyu/studyu/commit/2ea488fe0ea169396435903bf7451a58c527058d))
- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))


## 2023-11-13

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`studyu_app` - `v2.6.3`](#studyu_app---v263)
- [`studyu_core` - `v4.3.1`](#studyu_core---v431)
- [`studyu_designer_v2` - `v1.6.0`](#studyu_designer_v2---v160)
- [`studyu_flutter_common` - `v1.6.3`](#studyu_flutter_common---v163)

---

#### `studyu_app` - `v2.6.3`

- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))

#### `studyu_core` - `v4.3.1`

- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))

#### `studyu_designer_v2` - `v1.6.0`

- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: convert status code to int. ([38f66b30](https://github.com/hpi-studyu/studyu/commit/38f66b3006dbe6dc74672cb6a9169ac77f050709))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))
- **FIX**: added missing test files. ([e6b4d401](https://github.com/hpi-studyu/studyu/commit/e6b4d401c66a33be6ea40d8dedc84f5fddecac49))
- **FIX**: form fields unfindable by patrol_finders. ([96db2a88](https://github.com/hpi-studyu/studyu/commit/96db2a88f884d21dcb2e70c1e9af94c72582ba75))
- **FIX**: router cannot be reassigned between tests. ([8fae8dad](https://github.com/hpi-studyu/studyu/commit/8fae8dada32e8efed1f21f3b5493fe123cef67d9))
- **FIX**: authFormController incorrect disposal. ([def9ace1](https://github.com/hpi-studyu/studyu/commit/def9ace12eb8b4f12772cbffe8ee7dc26b21e1bc))
- **FIX**: constant animation in background. ([0ad4c13b](https://github.com/hpi-studyu/studyu/commit/0ad4c13b0e8db3a6016a328da5871040a6e949a7))
- **FEAT**: completed e2e tests + script. ([4953e8fe](https://github.com/hpi-studyu/studyu/commit/4953e8feec5dc150543fe107309ea013e7c3adf9))

#### `studyu_flutter_common` - `v1.6.3`

- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))


## 2023-10-19

### Changes
Expand Down
3 changes: 0 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ include: package:lint/strict.yaml

analyzer:
exclude:
- designer/**
- notebook_uploader/**
- repo_generator/**
- "**/*.g.dart"

# You can customize the lint rules set to your own liking. A list of all rules
Expand Down
12 changes: 12 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 2.6.4

- **FIX**: upgrade deps. ([f37d0a71](https://github.com/hpi-studyu/studyu/commit/f37d0a711ab9a126b7da13b7eb4fbb9b784f3725))
- **FIX**: dart fix. ([d184c43b](https://github.com/hpi-studyu/studyu/commit/d184c43bafd0229a799ec835b16c3dcb851016b9))
- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))

## 2.6.3

- **FIX**: upgrade deps. ([567a3b07](https://github.com/hpi-studyu/studyu/commit/567a3b07c360e55da62898e928a794a756ab0546))
- **FIX**: dart fix. ([8d81f96c](https://github.com/hpi-studyu/studyu/commit/8d81f96c0caf63df04fc41f156d3312e5b09c076))

## 2.6.2

- **FIX**: update descriptions and rename imprint. ([6d3757f4](https://github.com/hpi-studyu/studyu/commit/6d3757f425dd5b95ee581e10b6ad675f8e71786a))
Expand Down
2 changes: 1 addition & 1 deletion app/lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'routes.dart';
import 'theme.dart';

class MyApp extends StatefulWidget {
const MyApp(this.queryParameters, this.appConfig, {Key? key}) : super(key: key);
const MyApp(this.queryParameters, this.appConfig, {super.key});
final Map<String, String> queryParameters;
final AppConfig? appConfig;

Expand Down
2 changes: 1 addition & 1 deletion app/lib/screens/app_onboarding/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:studyu_app/models/app_state.dart';
import 'package:studyu_app/routes.dart';

class AboutScreen extends StatelessWidget {
const AboutScreen({Key? key}) : super(key: key);
const AboutScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/screens/app_onboarding/loading_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LoadingScreen extends StatefulWidget {
final String? sessionString;
final Map<String, String>? queryParameters;

const LoadingScreen({Key? key, this.sessionString, this.queryParameters}) : super(key: key);
const LoadingScreen({super.key, this.sessionString, this.queryParameters});

@override
State<StatefulWidget> createState() => _LoadingScreenState();
Expand Down
6 changes: 3 additions & 3 deletions app/lib/screens/app_onboarding/terms.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../../routes.dart';
import '../../widgets/bottom_onboarding_navigation.dart';

class TermsScreen extends StatefulWidget {
const TermsScreen({Key? key}) : super(key: key);
const TermsScreen({super.key});

@override
State<TermsScreen> createState() => _TermsScreenState();
Expand Down Expand Up @@ -111,7 +111,7 @@ class LegalSection extends StatelessWidget {
final ValueChanged<bool?>? onChange;

const LegalSection({
Key? key,
super.key,
this.title,
this.description,
this.icon,
Expand All @@ -120,7 +120,7 @@ class LegalSection extends StatelessWidget {
this.acknowledgment,
this.isChecked,
this.onChange,
}) : super(key: key);
});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/screens/app_onboarding/welcome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:material_design_icons_flutter/material_design_icons_flutter.dart
import '../../routes.dart';

class WelcomeScreen extends StatelessWidget {
const WelcomeScreen({Key? key}) : super(key: key);
const WelcomeScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:url_launcher/url_launcher.dart';
import '../../../../models/app_state.dart';

class ContactScreen extends StatefulWidget {
const ContactScreen({Key? key}) : super(key: key);
const ContactScreen({super.key});

@override
State<ContactScreen> createState() => _ContactScreenState();
Expand Down Expand Up @@ -68,8 +68,7 @@ class ContactWidget extends StatelessWidget {
final String? subtitle;
final Color color;

const ContactWidget({required this.contact, required this.title, required this.color, this.subtitle, Key? key})
: super(key: key);
const ContactWidget({required this.contact, required this.title, required this.color, this.subtitle, super.key});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -157,8 +156,8 @@ class ContactItem extends StatelessWidget {
required this.iconData,
this.type,
this.iconColor,
Key? key,
}) : super(key: key);
super.key,
});

Future<void> launchContact() async {
{
Expand Down
4 changes: 2 additions & 2 deletions app/lib/screens/study/dashboard/contact_tab/faq.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

class FAQ extends StatelessWidget {
const FAQ({Key? key}) : super(key: key);
const FAQ({super.key});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -250,7 +250,7 @@ final data_de = <Entry>[
];

class EntryItem extends StatelessWidget {
const EntryItem(this.entry, {Key? key}) : super(key: key);
const EntryItem(this.entry, {super.key});

final Entry entry;

Expand Down
4 changes: 2 additions & 2 deletions app/lib/screens/study/dashboard/dashboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import 'task_overview_tab/task_overview.dart';
class DashboardScreen extends StatefulWidget {
final String? error;

const DashboardScreen({Key? key, this.error}) : super(key: key);
const DashboardScreen({super.key, this.error});

@override
State<DashboardScreen> createState() => _DashboardScreenState();
Expand Down Expand Up @@ -271,7 +271,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
class StudyFinishedPlaceholder extends StatelessWidget {
static const space = SizedBox(height: 80);

const StudyFinishedPlaceholder({Key? key}) : super(key: key);
const StudyFinishedPlaceholder({super.key});

@override
Widget build(BuildContext context) {
Expand Down
6 changes: 3 additions & 3 deletions app/lib/screens/study/dashboard/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'package:studyu_core/core.dart';
import 'package:studyu_flutter_common/studyu_flutter_common.dart';

class Settings extends StatefulWidget {
const Settings({Key? key}) : super(key: key);
const Settings({super.key});

@override
State<Settings> createState() => _SettingsState();
Expand Down Expand Up @@ -143,7 +143,7 @@ class _SettingsState extends State<Settings> {
class OptOutAlertDialog extends StatelessWidget {
final StudySubject? subject;

const OptOutAlertDialog({Key? key, required this.subject}) : super(key: key);
const OptOutAlertDialog({super.key, required this.subject});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -193,7 +193,7 @@ class OptOutAlertDialog extends StatelessWidget {
class DeleteAlertDialog extends StatelessWidget {
final StudySubject? subject;

const DeleteAlertDialog({Key? key, required this.subject}) : super(key: key);
const DeleteAlertDialog({super.key, required this.subject});

@override
Widget build(BuildContext context) => AlertDialog(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import '../../../../widgets/intervention_card.dart';
class ProgressRow extends StatefulWidget {
final StudySubject? subject;

const ProgressRow({Key? key, this.subject}) : super(key: key);
const ProgressRow({super.key, this.subject});

@override
State<ProgressRow> createState() => _ProgressRowState();
Expand Down Expand Up @@ -78,8 +78,8 @@ class InterventionSegment extends StatelessWidget {
required this.isCurrent,
required this.isFuture,
required this.phaseDuration,
Key? key,
}) : super(key: key);
super.key,
});

List<Widget> buildSeparators(int nbSeparators) {
final sep = <Widget>[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class TaskBox extends StatefulWidget {
final Function() onCompleted;

const TaskBox({
Key? key,
super.key,
required this.taskInstance,
required this.icon,
required this.onCompleted,
}) : super(key: key);
});

@override
State<TaskBox> createState() => _TaskBoxState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ class TaskOverview extends StatefulWidget {
final List<TaskInstance>? scheduleToday;
final String? interventionIcon;

const TaskOverview({required this.subject, required this.scheduleToday, Key? key, this.interventionIcon})
: super(key: key);
const TaskOverview({required this.subject, required this.scheduleToday, super.key, this.interventionIcon});

@override
State<TaskOverview> createState() => _TaskOverviewState();
Expand Down
4 changes: 2 additions & 2 deletions app/lib/screens/study/onboarding/consent.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import '../../../widgets/bottom_onboarding_navigation.dart';
import 'onboarding_progress.dart';

class ConsentScreen extends StatefulWidget {
const ConsentScreen({Key? key}) : super(key: key);
const ConsentScreen({super.key});

@override
State<ConsentScreen> createState() => _ConsentScreenState();
Expand Down Expand Up @@ -171,7 +171,7 @@ class ConsentCard extends StatelessWidget {
final Function(int) onTapped;
final bool? isChecked;

const ConsentCard({Key? key, this.consent, this.index, required this.onTapped, this.isChecked}) : super(key: key);
const ConsentCard({super.key, this.consent, this.index, required this.onTapped, this.isChecked});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion app/lib/screens/study/onboarding/eligibility_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EligibilityScreen extends StatefulWidget {
settings: const RouteSettings(name: '/eligibilityCheck'),
);

const EligibilityScreen({required this.study, Key? key}) : super(key: key);
const EligibilityScreen({required this.study, super.key});

@override
State<StatefulWidget> createState() => _EligibilityScreenState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '../../../widgets/intervention_card.dart';
import 'onboarding_progress.dart';

class InterventionSelectionScreen extends StatefulWidget {
const InterventionSelectionScreen({Key? key}) : super(key: key);
const InterventionSelectionScreen({super.key});

@override
State<InterventionSelectionScreen> createState() => _InterventionSelectionScreenState();
Expand Down
Loading