Skip to content

305 Admin View of Tables #117

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

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

erohrs2
Copy link
Contributor

@erohrs2 erohrs2 commented Apr 27, 2025

This PR encompasses two changes:

  1. The addition of the Admin View of Tables feature
  2. The fixing of the Checked Out Tool bug (Fixed here)

Changelog:

  • Added the View Warehouse (Admin View of Tables) page which allows Checkout users to view all projects and currently checked out tools. Original Request.

  • Fixed the Checked Out Tool bugs. This bug concerned the way tools were calculated to be checked out to a certain user. In summary, if a certain user had ever checked out a tool (aka, a tool log existed of them checking it out), and that tool was checked out to ANY user, the tool would appear as checked out to that certain user on their checkout page.

  • Implemented a new method by which checked out tools are associated with users. This makes the process much more simple and easier to read, and makes the calculation for retrieving checkout out tools much less complex.

Steps for implementation:

  1. Run the update file [0021_add_checkable_tool_user.sql].
  2. Run the script [adapt_tools_to_current_user.rb]

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
9.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants