nextcloud / nextcloud/ios

Testflight : Feature : A view mode separate from edition for plain text (.txt) files and the likes

Open
#1,268 0 comments 0 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

.txt files and the likes should be able to be viewed, scrolled, resized (as docx, pages, pdf files) before or without the edition and virtual keyboard appearing. The top bar should at some point desappear (as with docx, pages, pdf files).

Actual behaviour

When a .txt file is selected or scrolled (touch into file), it is immediately editable, which means the virtual keyboard is prompted, taking large part of the screen. Moreover, the file is not resizable and the top bar does not disappear.

Steps to reproduce

Select a .txt file and touch in it

Reasoning or why should it be changed/implemented?

Reason is accessibility and comfort : screen is reduced with the keyboard prompt, and no resize being possible + top bar make it worst.

iOS version

12.4

App version

Bêta 3.00

Server configuration

Operating system:
Freenas 11.3

Web server:
Caddy 1.0

Database:
Mariadb

PHP version:
7.3
Nextcloud version: (see Nextcloud admin page)
18.0.4

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

Start by reproducing the issue on iOS 12.4 with a .txt file, then compare its interaction with the existing docx, Pages, and PDF viewing behavior. Done means plain-text files can be viewed, scrolled, and resized without immediately opening editing or the virtual keyboard, while the top bar can disappear as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.