Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links where one writes, which leads to accidental clicks #116

Open
EvilBabyDemon opened this issue Jan 5, 2024 · 1 comment
Open

Links where one writes, which leads to accidental clicks #116

EvilBabyDemon opened this issue Jan 5, 2024 · 1 comment

Comments

@EvilBabyDemon
Copy link

EvilBabyDemon commented Jan 5, 2024

The boxes of the habits in the month overview are links and also the days in week overviews are links even if the calendar doesn't have day overviews.
With both there is intent to write in the area where the link is place to often accidentally click a link.

For habits one could probably remove them all together as one then can still click the days (row) above:

<Link
key={ currentDate.date() }
style={ styles }
src={ '#' + dayPageLink( currentDate, this.props.config ) }
/>,

For the days it would probably need some logic to check if there exists day overviews or not:

<Link
key={ day.unix() }
style={ this.styles.day }
src={ '#' + dayPageLink( day, config ) }
>

If someone else is too annoyed by those links and wants their calendar now,
git clone the repo, change exactly at those lines the src to:

src={ '' }

and then just run it locally as described in the readme.

@neolao
Copy link

neolao commented Jan 8, 2024

An option would be interesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants