Feature Request: Update the extension's default prehiding script to hide the body

Open
#587 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by locating the Web SDK extension's default prehiding script and review how Target and Launch previously handled prehiding. The change is complete when the default script hides the full rather than requiring a personalization-container class; add or update coverage if the relevant tests are found nearby.

Written by the indexing model from the issue text.

Description

Adobe Target enhancement
Expected Behaviour

The prehiding script functionality would match the precedent set by Target and Launch previously, which was to prehide the full tag.

Actual Behaviour

The prehiding script that is available via the Web SDK extension hides a custom personalization-container class which would need to be added to each element that will be personalized. If a customer did not know this change was made in the prehiding script, then they would see content flicker.

Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
Dominant language
JavaScript
Stars
104
Forks
63
Avg merge
1d 18h
Merged PRs (30d)
21

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from adobe/alloy

All issues in adobe/alloy

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.