update
This commit is contained in:
115
.paul/phases/01-fix-article-info-metryczki/01-01-SUMMARY.md
Normal file
115
.paul/phases/01-fix-article-info-metryczki/01-01-SUMMARY.md
Normal file
@@ -0,0 +1,115 @@
|
||||
---
|
||||
phase: 01-fix-article-info-metryczki
|
||||
plan: 01
|
||||
subsystem: layouts
|
||||
tags: [joomla, info_block, itemprop, metryczki, bip]
|
||||
|
||||
requires:
|
||||
- phase: none
|
||||
provides: n/a
|
||||
provides:
|
||||
- Przywrócone atrybuty itemprop w sublayoutach info_block
|
||||
- Działające metryczki BIP na stronie
|
||||
affects: []
|
||||
|
||||
tech-stack:
|
||||
added: []
|
||||
patterns: []
|
||||
|
||||
key-files:
|
||||
created: []
|
||||
modified:
|
||||
- layouts/joomla/content/info_block/create_date.php
|
||||
- layouts/joomla/content/info_block/publish_date.php
|
||||
- layouts/joomla/content/info_block/modify_date.php
|
||||
- layouts/joomla/content/info_block/author.php
|
||||
|
||||
key-decisions:
|
||||
- "Naprawa w plikach core zamiast template overrides (hotfix, Phase 2 na hardening)"
|
||||
|
||||
patterns-established:
|
||||
- "Aktualizacja Joomla usuwa atrybuty itemprop z sublayoutów info_block"
|
||||
|
||||
duration: ~15min
|
||||
started: 2026-04-10
|
||||
completed: 2026-04-10
|
||||
---
|
||||
|
||||
# Phase 1 Plan 01: Fix article-info metryczki Summary
|
||||
|
||||
**Przywrócono atrybuty itemprop w sublayoutach info_block po aktualizacji Joomla — metryczki BIP znów działają.**
|
||||
|
||||
## Performance
|
||||
|
||||
| Metric | Value |
|
||||
|--------|-------|
|
||||
| Duration | ~15min |
|
||||
| Started | 2026-04-10 |
|
||||
| Completed | 2026-04-10 |
|
||||
| Tasks | 4 completed (1 checkpoint:human-action, 2 auto, 1 checkpoint:human-verify) |
|
||||
| Files modified | 4 |
|
||||
|
||||
## Acceptance Criteria Results
|
||||
|
||||
| Criterion | Status | Notes |
|
||||
|-----------|--------|-------|
|
||||
| AC-1: Metryczka BIP widoczna na stronie | Pass | Przycisk METRYCZKA renderuje się, dane wyświetlają po kliknięciu |
|
||||
| AC-2: Dane metryczki poprawnie wypełnione | Pass | Podmiot, Wytwarzający, daty wypełnione przez metryczka.js |
|
||||
| AC-3: Selektory JS pasują do HTML | Pass | itemprop przywrócone, selektory .create [itemprop=dateCreated] etc. działają |
|
||||
|
||||
## Accomplishments
|
||||
|
||||
- Zdiagnozowano przyczynę: aktualizacja Joomla usunęła atrybuty `itemprop` z elementów `<time>` i `<dd>` w sublayoutach info_block
|
||||
- Przywrócono 4 pliki: `itemprop="dateCreated"`, `itemprop="datePublished"`, `itemprop="dateModified"` oraz atrybuty schema.org w author.php
|
||||
- Metryczki BIP ponownie funkcjonalne
|
||||
|
||||
## Files Created/Modified
|
||||
|
||||
| File | Change | Purpose |
|
||||
|------|--------|---------|
|
||||
| `layouts/joomla/content/info_block/create_date.php` | Modified | Dodano `itemprop="dateCreated"` do `<time>` |
|
||||
| `layouts/joomla/content/info_block/publish_date.php` | Modified | Dodano `itemprop="datePublished"` do `<time>` |
|
||||
| `layouts/joomla/content/info_block/modify_date.php` | Modified | Dodano `itemprop="dateModified"` do `<time>` |
|
||||
| `layouts/joomla/content/info_block/author.php` | Modified | Przywrócono `itemprop="author"`, `itemscope`, `itemprop="name"`, `itemprop="url"` |
|
||||
|
||||
## Decisions Made
|
||||
|
||||
| Decision | Rationale | Impact |
|
||||
|----------|-----------|--------|
|
||||
| Naprawa w core zamiast template overrides | Hotfix — klient czeka, szybka naprawa priorytetem | Problem powtórzy się przy następnej aktualizacji Joomla. Phase 2 (template overrides) rozwiąże to trwale |
|
||||
|
||||
## Deviations from Plan
|
||||
|
||||
### Summary
|
||||
|
||||
| Type | Count | Impact |
|
||||
|------|-------|--------|
|
||||
| Auto-fixed | 0 | n/a |
|
||||
| Scope additions | 0 | n/a |
|
||||
| Deferred | 1 | Phase 2 |
|
||||
|
||||
### Deferred Items
|
||||
|
||||
- Phase 2: Przenieść customizacje do template overrides (`templates/instytut_dendrologii_/html/layouts/joomla/content/info_block/`) aby przetrwały przyszłe aktualizacje Joomla
|
||||
|
||||
## Issues Encountered
|
||||
|
||||
| Issue | Resolution |
|
||||
|-------|------------|
|
||||
| SCP nie obsługuje hasła interaktywnie | Użytkownik pobrał pliki ręcznie przez ftp-kr |
|
||||
|
||||
## Next Phase Readiness
|
||||
|
||||
**Ready:**
|
||||
- Metryczki działają, klient obsłużony
|
||||
|
||||
**Concerns:**
|
||||
- Problem powtórzy się przy następnej aktualizacji Joomla (pliki core nadpisywane)
|
||||
- Rozwiązanie trwałe wymaga Phase 2: template overrides
|
||||
|
||||
**Blockers:**
|
||||
- None
|
||||
|
||||
---
|
||||
*Phase: 01-fix-article-info-metryczki, Plan: 01*
|
||||
*Completed: 2026-04-10*
|
||||
Reference in New Issue
Block a user