Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
60e8d47
WIP
ilicfilip Sep 22, 2025
b6c89bf
split stlyes
ilicfilip Sep 22, 2025
1d7607d
small cleanup
ilicfilip Sep 22, 2025
6d0873e
WIP split javascript file
ilicfilip Sep 22, 2025
fb45a78
no need for tasks on backend, yet
ilicfilip Sep 22, 2025
ec8b8dc
no need to mount finish step
ilicfilip Sep 22, 2025
e4b2d07
a bit of localization (titles needs to be localized as well)
ilicfilip Sep 22, 2025
f5eebb3
get proxy comment
ilicfilip Sep 22, 2025
fbda2d1
dont reset state
ilicfilip Sep 22, 2025
4c2ef31
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 23, 2025
e2ed175
better proxy
ilicfilip Sep 23, 2025
19e5856
titles to templates
ilicfilip Sep 23, 2025
d5d8ce7
templates -> views
ilicfilip Sep 23, 2025
e8a146a
posts_per_page
ilicfilip Sep 23, 2025
07c437f
cache elements
ilicfilip Sep 23, 2025
a2e8b2f
TODO comment
ilicfilip Sep 23, 2025
b4d6dbd
task can have forms as well
ilicfilip Sep 23, 2025
4768e67
prepare for showing user "tour not completed" notification
ilicfilip Sep 23, 2025
4464f05
small tweak
ilicfilip Sep 23, 2025
5556398
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 25, 2025
69353fa
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 26, 2025
b32f223
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 29, 2025
c7d8e15
Merge remote-tracking branch 'origin/filip/fe-onboard-tour' into fili…
ilicfilip Sep 29, 2025
bb1189d
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 29, 2025
00e5b3f
WIP tour styling
ilicfilip Sep 29, 2025
aa9fa8d
dashboard button
ilicfilip Sep 29, 2025
423c30d
add inline redirect
ilicfilip Sep 29, 2025
4374b02
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 29, 2025
1dba88b
Merge branch 'develop' into filip/fe-onboard-tour
aristath Sep 29, 2025
1bf46ae
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 1, 2025
f291935
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 1, 2025
089bc96
Merge branch 'develop' into filip/fe-onboard-tour
ilicfilip Oct 2, 2025
5a0eddf
rename method
ilicfilip Oct 2, 2025
bdfc868
update comment
ilicfilip Oct 2, 2025
5a544f3
WIP: prototype of how task can be programmatically completed
ilicfilip Oct 2, 2025
e8d7a33
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 6, 2025
4302f41
blog description as first task
ilicfilip Oct 6, 2025
24cdc2f
new onboarding tasks
ilicfilip Oct 6, 2025
e8d945f
secondary button styling
ilicfilip Oct 6, 2025
2440fd2
add permission check
ilicfilip Oct 6, 2025
090761c
wip styling for <select>
ilicfilip Oct 6, 2025
7168e92
popover inside popover & remove back button
ilicfilip Oct 7, 2025
94bc08e
add close button
ilicfilip Oct 7, 2025
7c034d4
popover tasks input validation
ilicfilip Oct 7, 2025
c20f6f4
wip set site icon
ilicfilip Oct 7, 2025
566b1db
small tweak
ilicfilip Oct 7, 2025
368dc93
Merge branch 'develop' into filip/fe-onboard-tour
ilicfilip Oct 8, 2025
35fa3d5
handle file upload
ilicfilip Oct 8, 2025
549fb54
move assets
ilicfilip Oct 8, 2025
407131a
Optimised images with calibre/image-actions
github-actions[bot] Oct 8, 2025
91c2232
add complete_task methods for onboarding tasks
ilicfilip Oct 8, 2025
d23881f
save progress after click on "take me to the dashboard"
ilicfilip Oct 8, 2025
d92ac49
Merge branch 'develop' into filip/fe-onboard-tour
ilicfilip Oct 9, 2025
364ceb8
WIP: update wording
ilicfilip Oct 9, 2025
5fbcce2
remove "finish" step
ilicfilip Oct 9, 2025
2a9df07
add X button
ilicfilip Oct 9, 2025
b0246a5
replace badge image
ilicfilip Oct 9, 2025
b7974cf
Optimised images with calibre/image-actions
github-actions[bot] Oct 9, 2025
cf2e3bd
hide "next" button on the "First task" step
ilicfilip Oct 9, 2025
a9bcd69
add user notification
ilicfilip Oct 9, 2025
a78ab67
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 15, 2025
f5a8d7f
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 15, 2025
5887514
gilroy font
ilicfilip Oct 16, 2025
a79b180
Merge branch 'develop' into filip/fe-onboard-tour
ilicfilip Oct 16, 2025
82d7cc4
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 21, 2025
706128e
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 21, 2025
7a27924
merge from dev
aristath Oct 22, 2025
9e20a47
tweak to resolve a conflict with previous merge
aristath Oct 22, 2025
8b0e7d7
Merge branch 'develop' into filip/fe-onboard-tour
aristath Oct 22, 2025
b291259
Merge branch 'develop' into filip/fe-onboard-tour
ilicfilip Oct 28, 2025
a109c0e
WIP Branding
ilicfilip Oct 28, 2025
c76a7ab
Merge branch 'develop' into filip/fe-onboard-tour
aristath Nov 5, 2025
c4e816b
fix CS & Stan issues
aristath Nov 5, 2025
f004e01
Merge branch 'develop' into filip/fe-onboard-tour
aristath Nov 17, 2025
d8bc2e5
Merge branch 'develop' into filip/fe-onboard-tour
aristath Dec 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
327 changes: 327 additions & 0 deletions assets/front-end-onboarding/css/front-end-onboarding.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,327 @@
@font-face {
font-family: Gilroy;
src: url( '../fonts/Gilroy-Regular.woff2' ) format('woff2');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: Gilroy-Bold;
src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}

.prpl-popover-onboarding {

& * {
box-sizing: border-box;
}

font-family: Gilroy, sans-serif;

padding: 24px 24px 14px 24px;
box-sizing: border-box;

background: #fff;
border: 1px solid #9ca3af;
border-radius: 8px;
font-weight: 400;
max-height: 82vh;
width: 1200px;
max-width: 80vw;

position: relative;

&::backdrop {
background: rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
font-family: Gilroy-Bold, sans-serif;
}

.prpl-popover-close {
position: absolute;
top: 0;
right: 0;
padding: 0.5em;
cursor: pointer;
background: none;
border: none;
color: #4b5563;
}

.tour-header {

.tour-title {
margin-top: 0;
font-size: 20px;
color: #38296d;
font-weight: 600;
}
}

.tour-footer {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 10px;
}

.tour-content {
font-size: 16px;
line-height: 1.5;

p {
margin-bottom: 10px;
}

img {
max-width: 100%;
height: auto;
}

}

.prpl-columns-wrapper-flex {
display: flex;
gap: 40px;
overflow: hidden;
padding-bottom: 10px;

.prpl-column {
flex-grow: 1;
flex-basis: 50%;

&.prpl-column-content {
padding: 20px;
border-radius: 6px;
background-color: #f6f5fb;
}
}
}

.prpl-btn {
display: inline-block;
margin: 1rem 0;
padding: 0.75rem 1.25rem;
color: var(--prpl-color-button-primary-text);
text-decoration: none;
cursor: pointer;
font-size: 16px;
background: var(--prpl-color-button-primary);
line-height: 1.25;
box-shadow: none;
border: none;
border-radius: 6px;
transition: all 0.25s ease-in-out;
font-weight: 600;
text-align: center;
box-sizing: border-box;
position: relative;
z-index: 1;

&:disabled {
opacity: 0.5;
pointer-events: none;
}

&:not([disabled]):hover,
&:not([disabled]):focus {
background: var(--prpl-color-button-primary-hover);
}

&.prpl-btn-secondary {
background: var(--prpl-background-banner);
color: var(--prpl-color-text);;

&:not([disabled]):hover,
&:not([disabled]):focus {
background: var(--prpl-background-banner);
color: var(--prpl-color-text);;
}
}
}

.prpl-complete-task-btn:not(.prpl-btn) {
border: none;
background: none;
cursor: pointer;
padding: 0;
margin: 0;
font-size: 16px;
color: #1e40af;
}

.prpl-complete-task-btn-completed:not(.prpl-btn) {
color: #059669;
pointer-events: none;
opacity: 0.5;
}

.prpl-complete-task-btn-error {
color: #9f0712;
}

/* WIP for tasks which need user input. */
.prpl-onboarding-task-form {
display: flex;
align-items: center;
gap: 0.5rem;
border: none;
padding: 0;
margin: 0;
background: none;

input[type="text"] {
width: 100%;
padding: 0.5rem;
border: 1px solid #ccc;
border-radius: 0.25rem;
}

/* WIP */
select {
font-size: 14px;
line-height: 2;
color: #2c3338;
border-color: #8c8f94;
box-shadow: none;
border-radius: 3px;
padding: 0 24px 0 8px;
min-height: 30px;

/* max-width: 25rem; */
width: 100%;
-webkit-appearance: none;
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
background-size: 16px 16px;
cursor: pointer;
vertical-align: middle;
}

.prpl-complete-task-btn {
flex-shrink: 0;
}
}

.prpl-complete-task-item {
display: flex;
gap: 30px;
justify-content: space-between;
}

/* Welcome */
&[data-prpl-step="0"] {

.prpl-column:not(.prpl-column-content) {
display: flex;
justify-content: center;
align-items: center;
}

#prpl-welcome-logo {
display: flex;
justify-content: center;
align-items: center;

img, svg {
height: 150px; /* Set height since it is what we do in the PP dashboard. */
}
}
}

/* First task */
.prpl-onboarding-task {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;

.prpl-onboarding-task-title {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #4b5563;
}

.prpl-onboarding-task-form {
width: 100%;
flex-direction: column;

.prpl-complete-task-btn {
align-self: flex-end;

&.prpl-complete-task-btn-completed {
opacity: 0.5;
pointer-events: none;
}
}
}
}

/* More tasks */
.prpl-column:has(.prpl-task-list) {
display: flex;
align-items: center;
}

.prpl-task-list {
list-style: none;
padding: 0;
margin: 0;
width: 100%;

li {
padding: 7px 5px;
margin: 0;

&:nth-child(odd) {
background-color: #f6f7f9;
}

.task-title {
color: #4b5563;
font-weight: 500;
}
}
}

/* File drop zone. */
.prpl-file-drop-zone {
border: 2px dashed #aaa;
border-radius: 10px;
padding: 40px;
text-align: center;
color: #555;
transition: background 0.2s, border-color 0.2s;
cursor: pointer;
}

.prpl-file-drop-zone.dragover {
background: #f0f8ff;
border-color: #007bff;
}

.prpl-file-browse-link {
color: #007bff;
text-decoration: underline;
cursor: pointer;
}

/* WIP */
#prpl-upload-status {
margin-top: 10px;
font-family: monospace;
}
}

/* Task popover is opened. */
body:has(.prpl-task-popover) {

/* Hide Tour (parent) popover, this will hide it's backdrop as well. */
#prpl-popover-front-end-onboarding {
display: none;
}
}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading