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

Improve display for long-text custom fields #16857

Closed
raphis opened this issue Jul 9, 2024 · 1 comment · Fixed by #17237
Closed

Improve display for long-text custom fields #16857

raphis opened this issue Jul 9, 2024 · 1 comment · Fixed by #17237
Assignees
Labels
complexity: low Requires minimal effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@raphis
Copy link

raphis commented Jul 9, 2024

NetBox version

v.4.0.6

Feature type

Change to existing functionality

Proposed functionality

This is a followup on issue #16830 (opened as bug).

Long text variables make the read-only overview page (e.g. of a device) nearly unusable as it needs a lot of scrolling.

Suggestion: Use a defined height for the text (long) type of custom field and add a scrollbar as it's shown in the edit-view of an object.

long-text_view long-text_edit

Use case

To reproduce:

  1. Create a type "Text (long)" custom field for Devices
  2. Save a very long text into this field
  3. Access the device in the "read-only" view
  4. The page gets very long and the user needs to scroll

Database changes

none

External dependencies

none

@raphis raphis added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Jul 9, 2024
@jeremystretch jeremystretch removed their assignment Jul 9, 2024
@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation complexity: low Requires minimal effort to implement and removed status: needs triage This issue is awaiting triage by a maintainer labels Jul 9, 2024
@Brucegyx
Copy link

Brucegyx commented Aug 16, 2024

Hi, I also noticed the same behaviour when viewing a long comment on the Device page. Setting a max-height and overflow on the rendered-markdown class should do the work. I'm also happy to volunteer implement this change !

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Aug 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
complexity: low Requires minimal effort to implement status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants