Code Monkey home page Code Monkey logo

anchor-card's Introduction

Discordshadow_ayaTwitterSteamstats.fm

Hi there 👋

I'm shadow_aya, a developer from the Czech Republic!

I mainly do webdev and bots for Discord.

🔧 My Stack:

⠀⠀TypeScript JavaScript

Web Development:

⠀⠀NextJS React

⠀⠀ExpressJS Fastify tRPC

⠀⠀Postgres Convex

⠀⠀HomeAssistant

Chatbots:

⠀⠀DiscordJS

Other Skills:

⠀⠀JavaBukkitAPI ⠀⠀C#basics

⠀⠀Pythonbasics, scripting

⠀⠀Vue.jslearning

Misc

⠀⠀TaskerAndroid Automation

⠀⠀KustomKWGT, KLWP ⠀⠀Home Assistant

anchor-card's People

Contributors

shadowaya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cesarrew

anchor-card's Issues

Doesn't work at all well

It reloads the page instead of simply scrolling to the relevant card.
The delay feature tries to help waiting for the 'reload' but variability on the view's cards speed of refresh make it unreliable or feel incredibly unresponsive.

Nice idea but currently unusable for me.

Grey line

Hi, how can I hide this grey line?

2024-02-28_214436

type: custom:anchor-card
anchor_id: top
negative_margin: 0px
offset: -50
timeout: 0ms

How to use the card?

Hi

I really like the proposition of this card. thanks for all the efforts put into that.
But I failed to use it. Probably a misconception how to use it from my side.
Installation via HACS and creating urls to navigate works fine. But the page roughly scrolls down one card, not to the anchor card inserted way below.
So a few questions:

  • Where to insert anchor cards? Above, or below the card of interest? Or even inside i.e a stack card?
  • I was using a Sidebar view type? Any restrictions on view types?
  • I'm using several custom:state-switch cards in my view. Is that ok?
    Best Eric

Problem when changing view

Hi.

I've been using this custom card for a few days now, but I'm having the following problem:

I have an icon at the top of my dashboard to scroll to a specifc card. It's working as expected. The problem is that when I change de view, the query string used to navigate to the card before goes with this new URL. So when I go back to the previous view, it scrolls automaticaly to the card I navigated before. I expected that when I exited the view, the query string would not be joined.

Do you have any idea how to solve this problem?

Thanks in advance.

Add to existing card? It takes up a space on my dashbaord?

IS there a way to implement this card without it taking up an additional space on my dashbaord.

Right now I added it as an additional card, however it created an empty space pushing everything down slightly.

Any way to get around this?

Thanks

Format of URL with anchor is nonstandard

I am not sure if this is intentional and needed in order for Home Assistant to parse the integration, but rather than using https://www.address.com/page?anchor=anchor_name the normal format for accessing an anchor is https://www.address.com/page#anchor_name

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.