Skip to content

Commit

Permalink
Merge pull request #3 from PHELAT/development
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
PHELAT authored Feb 24, 2024
2 parents dc4f91b + c0f1abc commit b0f7b25
Show file tree
Hide file tree
Showing 36 changed files with 3,463 additions and 1,914 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "prettier"]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ next-env.d.ts

# firebase
firebasekey.json

# Jetbrains
.idea
29 changes: 29 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# dependencies
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/dist
output-metadata.json

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
/.vscode/*
!/.vscode/extensions.json
.idea
.fleet

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Optional eslint cache
.eslintcache
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 1.2.0

### UI Changes

- Set minimum height for each row to be larger, so it's more accessible on touchscreen. 6dafa95110103da3e58dce68332bd4ca34ecc280
- Use Courier Prime as the default typeface. 7a3a616deb48793695e26ad40066e32e31a14165

### Infrastructure Changes

- Use the new next app router.
- Cache detail page response for 24 hours. This is due to the fact we don't update the content.

### Housekeeping

- Refactor the whole codebase for better performance, readability and maintainability.
- Format the whole project using Prettier. 21458e65ae16ef6f4b35c613a59168eb08eb06e7...ac2531005a328f92bc70c4b852abbcbf360b5ed3 a9f5a98caa2f53760fb5f70b1a6b75116b2be728

### Dependency Updates

- Update next to 14.1.0 a4524cc912e06fc2d56ee1cd1b3147baf4a1fbb4
- Update @vercel/edge-config to 1.0.2 17e80f01c7d896125d56a6c2698d83c9f58ec584
- Update firebase-admin to 11.11.1 a8c508c604c88824961b20b41d6117b8d8a75c21
- Update typescript to 5.3.3 43a432c47cda98e141dc0f6ef9ab7ffffefcf6f4
- Update autoprefixer to 10.4.17 804b6b54a306f308b1d2d5b154c6f10014816843
- Update eslint to 8.56.0 0f6adf15ccd73fa023a55e2b4d850ca93ad15b60
- Update postcss to 8.4.35 9bf12d7b296d47048f2f2eb3e02c29e59d8ededa
- Update tailwindcss to 3.4.1 11c8a9adef60712baaa731a90b19f6380fb51336

# v1.1.1

### Bug Fixes

- Support line breaks for jomleha. 33fdd1afdfd8ca21eb332a2026b733ae85f70bd2

# v1.1.0

### UX Changes

- Added support for LTR direction when it comes to showing LTR 'jomleh'. 9150f5a6c34b5e3e3072d36db1aa4c223b20486f
- Hid browser scrollbar in the detail screen. This is specially problematic on Windows OS, since the scrollbar is visible even in resting state. 10941a1ae583bec5bff7f5fd632c7a6add88921e

# v1.0.0

First release
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
![readmeyouwillregretitifyoudonotreadmeyouwillalsoregretit](https://raw.githubusercontent.com/PHELAT/jomleha.social/main/readmeyouwillregretitifyoudonotreadmeyouwillalsoregretit/jomleha.webp)

### Jomleha
Developed with Next.js and deployed on Vercel. Uses Firebase Firestore as its backing database. That's all. Oh, and you can find the [Admin Panel's source code here](https://github.com/PHELAT/panel.jomleha.social).

Developed with Next.js and deployed on Vercel. Uses Firebase Firestore as its backing database. That's all for now.

### Run Locally

1. Download your firebase cert file into project's root directory, and name it `firebasekey.json`.
2. Create a `.env` file(`.env.development.local` is recommended), and define a `FIREBASE_URL` environment variable pointing to your firestore database url.
2. Create a `.env.local` file and define a `FIREBASE_URL` environment variable pointing to your firestore database url.
3. Run:

```sh
npm install
npm run dev
```
This will run the app locally, usually at `http://localhost:3000`.

This will run the app locally at `http://localhost:3000`.
6 changes: 3 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
distDir: 'build',
}
distDir: "build",
};

module.exports = nextConfig
module.exports = nextConfig;
Loading

0 comments on commit b0f7b25

Please sign in to comment.