New widget
This commit is contained in:
28
.paul/PROJECT.md
Normal file
28
.paul/PROJECT.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Project: luxmed2.pagedev.pl
|
||||
|
||||
## Description
|
||||
Landing page dla klienta, ktorego glownym celem jest pozyskiwanie leadow przez formularz na stronie.
|
||||
|
||||
## Core Value
|
||||
Strona pozyskuje klientow z formularza na landing page.
|
||||
|
||||
## Requirements
|
||||
|
||||
### Must Have
|
||||
- [To be defined during planning]
|
||||
|
||||
### Should Have
|
||||
- [To be defined during planning]
|
||||
|
||||
### Nice to Have
|
||||
- [To be defined during planning]
|
||||
|
||||
## Constraints
|
||||
- [To be identified during planning]
|
||||
|
||||
## Success Criteria
|
||||
- Strona pozyskuje klientow z formularza na landing page is achieved
|
||||
- [To be refined during planning]
|
||||
|
||||
---
|
||||
*Created: 2026-05-07 10:04*
|
||||
32
.paul/ROADMAP.md
Normal file
32
.paul/ROADMAP.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Roadmap: luxmed2.pagedev.pl
|
||||
|
||||
## Overview
|
||||
Landing page dla klienta, ktorego glownym celem jest pozyskiwanie leadow przez formularz na stronie.
|
||||
|
||||
## Current Milestone
|
||||
**v0.1 Initial Release** (v0.1.0)
|
||||
Status: In progress
|
||||
Phases: 1 of 1 complete
|
||||
|
||||
## Phases
|
||||
|
||||
| Phase | Name | Plans | Status | Completed |
|
||||
|-------|------|-------|--------|-----------|
|
||||
| 1 | Elementor popup widget | Direct implementation | Complete | 2026-05-07 |
|
||||
|
||||
## Phase Details
|
||||
|
||||
### Phase 1: Elementor popup widget
|
||||
|
||||
Goal: Provide an Elementor widget that renders a configurable button and opens editable WYSIWYG content in a full-screen popup.
|
||||
|
||||
Delivered:
|
||||
- Custom Elementor widget registered from `wp-content/plugins/elementor-addon/widgets/info-box-popup.php`.
|
||||
- Button text and popup content controls in Elementor.
|
||||
- Style controls for button, overlay, popup box, popup content, and close button.
|
||||
- Frontend JavaScript for opening, closing, Escape key, overlay click, and focus management.
|
||||
- Native `<dialog>` top-layer popup so it appears above slider slides and full viewport.
|
||||
- SCSS source added at `wp-content/plugins/elementor-addon/assets/scss/main.scss`, with compiled CSS still loaded from `assets/css/main.css`.
|
||||
|
||||
---
|
||||
*Roadmap created: 2026-05-07 10:04*
|
||||
55
.paul/STATE.md
Normal file
55
.paul/STATE.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Project State
|
||||
|
||||
## Project Reference
|
||||
|
||||
See: .paul/PROJECT.md (updated 2026-05-07 10:04)
|
||||
|
||||
**Core value:** Strona pozyskuje klientow z formularza na landing page.
|
||||
**Current focus:** Elementor popup widget reconciled after implementation
|
||||
|
||||
## Current Position
|
||||
|
||||
Milestone: v0.1 Initial Release
|
||||
Phase: 1 - Elementor popup widget
|
||||
Plan: Direct implementation from user request
|
||||
Status: Phase complete, ready for manual Elementor/browser verification
|
||||
Last activity: 2026-05-07 10:54 - Reconciled plan vs actual with $paul-unify
|
||||
|
||||
Progress:
|
||||
- Milestone: [##########] 100%
|
||||
|
||||
## Loop Position
|
||||
|
||||
Current loop state:
|
||||
```
|
||||
PLAN --> APPLY --> UNIFY
|
||||
x x x [Phase reconciled]
|
||||
```
|
||||
|
||||
## Accumulated Context
|
||||
|
||||
### Codebase Mapped
|
||||
Date: 2026-05-07
|
||||
Documents: .paul/codebase/ (9 files)
|
||||
|
||||
### Decisions
|
||||
- Implement popup as a native `<dialog>` so it opens in the browser top layer above Elementor slider transforms.
|
||||
- Keep `assets/css/main.css` as the WordPress-loaded stylesheet and add `assets/scss/main.scss` as the editable source.
|
||||
- Use Elementor controls for button text, WYSIWYG popup content, and styling of button/overlay/dialog/content/close button.
|
||||
|
||||
### Deferred Issues
|
||||
- PHP lint could not be run because `php` is not available in PATH.
|
||||
- SCSS compilation could not be run because `sass` is not available in PATH.
|
||||
|
||||
### Blockers/Concerns
|
||||
- Manual verification in Elementor frontend/editor is still recommended after clearing cache/regenerating Elementor CSS.
|
||||
|
||||
## Session Continuity
|
||||
|
||||
Last session: 2026-05-07 10:54
|
||||
Stopped at: Elementor popup widget complete and reconciled
|
||||
Next action: Test the widget in the target Elementor slider and confirm popup opens full-screen above all slides
|
||||
Resume file: wp-content/plugins/elementor-addon/widgets/info-box-popup.php
|
||||
|
||||
---
|
||||
*STATE.md - Updated after every significant action*
|
||||
33
.paul/config.md
Normal file
33
.paul/config.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Project Config
|
||||
|
||||
**Project:** luxmed2.pagedev.pl
|
||||
**Created:** 2026-05-07 10:04
|
||||
|
||||
## Project Settings
|
||||
|
||||
```yaml
|
||||
project:
|
||||
name: luxmed2.pagedev.pl
|
||||
version: 0.0.0
|
||||
```
|
||||
|
||||
## Integrations
|
||||
|
||||
### SonarQube
|
||||
|
||||
```yaml
|
||||
sonarqube:
|
||||
enabled: false
|
||||
reason: "User declined during init"
|
||||
```
|
||||
|
||||
## Preferences
|
||||
|
||||
```yaml
|
||||
preferences:
|
||||
auto_commit: false
|
||||
verbose_output: false
|
||||
```
|
||||
|
||||
---
|
||||
*Config created: 2026-05-07 10:04*
|
||||
Reference in New Issue
Block a user