glanceapp / glanceapp/glance

page.PrimaryColumnIndex isn't configurable

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

Description

### Description

I saw code in internal/glance/glance.go "page.PrimaryColumnIndex = -1", and internal/glance/config.go "PrimaryColumnIndex int8 `yaml:"-"`". It can't be set by yaml, always be -1. So the default column on mobile is the full size one. I hope I can set in yaml, the default column shown on mobile.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with internal/glance/glance.go and internal/glance/config.go, where PrimaryColumnIndex is assigned -1 and excluded from YAML. Make the setting configurable through YAML while preserving the existing default, then verify that the configured value determines the default column shown on mobile.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.