openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Investigate removing the `waitingloan` table

Open pidgezero-one opened this issue 1 year ago • 1 comments

Problem

As @cdrini identified in https://github.com/internetarchive/openlibrary/pull/9404, the waitingloan table might be unused now that /admin/waitinglist has been removed.

Proposal & Constraints

Verify if this is the case, and remove the waitingloan table and all associated code if so.

Leads

Related files

Stakeholders

@cdrini

Note: Before making a new branch or updating an existing one, please ensure your branch is up to date.

pidgezero-one avatar Jun 11 '24 13:06 pidgezero-one

(I can't assign labels but this is likely a good first issue candidate)

pidgezero-one avatar Jun 11 '24 13:06 pidgezero-one

open to taking on this issue if possible

psyren99 avatar Jul 03 '24 00:07 psyren99

I would like to investigate on this and work on this, kindly assign this issue

poojatalele avatar Jul 10 '24 07:07 poojatalele

Hi! @cdrini can I work on this? I'm new here and this seems like the perfect first issue

yivgen avatar Jul 12 '24 18:07 yivgen

Hey @cdrini , I've noticed that the waiting loan appears to be unused. I would like to investigate this further to confirm if it's indeed unused and, if so, proceed with removal of this and it's associated codes.

Could you please assign this issue to me? Thank you!

harsh-kumar-patwa avatar Jul 16 '24 06:07 harsh-kumar-patwa

Hi @cdrini,

It appears that the waiting loan feature isn't being used. I'd like to look into this to confirm, and if it's true, I'll remove the feature and its related code. Could you please assign this issue to me?

Thanks!

Jash2606 avatar Jul 25 '24 19:07 Jash2606

Howdy @Jash2606 ! Hm I think something went wrong with your PR; if you're still interested in working on it, please feel free to re-open it! It looked mostly correct; I think you just deleted one extra class :P

cdrini avatar Aug 06 '24 17:08 cdrini

Hello @cdrini ! I saw that the last attempt to resolve this issue accidentally deleted an extra class – I have implemented the required changes (removing waitingloan table and associated code) while preserving the waitingloan class. May I be assigned this issue?

sophiazhuu avatar May 04 '25 06:05 sophiazhuu

Staff is necessary to remove the tables, so I'm not sure why this was labeled Good first issue.

jimchamp avatar May 14 '25 22:05 jimchamp

@sophiazhuu, I'll be happy to merge your PR whenever the Python code removals have been restored (include only the waitingloan DDL removals in the PR). The code that was removed calls an IA API, and does not query our DB.

jimchamp avatar May 14 '25 22:05 jimchamp