Skip to content

Commit 2b146b3

Browse files
TatevikGrtatevikg1github-actions
authored
Subscribe page (#87)
New Features Public "Subscribe Pages" area: directory, editor, create/edit views, and public subscribe/unsubscribe pages with customizable forms and templates Language translation support and a publish flow for phpList texts Bug Fixes / UI Consistent checkbox accent colors and updated border styling for action and pagination buttons Safer login redirects that validate in-site targets Tests Expanded unit, component and integration (Panther) test coverage for UI and public routes --------- Co-authored-by: Tatevik <tatevikg1@gmail.com> Co-authored-by: github-actions <github-actions@web-frontend.workflow>
1 parent 20919ed commit 2b146b3

101 files changed

Lines changed: 10873 additions & 87 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ jobs:
145145
- name: Run tests with phpunit
146146
run: vendor/bin/phpunit tests
147147

148+
- name: Run tests with vitest
149+
run: node node_modules/vitest/vitest.mjs --run
150+
148151
- name: Upload Panther screenshots
149152
if: failure()
150153
uses: actions/upload-artifact@v4

assets/router/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import CampaignEditView from '../vue/views/CampaignEditView.vue'
88
import TemplatesView from '../vue/views/TemplatesView.vue'
99
import TemplateEditView from '../vue/views/TemplateEditView.vue'
1010
import BouncesView from '../vue/views/BouncesView.vue'
11+
import PublicPagesView from '../vue/views/PublicPagesView.vue'
12+
import PublicPageEditView from '../vue/views/PublicPageEditView.vue'
1113

1214
export const router = createRouter({
1315
history: createWebHistory(),
@@ -23,6 +25,9 @@ export const router = createRouter({
2325
{ path: '/campaigns/:campaignId/edit', name: 'campaign-edit', component: CampaignEditView, meta: { title: 'Edit Campaign' } },
2426
{ path: '/lists/:listId/subscribers', name: 'list-subscribers', component: ListSubscribersView, meta: { title: 'List Subscribers' } },
2527
{ path: '/bounces', name: 'bounces', component: BouncesView, meta: { title: 'Bounces' } },
28+
{ path: '/public', name: 'public-pages', component: PublicPagesView, meta: { title: 'Public Pages' } },
29+
{ path: '/public/create', name: 'public-page-create', component: PublicPageEditView, meta: { title: 'Create Public Page' } },
30+
{ path: '/public/:pageId/edit', name: 'public-page-edit', component: PublicPageEditView, meta: { title: 'Edit Public Page' } },
2631
{ path: '/:pathMatch(.*)*', redirect: '/' },
2732
],
2833
});

assets/styles/color.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:root {
2+
--page-bg: #e5e7eb;
3+
--primary-text: #374151;
4+
5+
--header-bg: #1e1b4b;
6+
--logo-color: #c7d2fe;
7+
8+
--topbar-gradient-start: #312e81;
9+
--topbar-gradient-middle: #3730a3;
10+
--topbar-gradient-end: #4338ca;
11+
--topbar-border: #4f46e5;
12+
13+
--card-bg: #ffffff;
14+
--card-border: #e5e7eb;
15+
16+
--input-bg: #ffffff;
17+
--input-border: #d1d5db;
18+
19+
--field-frame-bg: #f9fafb;
20+
--field-frame-border: #e5e7eb;
21+
22+
--required-color: #dc2626;
23+
24+
--error-bg: #fef2f2;
25+
--error-border: #fca5a5;
26+
--error-text: #dc2626;
27+
28+
--success-bg: #f0fdf4;
29+
--success-border: #86efac;
30+
--success-text: #16a34a;
31+
32+
--footer-border: #e5e7eb;
33+
}

0 commit comments

Comments
 (0)