Skip to content

Add MIT License, update README, and improve CI workflow#114

Merged
mostafazh merged 7 commits into
TechForPalestine:mainfrom
mostafazh:claude/day-0-quick-wins-pr-ydk6wq
Jun 17, 2026
Merged

Add MIT License, update README, and improve CI workflow#114
mostafazh merged 7 commits into
TechForPalestine:mainfrom
mostafazh:claude/day-0-quick-wins-pr-ydk6wq

Conversation

@mostafazh

Copy link
Copy Markdown
Collaborator

This pull request introduces a new CI workflow, adds a license, and makes several improvements to the codebase and documentation. The most important changes are summarized below.


CI/CD and Licensing:

  • Added a new GitHub Actions workflow in .github/workflows/ci.yml to automate linting, type checking, and building the project on pushes and pull requests to main.
  • Added an MIT license in the LICENSE file to clarify project usage and distribution rights.

Dependency Management:

  • Removed unused dependencies browser-image-compression, child_process, and sharp from package.json to streamline the project. [1] [2]

Bug Fixes and Code Quality:

  • Fixed a typo by renaming the unsuportedBrowser state variable to unsupportedBrowser throughout src/app/page.tsx, and corrected the dependency arrays in useEffect hooks to prevent unnecessary re-renders. [1] [2] [3]

Documentation Updates:

  • Updated README.md to reflect the correct GitHub repository URL and directory name.
  • Improved feedback instructions in the UI to direct users to the correct GitHub Issues page, consolidating feedback and bug reporting links.

claude added 7 commits June 9, 2026 00:48
README claimed an MIT license but no LICENSE file existed, which defaults
the repo to 'all rights reserved' and blocks institutional adoption. Uses
TechForPalestine's official MIT license text.
The clone command and project directory referenced the old repo name
'palestine-pfp-maker', which 404s. Update both to 'profile-pic-maker'.
Drop three dependencies with zero imports anywhere in src/:
- child_process: an npm squatter, not the Node built-in
- sharp: server-only, unreferenced
- browser-image-compression: unreferenced

Keeps html2canvas, which is earmarked for the pending Linux download fix.
Runs on pull requests and pushes to main. A fresh, version-current
workflow rather than the stale community CI PR.
Both effects run once on mount, but their dependency arrays referenced the
state they set (unsuportedBrowser, gazaStatusSummary). Use [] to avoid a
latent re-run/re-fetch hazard.
Rename the misspelled state variable to unsupportedBrowser (the setter was
already correctly spelled).
… link

The landing page had two separate footer links: a 'feedback' link pointing
to a personal X account (x.com/sohafidz) and a 'report bugs' link pointing
to an outdated repo URL. Merge them into one link to the GitHub issues
tracker, so feedback, questions, and bug reports all route to a TFP-owned,
shared, archived inbox.

Closes TechForPalestine#14.
@mostafazh mostafazh merged commit d6a0867 into TechForPalestine:main Jun 17, 2026
1 check passed
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