glanceapp / glanceapp/glance

Configurable Collapsible 'Show More' Text

Open
#901 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

Many custom-api widgets use 'Show More' as a 'Show $WIDGET_SPECIFIC_THING' collapsible element. It would be good to be able to override the 'Show more' and 'Show less' text with attributes passed in via `data-xxx` attributes in the same way as one passes in `data-collapse-after=X`

https://github.com/glanceapp/glance/blob/36d5ae023f95efd10f7d53d6fe4818b170f6e92f/internal/glance/static/js/page.js#L343

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.