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

Enabled text selection / copying in Job Viewer Accounting Tab #1561

Merged
merged 5 commits into from
Jan 6, 2022

Conversation

ryanrath
Copy link
Contributor

Description

I've made two changes to support text selection / copying in Job Viewer:

  • Added a new css class that explicitly allows a user to select the text of
    the element it is applied to.
  • Updated the cell template used to render each cell of the metrics or
    keyvaluedata tab types in the JobViewer. I specifically had to remove the
    x-unselectable class and the unselectable=on element attribute. I also
    added the new selectable-text css class so that it was clear that the
    intent of the change was to make the text of these elements selectable.

Motivation and Context

These changes were made to resolve: https://app.asana.com/0/search/1200856862261752/1200706315188842

Tests performed

All Automated tests.

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

I've made two changes to support text selection / copying in Job Viewer:
  - Added a new css class that explicitly allows a user to select the text of
  the element it is applied to.
  - Updated the cell template used to render each cell of the `metrics` or
    `keyvaluedata` tab types in the JobViewer. I specifically had to remove the
    `x-unselectable` class and the `unselectable=on` element attribute. I also
    added the new `selectable-text` css class so that it was clear that the
    intent of the change was to make the text of these elements selectable.
@ryanrath ryanrath added enhancement Enhancement of the functionality of an existing feature Category:Job Viewer Job Viewer labels Aug 25, 2021
@ryanrath ryanrath added this to the 10.0.0 milestone Aug 25, 2021
@ryanrath ryanrath requested a review from jtpalmer August 25, 2021 19:03
@ryanrath ryanrath merged commit 082ecd2 into ubccr:xdmod10.0 Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Job Viewer Job Viewer enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants