question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Frame visibility in sitemap ignored

See original GitHub issue

PR #1174 looks to be included in 2.7.10-beta, so it may have caused this, or it isn’t included and may fix this issue.

Actual behaviour

Sitemaps with items that should be hidden are always visible. Basic UI displays them properly.

Expected behaviour

Sitemaps with items that should be hidden should be hidden.

Steps to reproduce

  1. Add Item1 to a sitemap inside a frame with visibility based on Item2.
  2. Toggle Item2 and notice visibility of Item1 does not change.

Here is a snip from the sitemap where I see this occurring…

    Frame visibility=[Mode=="Morning"] {
        Switch item=Wakeup_Alarm
        Switch item=Wakeup_Alarm_Snooze
    }

Environment data

Client

  • Android version: 2.7.10-beta

Server

  • Server version: S1627

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
maniac103commented, Aug 5, 2019

I think so, yes.

0reactions
maniac103commented, Sep 2, 2019

Is the label required?

It looks like that’s the case currently. We internally filter out frames without label for whatever reason. Since I don’t understand the rationale for this either, I created #1502 which changes the behavior to just hide the label in that case, but keep the frame widget:

Screenshot_1567418755

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic UI, visibility in sitemap partly not working
Hi all, i have installed OH 2.3.0 Build 1272, from scratch on RP 3 (Rasbian strech, oracle java 1.8.0_65). Then i have restore...
Read more >
ASP.NET web.sitemap - roles do not seem to control visibility?
I suspect you've fallen into the trap we all do, in believing that the roles attribute restricts visibility of the nodes. It doesn't,...
Read more >
25 Troubleshooting Tips for Sitemaps - DYNO Mapper
11. Invalid URL in the Sitemap Index File: Incomplete URL ... This will occur when a sitemap index file does not include a...
Read more >
SEO: HTML, XML Sitemaps Explained - Practical Ecommerce
XML sitemaps guide search engine bots, to ensure they find a site's ... is a list of instructions, including the URLs to crawl...
Read more >
XML Sitemaps, HTML Sitemaps, & Robots.txt 101
As an SEO specialist, I find sitemaps and robots.txt files to be some ... which can significantly hurt your website's visibility in SERPs....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found