-
Notifications
You must be signed in to change notification settings - Fork 6
Feat: campaigns #81
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
Merged
Merged
Feat: campaigns #81
Changes from 6 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
85c3bb1
Upgrade yarn
tatevikg1 1675d4e
Campaigns
tatevikg1 8c8eba0
RegisterEndpointsPass
tatevikg1 b79f92e
Update client + fetch lists
tatevikg1 d4292ca
resend/requeue/suspend/copy
tatevikg1 e5306f3
Edit campaign view
tatevikg1 3e6a9ad
Errors
tatevikg1 3b34a14
Sticky sidebar
tatevikg1 97648a2
Send test campaign
tatevikg1 e343e71
Log error
tatevikg1 25add6d
Show plain text, edit html text
tatevikg1 6954285
Place campaign in a queue to send
tatevikg1 d8e8d72
Ckeditor image plugin
tatevikg1 462e6fe
List messages operations
tatevikg1 cb1a7eb
Search
tatevikg1 acb31cd
Campaign create route
tatevikg1 a83d791
twig config: PhpListFrontend
tatevikg1 39f84c1
twig config: test
tatevikg1 4efd3a9
prependExtensionConfig security
tatevikg1 4ebeb47
After review 0
tatevikg1 8fc92f1
Add: tests
tatevikg1 070e47b
Add: testAuthenticatedUserCanOpenDashboard
tatevikg1 0752ac0
test
tatevikg1 c2ab176
log
tatevikg1 54f4f6c
ci env
tatevikg1 735cc94
After review 1
tatevikg1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| <template> | ||
| <div class="editor-field" :style="{ '--editor-min-height': `300px` }"> | ||
| <label | ||
| v-if="label" | ||
| :for="fieldId" | ||
| class="mb-1 block text-sm font-medium text-slate-700" | ||
| > | ||
| {{ label }} | ||
| </label> | ||
|
|
||
| <ckeditor | ||
| :id="fieldId" | ||
| v-model="localValue" | ||
| :editor="ClassicEditor" | ||
| :config="editorConfig" | ||
| /> | ||
| </div> | ||
| </template> | ||
|
|
||
| <script setup> | ||
| import { computed } from 'vue' | ||
| import { Ckeditor } from '@ckeditor/ckeditor5-vue' | ||
|
|
||
| import { | ||
| ClassicEditor, | ||
| Essentials, | ||
| Paragraph, | ||
| Bold, | ||
| Italic, | ||
| Heading, | ||
| Link, | ||
| List, | ||
| BlockQuote, | ||
| Table, | ||
| TableToolbar, | ||
| HorizontalLine | ||
| } from 'ckeditor5' | ||
|
|
||
| import 'ckeditor5/ckeditor5.css' | ||
|
|
||
| defineOptions({ | ||
| components: { | ||
| ckeditor: Ckeditor | ||
| } | ||
| }) | ||
|
|
||
| const props = defineProps({ | ||
| modelValue: { | ||
| type: String, | ||
| default: '' | ||
| }, | ||
| label: { | ||
| type: String, | ||
| default: '' | ||
| }, | ||
| id: { | ||
| type: String, | ||
| default: '' | ||
| } | ||
| }) | ||
|
|
||
| const emit = defineEmits(['update:modelValue']) | ||
|
|
||
| const localValue = computed({ | ||
| get: () => props.modelValue, | ||
| set: (value) => emit('update:modelValue', value) | ||
| }) | ||
|
|
||
| const fieldId = props.id || `ckeditor-${crypto.randomUUID()}` | ||
|
|
||
| const editorConfig = { | ||
| licenseKey: 'GPL', | ||
| plugins: [ | ||
| Essentials, | ||
| Paragraph, | ||
| Bold, | ||
| Italic, | ||
| Heading, | ||
| Link, | ||
| List, | ||
| BlockQuote, | ||
| Table, | ||
| TableToolbar, | ||
| HorizontalLine | ||
| ], | ||
| toolbar: [ | ||
| 'undo', | ||
| 'redo', | ||
| '|', | ||
| 'heading', | ||
| '|', | ||
| 'bold', | ||
| 'italic', | ||
| 'link', | ||
| '|', | ||
| 'bulletedList', | ||
| 'numberedList', | ||
| '|', | ||
| 'blockQuote', | ||
| 'insertTable', | ||
| '|', | ||
| 'horizontalLine' | ||
| ] | ||
| } | ||
|
|
||
| </script> | ||
|
|
||
| <style scoped> | ||
| :deep(.ck-editor__editable_inline) { | ||
| min-height: var(--editor-min-height) !important; | ||
| overflow-y: auto; | ||
| } | ||
| </style> | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.