adobe / adobe/helix-tools-website

page-status: BYOM content always shows 'No source'

Open
#340 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
10
Avg merge
2d 5h
Merged PRs (30d)
11

Description

For BYOM (Bring Your Own Markup) pages the `sourceLastModified` field from the admin API is `null`/absent. This causes `classifySequenceStatus` to always return **No source** (negative status indicator), even for pages that are fully previewed and published.

I can see a few options:
- somehow detect BYOM and treat explicitly differently (don't request edit in that case)
- don't quick exit when no source, proceed to rest of checks and label accordingly, something like `Current, No Source`
- some combination of the 2 above

Contributor guide

Open the contributing guide

Research direction

Start by locating classifySequenceStatus and tracing how the admin API's sourceLastModified value is handled for BYOM pages. Check the existing page-status behavior for a fully previewed and published BYOM page; done should mean it is no longer always labeled No source, with the intended status behavior clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.