refactor(ui): Move service card name to its icon row #352

Merged
NaiJi merged 5 commits from service-card-naming into master 2023-09-26 17:58:27 +03:00
Collaborator

image

- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/350 ![image](/attachments/7661af4f-1304-44ae-98bc-8cb29aac24e7)
NaiJi added the
Refactor
Severity
Low
labels 2023-09-18 18:25:54 +03:00
NaiJi self-assigned this 2023-09-18 18:25:54 +03:00
NaiJi added 1 commit 2023-09-18 18:25:55 +03:00
NaiJi requested review from inex 2023-09-18 18:26:00 +03:00
NaiJi added 1 commit 2023-09-18 18:30:05 +03:00
NaiJi added 1 commit 2023-09-18 18:34:18 +03:00
inex requested changes 2023-09-18 18:36:52 +03:00
@ -129,17 +129,17 @@ class _Card extends StatelessWidget {
),
),
),
const SizedBox(width: 10),

Try not to use values of 10 in paddings, it is not consistent with Material Design spec. We should use values that can be divided by 8 (or 4). Like 8, 16, 24, 32.

I want to note that we actually should also take into account the UI density set by device (desktop screens with mice are more dense than phones with touchscreens), and in the end it will be something like 8 * theme_density_multiplier. Right now you should use 8 or 16.

Try not to use values of 10 in paddings, it is not consistent with Material Design spec. We should use values that can be divided by 8 (or 4). Like 8, 16, 24, 32. I want to note that we actually should also take into account the UI density set by device (desktop screens with mice are more dense than phones with touchscreens), and in the end it will be something like 8 * theme_density_multiplier. Right now you should use 8 or 16.
Poster
Collaborator

Should I change all other (SizedBox: 10) in this component to 8 or 16?

Should I change all other (SizedBox: 10) in this component to 8 or 16?

Yes, these may be remains from the kherel era. Don't forget to take a look how it looks in the end.

Yes, these may be remains from the kherel era. Don't forget to take a look how it looks in the end.
Poster
Collaborator

image

![image](/attachments/e4fcd223-db53-42a4-a0d4-32f9253b3e24)
NaiJi marked this conversation as resolved
NaiJi added 1 commit 2023-09-18 18:40:00 +03:00
NaiJi added 1 commit 2023-09-18 18:42:53 +03:00
NaiJi requested review from inex 2023-09-18 18:44:19 +03:00
inex approved these changes 2023-09-26 17:42:40 +03:00
NaiJi merged commit a83e1e0056 into master 2023-09-26 17:58:27 +03:00
NaiJi deleted branch service-card-naming 2023-09-26 17:58:27 +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#352
There is no content yet.