feat: add completed state for jobs widget #421

Closed
def wants to merge 10 commits from add_complated_state_for_jobs_widget into master
Collaborator
![image](/attachments/3b79367c-38d4-4d32-ab48-3500c53e5c49) https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/254
def added 1 commit 2024-01-10 16:30:28 +02:00
def added 1 commit 2024-01-10 16:30:36 +02:00
def requested review from inex 2024-01-10 16:33:03 +02:00
def requested review from NaiJi 2024-01-10 16:33:03 +02:00
def added 1 commit 2024-01-10 17:02:37 +02:00
def added 1 commit 2024-01-10 17:18:14 +02:00
def added 1 commit 2024-01-10 17:23:55 +02:00
def added 1 commit 2024-01-10 17:26:28 +02:00
NaiJi requested changes 2024-01-15 11:21:25 +02:00
NaiJi left a comment
Collaborator

@inex need your mastermind knowledge of all UI specs

image

@inex need your mastermind knowledge of all UI specs ![image](/attachments/3ab5ca81-eccf-485e-97cb-74be91ec8f5d)
@ -77,3 +77,3 @@
getIt<NavigationService>().showSnackBar('jobs.upgrade_failed'.tr());
}
emit(JobsStateEmpty());
emit(JobsCompleted());
Collaborator

Even if a job failed? 🗸 looks a bit misleading for an error.

Even if a job failed? 🗸 looks a bit misleading for an error.
Poster
Collaborator

done

done
inex marked this conversation as resolved
NaiJi changed title from feat: add complated state for jobs widget to feat: add completed state for jobs widget 2024-01-15 11:22:18 +02:00
def added 1 commit 2024-01-17 15:45:49 +02:00
def added 1 commit 2024-01-17 15:46:02 +02:00
def requested review from NaiJi 2024-01-17 15:46:07 +02:00
def added the
Feature request
Priority
Low
Severity
Low
labels 2024-01-17 15:47:02 +02:00
def self-assigned this 2024-01-17 15:47:42 +02:00
inex requested changes 2024-01-19 01:04:35 +02:00
@ -61,3 +61,3 @@
getIt<NavigationService>().showSnackBar('jobs.reboot_failed'.tr());
}
emit(JobsStateEmpty());
emit(JobsCompleted());

I would suggest looking literally two lines above: the reboot request might fail. We shouldn't show that everything is ok in this case.

I would suggest looking literally two lines above: the reboot request might fail. We shouldn't show that everything is ok in this case.
@ -45,0 +59,4 @@
'jobs.completed'.tr(),
style: Theme.of(context).textTheme.bodyLarge?.copyWith(
color: Theme.of(context).colorScheme.onSurface,
) ??

No need for ?? const TextStyle(). style is totally fine with null, it has its own defaults.

No need for `?? const TextStyle()`. `style` is totally fine with `null`, it has its own defaults.
def added 1 commit 2024-01-19 17:07:00 +02:00
def added 1 commit 2024-01-19 17:08:44 +02:00
def requested review from inex 2024-01-19 17:08:59 +02:00
NaiJi approved these changes 2024-01-27 01:47:59 +02:00
Poster
Collaborator

@inex ?

@inex ?

#440 solved this

#440 solved this
inex closed this pull request 2024-02-26 13:37:22 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 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#421
There is no content yet.