[ATLAS-390] Support LC Plus titles browsing for eligible tier-check user - #391
Open
codeon89 wants to merge 1 commit into
Open
Conversation
1 task
codeon89
force-pushed
the
atlas/390/lewdcorner-tier-check-browsing-support
branch
4 times, most recently
from
August 27, 2026 16:52
dfbec98 to
86d65dc
Compare
codeon89
force-pushed
the
atlas/390/lewdcorner-tier-check-browsing-support
branch
from
August 27, 2026 17:38
86d65dc to
0cb0036
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
LewdCorner member tier detection: Atlas now scrapes your LewdCorner shop page to determine your membership tier (Standard / Plus) and filters Browse content accordingly. Plus sees everything; Free sees only Free-tier rows. Non-Tier will also see the tiles like Free but the assets streaming will be gated by server permission. This is rechecked periodically (default 24h) or forced on re-link.
VIP→ gate skipped; the user sees all LC content (Free, VIP, NULL tier).Freeor not-logged-in (null) → onlytier = 'Free'rows.Vocabulary: The stored user-tier value is
Free/VIPto match LC's content-tier column uses for each thread in lewdcorner_data. The Accounts page maps Free →STANDARDand VIP →PLUSfor display.Tier promotion latency: In case someone was Standard when they log in then they got promoted on LC, Standard → Plus upgrade only reflects after the next periodic recheck (up to
tierRecheckHours, default 24h). Relaunching does not reflect it if the result still cache. Workaround is to disconnect and reconnect LC account, which trigger re-linking and force an immediate scrape.Why
#390
Atlas was showing no plus title regardless of user permission. This fetch the roles info (plus double check on a Games+ thread) to determine if you are eligible and allow Plus titles to be search / displayed on browsing catalog.
How it was tested
npm run checkpasses locallyCHANGELOG.mdupdatednightly, notmainAI assistance
Tool and model: VSCode auto free + opencode reviews
What it wrote:
What you verified myself:
IPC changes
lewdcorner-tierchannel (electron/ipc/accounts.js). Returns{ tier, tierCheckedAt, lcTierMismatch }. Caller:src/components/settings/Accounts.jsx. No removed or renamed channels.Anything the reviewer should know