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

Opfs #3

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Opfs #3

merged 3 commits into from
Jan 16, 2025

Conversation

voluntas
Copy link
Owner

This pull request includes several changes to the index.html and src/main.mts files to improve functionality and update button references. The most important changes involve renaming buttons, updating the database initialization process, and modifying the handling of Parquet files.

Button and element updates:

  • index.html: Renamed buttons from "Scan Parquet" to "Fetch Parquet" and "Clear" to "Purge".
  • src/main.mts: Updated button references to match the new names using querySelector instead of getElementById. [1] [2]

Database and file handling improvements:

  • src/main.mts: Added code to open the database with read-write access and handle Parquet file reading more effectively. [1] [2]
  • src/main.mts: Simplified the process of reading and updating the status of Parquet files, removing unnecessary steps and ensuring the table creation process is more robust.

Button event handling:

  • src/main.mts: Updated event listeners for the renamed buttons to reflect the new functionality, including the new "Fetch Parquet" and "Purge" actions. [1] [2]

@voluntas voluntas merged commit 2f418cd into main Jan 16, 2025
2 checks passed
@voluntas voluntas deleted the opfs branch January 16, 2025 11:44
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.

1 participant