Skip to content

74 featureadd description logo keyvalues etc to charity page #76

Merged

Conversation

roaraf
Copy link
Collaborator

@roaraf roaraf commented Apr 18, 2026

No description provided.

roaraf added 26 commits April 18, 2026 18:54
Added UNIQUE Constraint to CharityVantiy UUID, as CharityVanity got a new entry (with the same UUID), everytime the scraper was run.
Fixed bug where CharityVanity would get multiple duplicate entries each run of the code.
Description is showing correctly and name of Charity is only truncated for very, very long names.
Added fx:id to charity logo for controller.
Added reference to CharityLogo fx:id and dynamically sets the image to the logoBlob of the charity, or a placeholder image if the logoBlob is null.
Added fx:id and method reference to Homepage Hyperlink.
Added method for opening browser and navigating to the url of the charity on IK.
Time for scraping went down from approx 2 hours to around 20-30 mins, and is still reliable. Thread.sleep() seems to not be required after all.
Added fx:id to arc and label for key values.
Added method to set arc fill. Controller now sets both the arc fill and label of the key values correctly per Charity.
Fixed key value labels so they don't get cut off. They should now display in full.
Added UNIQUE constraint to category and cascade to delete and update for Charity_Categories.
Added insert statements for Category and Charity_Categories
Edited label from "verified" to "pre-approved".
Added sql queries for getting category information for each charity.
Data access class that gets all the distinct/unique categories from the database.
Added methods do dynamically populate a scroll pane with checkmarks for filtering categories, and changed the logic of the filtering method. Removed unused methods.
Put the checkmarks for filtering charities into a scroll pane and dynamically populate them (except for Pre-approved, which is on top).
Changed the logic for getFilteredCharities to need to include ALL categories/filters to show a category.
Added javadoc and methods for setting categories and creating labels for categories dynamically.
Added fx:id to handle category events and fixed cursor for links.
Fixed cursor for links.
Fixed cursor for links.
Added method to expose the APICharityScraper so it can run the checkConnection() method.
Commented out APIScraper and swapped it with FullCharityScrape.
Fixed cursor for logo, donate, and abort.
@roaraf roaraf linked an issue Apr 18, 2026 that may be closed by this pull request
@roaraf roaraf changed the base branch from main to develop April 18, 2026 17:32
@roaraf roaraf merged commit 22c3355 into develop Apr 18, 2026
1 check failed
@roaraf roaraf deleted the 74-featureadd-description-logo-keyvalues-etc-to-charity-page branch April 18, 2026 17:32
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature/add description, logo, keyvalues etc. to charity page
1 participant