refactor(ui): Reorganize placeholders for empty pages #359

Merged
NaiJi merged 3 commits from plug-backgrounds into master 2023-09-26 20:26:16 +03:00
Collaborator
  • Resolve #348
  • Make 'Data Center' cards unclickable when uninitialized
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/348 - Make 'Data Center' cards unclickable when uninitialized
NaiJi added the
Refactor
Severity
Low
labels 2023-09-24 04:44:36 +03:00
NaiJi self-assigned this 2023-09-24 04:44:36 +03:00
NaiJi added 1 commit 2023-09-24 04:44:36 +03:00
881fa3894c refactor(ui): Reorganize placeholders for empty pages
- Resolve #348
- Make 'Data Center' cards unclickable when uninitialized
Poster
Collaborator

1.png 2.png 3.png

![1.png](/attachments/e667fc7d-8943-4b2b-b338-1b25340f8dc3) ![2.png](/attachments/67bf3088-dcb3-478c-bcca-d76120d478a1) ![3.png](/attachments/f619f000-6ba2-40d2-8cbc-425b5acce415)
26 KiB
28 KiB
30 KiB
NaiJi requested review from inex 2023-09-24 04:45:30 +03:00
NaiJi reviewed 2023-09-24 04:47:47 +03:00
@ -76,3 +76,3 @@
@override
Future<void> clear() async {
emit(const DnsRecordsState(dnsState: DnsRecordsStatus.error));
emit(const DnsRecordsState(dnsState: DnsRecordsStatus.uninitialized));
Poster
Collaborator

Case:

  • Deploy server
  • Reset app config

Before:

  • DNS card is warning and clickable, trying to reconnect

Now:

  • DNS card is grayed out just like other provider cards

Note: it doesn't break capability to redeploy server

Case: - Deploy server - Reset app config Before: - DNS card is warning and clickable, trying to reconnect Now: - DNS card is grayed out just like other provider cards Note: it doesn't break capability to redeploy server
NaiJi reviewed 2023-09-24 04:48:11 +03:00
@ -132,3 +132,3 @@
child: InkResponse(
highlightShape: BoxShape.rectangle,
onTap: onTap,
onTap: (state == StateType.uninitialized) ? null : onTap,
Poster
Collaborator

It was pointless to tap on provider cards before deployment

It was pointless to tap on provider cards before deployment
NaiJi marked this conversation as resolved
NaiJi force-pushed plug-backgrounds from 881fa3894c to aa4429cc79 2023-09-24 05:04:02 +03:00 Compare
NaiJi added 1 commit 2023-09-26 18:46:16 +03:00
inex added 1 commit 2023-09-26 20:20:19 +03:00
inex approved these changes 2023-09-26 20:20:35 +03:00
NaiJi merged commit e49b5db4b6 into master 2023-09-26 20:26:16 +03:00
NaiJi deleted branch plug-backgrounds 2023-09-26 20:26:16 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#359
There is no content yet.