nextcloud / nextcloud/ios

Scroll to bottom of log file when opening it

Open
#1,480 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Expected behaviour

When opening the log file, the most recent entries should be visible.

Actual behaviour

The top of the log file is visible, which in my case is 2 months old.

Steps to reproduce
  1. More
  2. Settings
  3. Advanced
  4. View Log file
Reasoning or why should it be changed/implemented?

Proposed solution: automatically scroll to the bottom of the file when opening the viewer.

Indeed, I could clear the log file.
However, the logs I want to view are already written, so I would have needed to remember to clear the logs before the interesting event occurred. This is somewhat unreasonable I think.

Also, I know that you can long press the scroll bar for faster scrolling.
Still, with my huge log file it's kinda slow to render. And it still takes user effort. By automatically scrolling to the bottom, I can make the device do my work (=the scrolling) for me :)

iOS version

14.1

App version

3.0.11.1

Server configuration

omitted

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the iOS app through More, Settings, Advanced, and View Log file, then locate the log viewer entry point. Done means opening a large log displays the most recent entries at the bottom instead of the oldest entries at the top.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.