diff --git a/.github/ISSUE_TEMPLATE/new_contributor.yml b/.github/ISSUE_TEMPLATE/new_contributor.yml index 199ff521..03a87c30 100644 --- a/.github/ISSUE_TEMPLATE/new_contributor.yml +++ b/.github/ISSUE_TEMPLATE/new_contributor.yml @@ -46,7 +46,7 @@ body: attributes: label: Have you read our guides? options: - - label: "Getting Started Guide (see docs/GETTING_STARTED_CONTRIBUTING.md)" + - label: "Contributing guide (see CONTRIBUTING.md)" required: true - label: "Architecture Guide (see docs/ARCHITECTURE.md)" required: true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b168fda2..4bf05be3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,72 +1,67 @@ # Contributing to BetterSEQTA+ -Hey there! π Thanks for your interest in contributing to BetterSEQTA+! We're excited to have you join our community of contributors. +Thanks for helping out! For anything bigger than a small fix, open an issue or ask in [Discord](https://discord.gg/YzmbnCDkat) first so we can agree on the approach. -## π New Contributors Start Here! +## Setup -**Never contributed to an open source project before?** No worries! We've made it super easy to get started: +You need Node.js 26+, Git and a Chromium browser (Chrome, Edge or Brave). -- **π Read our [contributing guide](https://docs.betterseqta.org/contributing/)** - This walks you through everything step-by-step, from setting up your development environment to making your first pull request. -- **ποΈ Understand the codebase** with the [architecture guide](https://docs.betterseqta.org/architecture/) -- **π§ Having issues?** Check the [troubleshooting guide](https://docs.betterseqta.org/troubleshooting/) +```bash +git clone https://github.com/YOUR_USERNAME/BetterSEQTA-Plus.git +cd BetterSEQTA-Plus +npm install +npm run dev +``` -We have lots of [`good first issue`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/good%20first%20issue) labels that are perfect for beginners! +Then load the extension: -## Discussion Before Contributing +1. Open `chrome://extensions` and turn on Developer mode. +2. Click **Load unpacked** and pick the `dist/chrome` folder. +3. Open a SEQTA Learn page. -For significant changes, please first discuss what you'd like to change via: -- Opening an issue -- Joining our Discord server -- Emailing the maintainers +For Firefox, run `npm run dev:firefox` and load `dist/firefox` from `about:debugging`. -This helps ensure your contribution aligns with the project's goals and saves you time! +## Project layout -## Community +| Path | What's in it | +|------|--------------| +| `src/SEQTA.ts` | Content script entry point | +| `src/background.ts`, `src/background/` | Service worker | +| `src/seqta/` | Everything injected into SEQTA pages | +| `src/interface/` | Settings popup and theme store (Svelte) | +| `src/plugins/` | Plugin system and built-in plugins | +| `src/css/` | Injected styles and the shared Tailwind setup | +| `lib/`, `scripts/` | Vite plugins and build scripts | -Join our community channels to discuss the project, get help, and connect with other contributors: +[ARCHITECTURE.md](docs/ARCHITECTURE.md) goes into more detail. -- **Discord Server**: [Join our Discord](https://discord.gg/YzmbnCDkat) -- **GitHub Discussions**: For longer-form conversations -- **GitHub Issues**: For bug reports and feature requests +## Making changes -## Creating Plugins +1. Branch from `main`, e.g. `git checkout -b fix/timetable-colours`. +2. Keep each PR to one change and match the style of the surrounding code. +3. Add tests for logic changes. +4. Before opening the PR, check everything passes: -If you're interested in creating plugins for BetterSEQTA+, check out our plugin development guides: + ```bash + npm run lint + npm test + npm run build + ``` + +5. Use short conventional commit messages: `feat:`, `fix:`, `chore:`, `docs:`. +6. Open the PR and fill in the template. + +## Issues + +Search [existing issues](https://github.com/BetterSEQTA/BetterSEQTA-Plus/issues) before opening a new one, and use the issue forms. [`good first issue`](https://github.com/BetterSEQTA/BetterSEQTA-Plus/labels/good%20first%20issue) and [`help wanted`](https://github.com/BetterSEQTA/BetterSEQTA-Plus/labels/help%20wanted) are good places to start. Issues aren't assigned, so just open a PR when you have a fix. + +## Plugins - [Plugin development](https://docs.betterseqta.org/plugin-development/) - [Plugin API](https://docs.betterseqta.org/plugin-api/) -## Pull Request Process +## More docs -1. It is recommended to start by opening an issue to discuss the change you wish to make. This will allow us to discuss the change and ensure it is a good fit for the project. -2. Fork the repo and create your branch from `main`. -3. When writing your pull request, make sure to use the pull request template. - -### Pull Request Template - -``` -## Description - -Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. - -Fixes # (issue) - -## Type of change - -Please delete options that are not relevant. - -- [ ] Bug fix (non-breaking change which fixes an issue) -- [ ] New feature (non-breaking change which adds functionality) -- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) -- [ ] This change requires a documentation update -``` - -### Issues - -#### Create a new issue - -If you spot a problem with the readme or code, [search if an issue already exists](https://github.com/BetterSEQTA/BetterSEQTA-Plus/issues). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/BetterSEQTA/BetterSEQTA-Plus/issues/new). - -#### Solve an issue - -Scan through our [existing issues](https://github.com/BetterSEQTA/BetterSEQTA-Plus/issues) to find one that interests you. You can narrow down the search using `labels` as filters. As a general rule, we donβt assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix. +- [Troubleshooting](docs/TROUBLESHOOTING.md) +- [Releases and CI](docs/RELEASES.md) +- [Theme creation](docs/THEME_CREATION.md) diff --git a/docs/GETTING_STARTED_CONTRIBUTING.md b/docs/GETTING_STARTED_CONTRIBUTING.md deleted file mode 100644 index 523f3205..00000000 --- a/docs/GETTING_STARTED_CONTRIBUTING.md +++ /dev/null @@ -1,287 +0,0 @@ -# Getting Started as a Contributor - -**Published version:** [docs.betterseqta.org/contributing/](https://docs.betterseqta.org/contributing/) - -Welcome to BetterSEQTA+! π This guide will walk you through making your first contribution, even if you're completely new to the project. - -## Table of Contents - -- [Before You Start](#before-you-start) -- [Your First 30 Minutes](#your-first-30-minutes) -- [Making Your First Contribution](#making-your-first-contribution) -- [Types of Contributions](#types-of-contributions) -- [Finding Something to Work On](#finding-something-to-work-on) -- [Development Workflow](#development-workflow) -- [Getting Help](#getting-help) - -## Before You Start - -### What You'll Need -- **Node.js** (v26 or higher) - [Download here](https://nodejs.org/) -- **Git** - [Download here](https://git-scm.com/) -- **A code editor** - We recommend [VS Code](https://code.visualstudio.com/) -- **A Chromium browser** (Chrome, Edge, Brave) for testing (recommended, however you can use firefox although it requires being built every time you make a change) - -### Helpful Background (but not required!) -- Basic JavaScript/TypeScript knowledge -- Some familiarity with HTML/CSS -- Understanding of browser extensions (we'll teach you!) - -**Don't worry if you're missing some of these!** We're happy to help you learn. π€ - -## Your First 30 Minutes - -Let's get you up and running quickly: - -### 1. Get the Code (3 minutes) -```bash -# Fork the repository on GitHub first, then: -git clone https://github.com/YOUR_USERNAME/BetterSEQTA-plus.git -cd BetterSEQTA-plus -``` - -### 2. Install Dependencies (3 minutes) -```bash -npm install -``` - -### 3. Start Development Server (2 minutes) -```bash -npm run dev -``` - -### 4. Load Extension in Browser (4 minutes) -1. Open Chrome and go to `chrome://extensions` -2. Enable "Developer mode" (toggle in top right) -3. Click "Load unpacked" -4. Select the `dist` folder in your project -5. Visit a SEQTA Learn page to see BetterSEQTA+ in action! - -### 5. Make a Tiny Change (5 minutes) -Let's prove everything works: -1. Open `src/SEQTA.ts` -2. Find the line that says `"[BetterSEQTA+] Successfully initialised"` -3. Change it to `"[BetterSEQTA+] Successfully initialised - Hello [YOUR_NAME]!"` -4. Save the file -5. Go to `chrome://extensions`, click the refresh icon on BetterSEQTA+ -6. Refresh a SEQTA page and check the browser console (F12) - you should see your message! - -### 6. Reset Your Change (3 minutes) -```bash -git checkout -- src/SEQTA.ts -``` - -**Congratulations! π You've successfully set up BetterSEQTA+ for development!** - -## Making Your First Contribution - -### Easy First Contributions - -Here are some great starter contributions: - -1. **Fix a typo in documentation** - Super easy and always appreciated! -2. **Improve error messages** - Make them more helpful -3. **Add comments to code** - Help other contributors understand -4. **Create a simple plugin** - Follow our plugin guide -5. **Fix a bug you found** - If you found a bug, fix it! - -### Step-by-Step: Your First Pull Request - -#### Step 1: Pick an Issue -- Go to our [Issues page](https://github.com/BetterSEQTA/BetterSEQTA-plus/issues) -- Look for labels like: - - `good first issue` - Perfect for beginners - - `help wanted` - We'd love help with these - - `documentation` - Improve our docs - - `bug` - Fix something broken - -#### Step 2: Claim the Issue -Comment on the issue saying "I'd like to work on this!" We'll assign it to you. - -#### Step 3: Create a Branch -```bash -git checkout -b fix-issue-123 # Replace 123 with the issue number -``` - -#### Step 4: Make Your Changes -- Follow the patterns you see in existing code -- Test your changes thoroughly -- Keep changes focused and small - -#### Step 5: Test Everything -```bash -# Test the extension still loads -npm run dev - -# Test in browser -# 1. Reload extension at chrome://extensions -# 2. Visit SEQTA page -# 3. Verify everything still works -``` - -#### Step 6: Commit Your Changes -```bash -git add . -git commit -m "Fix issue #123: Brief description of what you fixed" -``` - -#### Step 7: Push and Create Pull Request -```bash -git push origin fix-issue-123 -``` - -Then go to GitHub and create a pull request with: -- **Clear title**: "Fix issue #123: Brief description" -- **Description**: Explain what you changed and why -- **Testing**: Describe how you tested it - -## Types of Contributions - -### π Bug Fixes -- Fix broken features -- Improve error handling -- Resolve compatibility issues - -**Example**: "The theme selector doesn't work on Firefox" - -### β¨ New Features -- Add new plugins -- Enhance existing functionality -- Improve user experience - -**Example**: "Add keyboard shortcuts for common actions" - -### π Documentation -- Fix typos and unclear explanations -- Add examples and tutorials -- Improve code comments - -**Example**: "Add more examples to the plugin guide" - -### π¨ Design & UI -- Improve the settings interface -- Make things more user-friendly -- Add animations and polish - -**Example**: "Make the theme creator more intuitive" - -### π§ Technical Improvements -- Refactor code for clarity -- Add tests -- Improve performance - -**Example**: "Simplify the plugin loading logic" - -## Finding Something to Work On - -### Browse Issues by Label -- [`good first issue`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/good%20first%20issue) - Perfect for beginners -- [`help wanted`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/help%20wanted) - We need help with these -- [`documentation`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/documentation) - Improve our docs -- [`bug`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/bug) - Fix something broken -- [`enhancement`](https://github.com/BetterSEQTA/BetterSEQTA-plus/labels/enhancement) - Add new features - -### Create Your Own Issue -Found a bug or have an idea? Create an issue first to discuss it! - -### Plugin Ideas -Want to create a plugin? Here are some ideas: -- **Study Timer**: Track study time across SEQTA pages -- **Grade Tracker**: Better visualization of grades over time -- **Quick Notes**: Add notes to any SEQTA page -- **Homework Reminder**: Smart notifications for upcoming due dates -- **Custom Shortcuts**: User-defined keyboard shortcuts - -## Development Workflow - -### Daily Development -```bash -# Start working -git pull origin main -npm run dev - -# Make changes, test, commit -git add . -git commit -m "Descriptive commit message" - -# Push when ready -git push origin your-branch-name -``` - -### Before Submitting PR -1. **Test thoroughly** - Make sure nothing breaks -2. **Check console** - No new errors -3. **Test in different browsers** - Chrome and Firefox -4. **Update documentation** - If you changed how something works - -### Code Style -- Use TypeScript where possible -- Follow existing naming conventions -- Add comments for complex logic -- Keep functions small and focused - -## Getting Help - -### Stuck? Here's How to Get Unstuck - -1. **Check the docs** - The [architecture guide](https://docs.betterseqta.org/architecture/) explains everything -2. **Search existing issues** - Someone might have had the same problem -3. **Ask in Discord** - Our community is super helpful -4. **Create an issue** - If you found a bug or need help - -### Discord Community -Join our [Discord server](https://discord.gg/YzmbnCDkat) for: -- Real-time help and discussion -- Collaboration on features -- Sharing ideas and feedback -- Getting to know the community - -### Code Review Process -- All contributions need code review -- We'll provide helpful feedback -- Don't worry about making mistakes - we're here to help! -- Reviews usually happen within 24-48 hours - -## Common Questions - -**Q: I'm new to browser extensions. Is this too advanced for me?** -A: Not at all! We have lots of beginner-friendly issues, and our plugin system makes it easy to add features without understanding all the browser extension complexities. - -**Q: How long does it take to get my first PR merged?** -A: For simple fixes, usually 1-3 days. For larger features, it might take a week or two as we discuss the best approach. - -**Q: I made a mistake in my PR. What do I do?** -A: No worries! Just push more commits to the same branch and they'll be added to your PR automatically. - -**Q: Can I work on multiple issues at once?** -A: It's better to focus on one issue at a time, especially when starting out. This makes code review easier and reduces conflicts. - -**Q: What if I start working on something and get stuck?** -A: Ask for help! Create a draft PR with what you have so far, and we'll help you figure out the next steps. - -## Recognition - -All contributors get: -- Recognition in our README -- Contributor badge in Discord -- Our eternal gratitude! π - -Significant contributors may also get: -- Special Discord roles -- Input on project direction -- Maintainer status - -## Next Steps - -Ready to contribute? Here's what to do: - -1. β **Set up your development environment** (follow the 30-minute guide above) -2. π **Find an issue to work on** (check the "good first issue" label) -3. π¬ **Join our Discord** and introduce yourself -4. π **Make your first contribution** and submit a PR - -Remember: **Every expert was once a beginner!** We're excited to help you learn and grow as a contributor. Welcome to the team! π - ---- - -*Questions? Suggestions for improving this guide? Open an issue or message us on Discord!* \ No newline at end of file diff --git a/docs/contributing.md b/docs/contributing.md deleted file mode 100644 index 7f5096a3..00000000 --- a/docs/contributing.md +++ /dev/null @@ -1,290 +0,0 @@ -# Contributing to BetterSEQTA+ - -**Published version:** [docs.betterseqta.org/contributing/](https://docs.betterseqta.org/contributing/) - -Thank you for your interest in contributing to BetterSEQTA+! This document provides guidelines and instructions for contributing to the project. - -## Table of Contents - -- [Code of Conduct](#code-of-conduct) -- [Getting Started](#getting-started) - - [Setting Up Your Development Environment](#setting-up-your-development-environment) - - [Project Structure](#project-structure) -- [Contributing Code](#contributing-code) - - [Branching Strategy](#branching-strategy) - - [Pull Request Process](#pull-request-process) - - [Coding Standards](#coding-standards) -- [Reporting Bugs](#reporting-bugs) -- [Suggesting Features](#suggesting-features) -- [Writing Documentation](#writing-documentation) -- [Community](#community) - -## Code of Conduct - -BetterSEQTA+ is committed to providing a welcoming and inclusive environment for all contributors. We expect all participants to adhere to our Code of Conduct, which promotes respectful and harassment-free interaction. - -Key points: - -- Be respectful and inclusive -- Focus on what is best for the community -- Show empathy towards other community members -- Be open to constructive feedback - -## Getting Started - -### Setting Up Your Development Environment - -1. **Fork the Repository** - - Start by forking the BetterSEQTA+ repository to your GitHub account. - -2. **Clone Your Fork** - - ```bash - git clone https://github.com/yourusername/betterseqta-plus.git - cd betterseqta-plus - ``` - -3. **Install Dependencies** - - ```bash - npm install - ``` - -4. **Set Up Development Environment** - - ```bash - npm run dev - ``` - -5. **Install in Chrome/Firefox** - - Follow the [installation instructions](https://docs.betterseqta.org/install/) to load the development version into your browser. - -### Project Structure - -Understanding the project structure will help you navigate the codebase: - -``` -betterseqta-plus/ -βββ src/ # Source code -β βββ plugins/ # Plugin system -β β βββ built-in/ # Built-in plugins -β β βββ core/ # Plugin core functionality -β βββ settings/ # Settings system -β βββ utils/ # Utility functions -β βββ extension/ # Browser extension code -βββ docs/ # Documentation -βββ test/ # Test files -βββ dist/ # Build output (generated) -βββ package.json # Project dependencies -βββ tsconfig.json # TypeScript configuration -βββ README.md # Project README -``` - -## Contributing Code - -### Branching Strategy - -We follow a simple branching strategy: - -- `main` - The main development branch -- `feature/*` - Feature branches -- `bugfix/*` - Bug fix branches -- `docs/*` - Documentation branches - -Always create a new branch for your changes: - -```bash -git checkout -b feature/my-new-feature -``` - -### Pull Request Process - -1. **Keep PRs Focused** - - Each pull request should address a single concern. If you're working on multiple features, create separate PRs for each. - -2. **Write Clear Commit Messages** - - Follow the conventional commits format: - - ``` - feat: add new feature - fix: resolve bug with timetable - docs: update installation instructions - ``` - -3. **Update Documentation** - - If your changes require documentation updates, include them in the same PR. - -4. **Run CI checks locally** - - Pull requests trigger **PR CI**, which lints and builds in a clean environment: - - ```bash - npm run lint - npm run build - ``` - -5. **Submit Your PR** - - When you're ready, push your branch and create a pull request on GitHub. - -6. **Code Review** - - All PRs will be reviewed by maintainers. Be responsive to feedback and make requested changes. - -7. **Merge** - - Once approved, a maintainer will merge your PR. - -### GitHub Actions workflows - -See [RELEASES.md](RELEASES.md) for a full guide (workflows, sideload installs, and update detector). - -| Workflow | Trigger | Purpose | -|----------|---------|---------| -| `pr-ci.yml` | Every PR to `main` | Typecheck, lint, and build (no release) | -| `mvp.yml` | Push to `main` | Build and upload `dist.zip` artifact | -| `release.yml` | Manual (`workflow_dispatch`) | Stable release on [BetterSEQTA/BetterSEQTA-Plus](https://github.com/BetterSEQTA/BetterSEQTA-Plus) tagged with `package.json` version | -| `nightly.yml` | Daily cron + manual | Updates the fixed `nightly` prerelease with latest `main` builds | - -**Releasing a stable version:** bump `version` in `package.json` on `main`, then manually run the **Release** workflow and confirm the version checkbox. Edit the release title and notes on GitHub after the first publish. Re-running for the same tag only updates the zip files. Assets are `betterseqtaplus-{version}-chrome.zip` and `-firefox.zip`. - -**Nightly builds** replace assets on the same `nightly` release. The release body warns that builds are experimental and must not be uploaded to extension stores. - -**GitHub release builds** include an in-extension update checker (settings header badge). **PR CI and local dev builds do not.** - -Release workflows are dispatched only on the main **BetterSEQTA/BetterSEQTA-Plus** repository and use the default `GITHUB_TOKEN`. - -### Coding Standards - -We follow TypeScript best practices and have a consistent code style: - -1. **Use TypeScript** - - All new code should be written in TypeScript with proper typing. - -2. **Follow Existing Patterns** - - Match the coding style of the existing codebase. - -3. **Write Tests** - - Add tests for new features and bug fixes. - -4. **Document Your Code** - - Add comments for complex logic and JSDoc comments for functions. - -5. **Use Linters** - - We use ESLint and Prettier. Run them before submitting your PR: - - ```bash - npm run lint - npm run format - ``` - -## Reporting Bugs - -If you find a bug, please report it by creating an issue on GitHub: - -1. **Search Existing Issues** - - Check if the bug has already been reported. - -2. **Use the Bug Report Template** - - Fill in all sections of the bug report template: - - - Description - - Steps to reproduce - - Expected behavior - - Actual behavior - - Screenshots (if applicable) - - Environment (browser, OS, etc.) - -3. **Be Specific** - - The more details you provide, the easier it will be to fix the bug. - -## Suggesting Features - -We welcome feature suggestions! To suggest a new feature: - -1. **Search Existing Suggestions** - - Check if your idea has already been suggested. - -2. **Use the Feature Request Template** - - Fill in all sections of the feature request template: - - - Description - - Use case - - Potential implementation - - Alternatives considered - -3. **Be Patient** - - Feature requests are evaluated based on alignment with project goals, feasibility, and maintainer bandwidth. - -## Writing Documentation - -Good documentation is crucial for the project. To contribute to documentation: - -1. **Identify Gaps** - - Look for areas where documentation is missing or unclear. - -2. **Follow Documentation Style** - - Maintain a consistent style and format. - -3. **Use Clear Language** - - Write in simple, clear English. Avoid jargon when possible. - -4. **Include Examples** - - Code examples and screenshots help users understand. - -5. **Submit a PR** - - Follow the same process as code contributions, but create a branch with a `docs/` prefix. - -## Community - -Join our community channels to discuss the project, get help, and connect with other contributors: - -- **Discord Server**: [Join our Discord](https://discord.gg/betterseqta) -- **GitHub Discussions**: For longer-form conversations -- **GitHub Issues**: For bug reports and feature requests - -## Creating Plugins - -If you're interested in creating plugins for BetterSEQTA+, check out our plugin development guides: - -- [Plugin development](https://docs.betterseqta.org/plugin-development/) -- [Plugin API](https://docs.betterseqta.org/plugin-api/) - -## Recognition - -Contributors are recognized in several ways: - -1. **CONTRIBUTORS.md**: All contributors are listed in this file -2. **Release Notes**: Significant contributions are highlighted in release notes -3. **Community Recognition**: Regular shout-outs in community channels - -## Questions? - -If you have any questions about contributing, please: - -1. Check the documentation -2. Ask in the Discord server -3. Open a GitHub Discussion - -Thank you for contributing to BetterSEQTA+! Your efforts help make SEQTA better for students and teachers everywhere. diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 03bdd214..17ba5428 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -19,7 +19,7 @@ import { notifyRemoteConfigPageContext, ensureKilledModeSettingsAccess, } from "@/seqta/utils/remoteConfig/runtime"; -import { runStartupPopupQueue } from "@/seqta/utils/Openers/StartupPopupQueue"; +import { runStartupPopupQueue } from "@/seqta/utils/openers/StartupPopupQueue"; function registerFetchSeqtaAppLinkListener() { browser.runtime.onMessage.addListener((request, _sender, sendResponse) => { diff --git a/src/background/customThemesHandlers.ts b/src/background/customThemesHandlers.ts index 2a8c6c10..47291d3d 100644 --- a/src/background/customThemesHandlers.ts +++ b/src/background/customThemesHandlers.ts @@ -1,5 +1,6 @@ import { normalizeCustomThemeApiResponse } from "@/seqta/utils/customThemes/parseApiEnvelope"; import { bsplusApiQueryParams } from "@/seqta/utils/bsplusClientContext"; +import { base64ToBlob } from "@/seqta/utils/base64"; type MessageSender = { (response?: unknown): void }; @@ -16,13 +17,6 @@ type UploadPayload = { submissionNotes?: string; }; -function base64ToBlob(base64: string, mimeType: string): Blob { - const binary = atob(base64); - const bytes = new Uint8Array(binary.length); - for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i); - return new Blob([bytes], { type: mimeType }); -} - function buildFormDataFromPayload(payload: UploadPayload): FormData { const form = new FormData(); if (payload.themeZip) { diff --git a/src/exampleprivacyresponse.json b/src/exampleprivacyresponse.json deleted file mode 100644 index e51df1e0..00000000 --- a/src/exampleprivacyresponse.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "last_updated": "2024-06-15T12:00:00Z", - "whatsnew_html": "
It has come to our attention that several schools have expressed concerns about BetterSEQTA+. This is very disheartening, so we have decided to release a statement on the situation.
To view our privacy policy, please click the shield icon in the settings menu, or click here.
We never collect any information from you, and aim to provide the best features possible.