feat: Add the button to copy password on the new user creation screen #409
Labels
No Label
Blocked
Bug
Contributions welcome
Did not do
Errata
Feature request
Fixed
How To
Invalid
Needs design
No resolution
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Providers
Digital Ocean
Providers
Hetzner
Refactor
Severity
High
Severity
Low
Severity
Medium
Source
Community
Source
Core Team
Source
Stakeholders
Translations
Under investigation
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SelfPrivacy/selfprivacy.org.app#409
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "add_copy_passwd_to_users"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
#299
Always add related links in commit messages.
Gitea will link all the stuff automatically
@ -80,0 +86,4 @@
.password
.state
.value;
Clipboard.setData(
We have
PlatformAdapter::setClipboard
in lib/utils/platform_adapter.dartdone
@ -80,0 +93,4 @@
IconButton(
icon: Icon(
Icons.refresh,
size: 30.0,
The buttons have different radius. You can also clearly see it when you tap them: one ink bubble is bigger than another.
done
715d0555e8
to4693ff325c
Please pay attention to the output of
flutter analyze
and fix warnings related to your changes.flutter analyze | grep users
I guess@ -80,0 +81,4 @@
.password
.state
.value;
PlatformAdapter.setClipboard(currentPassword);
Also we need to visually notify about the success, please refer to
lib/ui/pages/backups/snapshot_id_list_tile.dart
done
@ -80,0 +100,4 @@
padding: EdgeInsets.all(8.0),
child: Icon(
Icons.refresh,
size: 30.0,
Material Icons are standardized in size, you don't need to adjust it manually with InkWell and other things. It would be enough to set them back to IconButton class with Icon size 24.0.
We need to be rather conventional than subjective, because otherwise it adds up more unneeded complexity, even if we disagree with Flutter.
I guess Flutter does that because of some effect or idk
Fix linter warnings:
Linter
Unresolved linter issues:
feat: add copy passwd to usersto feat: add copy password button to new users screenfeat: add copy password button to new users screento feat: Add the button to copy password on the new user creation screenbf5ab541e9
to5fb9eec696