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

Enable Full-Width Display for Text Files in Nextcloud Text App #6049

Closed
akang1798 opened this issue Jul 14, 2024 · 1 comment
Closed

Enable Full-Width Display for Text Files in Nextcloud Text App #6049

akang1798 opened this issue Jul 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@akang1798
Copy link

akang1798 commented Jul 14, 2024

Is your feature request related to a problem? Please describe.

Currently, the Nextcloud Text app displays text files in a fixed width layout, resembling a physical paper page. While this may be suitable for some use cases, it can be inconvenient for viewing and editing longer text files or those containing wide tables or code blocks.

Describe the solution you'd like

Introduce an option to enable full-width display for text files in the Nextcloud Text app. This would allow users to maximize the available screen space and improve the overall reading and editing experience, especially for those working with extensive text content.

Potential Implementation

Custom CSS Approach:
Provide a configuration option in the Text app settings to enable/disable full-width display.
Upon enabling the option, inject custom CSS rules to override the default max-width property for the text editor content area.

Native Support:
Modify the underlying code of the Text app to incorporate a responsive layout mechanism that adapts the text editor's width to the available screen space.
Consider introducing additional options for users to fine-tune the text wrapping and margins.

Benefits

Enhanced readability and editing experience for longer text files Improved usability for viewing and working with wide tables or code blocks Better utilization of screen space, especially on larger monitors Increased flexibility for users to customize their preferred text editor layout.

Describe alternatives you've considered

While full-width display may be beneficial for certain use cases, it's crucial to ensure that it doesn't compromise the overall layout and readability of the text content.
Implementing native full-width support might require more extensive code modifications compared to the custom CSS approach.
It's recommended to gather feedback from users regarding their preferences for text editor width and layout options.
We kindly request the Nextcloud development team to consider implementing full-width display functionality for text files in the Text app. This feature would significantly enhance the user experience for those who frequently work with extensive text content or require a more flexible text editor layout.

Additional context

@akang1798 akang1798 added the enhancement New feature or request label Jul 14, 2024
@mejo-
Copy link
Member

mejo- commented Aug 28, 2024

Thanks for the report @akang1798. This is already reported and tracked in #4024. I'll close this one as duplicate.

@mejo- mejo- closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants