-
Notifications
You must be signed in to change notification settings - Fork 54
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
Copy & paste activity #3993
Copy & paste activity #3993
Conversation
draft styling + fix Clipboard info dialog feature-complete cs-fix fix tests psalm UnitTests cs-fix translation translation & cleanup
f5fccff
to
264ee4b
Compare
Es scheint als wäre der clipboard zugriff auf firefox bisschen kompliziert:
Das passiert nur schon, wenn man den edit mode im picasso aktiviert. Beim erstellen einer neuen Aktivität wird die console dann auch rot. Sobald man in der aktivitäts ansicht das three dot menu aufmacht, wird die konsole auch rot. |
In Safari hat das navigator.permissions objekt gar keine properties (oder ist wahrscheinlich null). |
⛔ Feature branch deployment currently inactive.If the PR is still open, you can add the |
@@ -120,6 +120,13 @@ class Activity extends BaseEntity implements BelongsToCampInterface { | |||
#[ORM\JoinColumn(nullable: false)] | |||
public ?Category $category = null; | |||
|
|||
/** | |||
* Copy Contents from this Source-Activity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the source start with a capital letter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
<p v-if="clipboardReadState === 'granted'"> | ||
{{ $tc('components.activity.copyActivityInfoDialog.granted') }} | ||
</p> | ||
<p v-if="clipboardReadState === 'denied'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor:
Could we keep the button to request access also in the denied case?
On some browsers (e.g. mobile) the button to grant the permission is not that easy to find.
<v-list-item-action> | ||
<e-checkbox | ||
v-model="copyContent" | ||
:label="$tc('components.program.dialogActivityCreate.copyActivityContent')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor:
The label text content is a little long on mobile and hides the activity title.
But you see it in the title field and in the category field
# Conflicts: # frontend/src/locales/de.json # frontend/src/locales/en.json
I created a PR to resolve the leftover issues: pmattmann#7 |
Feature/copy activity
eslint
You need to merge devel again after #4136 |
Copy and Paste Activities