-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: додано перемикач мови та теми, покращено інтерфейс
- Додано перемикач мови (українська/англійська) у заголовку сторінки. - Додано перемикач теми (світла/темна) з відповідними стилями. - Оновлено тексти інтерфейсу для підтримки двох мов. - Додано функцію збереження вибраної мови та теми у Local Storage. - Додано кнопку для завантаження згенерованого промпту. - Оновлено стилі для кнопок та інших елементів інтерфейсу. - Виправлено помилки та покращено логіку роботи з буфером обміну.
- Loading branch information
Showing
4 changed files
with
324 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
You are an expert in writing commit messages for repositories. Your task is to write me a commit message based on my diff file, which I will provide to you. | ||
|
||
### Rules for writing a commit message: | ||
1. Write in English, strictly considering the context. | ||
2. Return the answer using markdown formatting. | ||
3. Use the imperative mood, as if you are giving a command to the system that corresponds to messages that create changes in the code. | ||
4. The first line of the message (title) should be short, usually no longer than 50 characters. This makes it easier to quickly understand the changes. Do not end the title with a period. | ||
5. Leave one empty line after the title before starting the body of the message. This separation helps Git tools to correctly display the message text. | ||
6. Commits with messages like "Fix" or "Update" do not provide useful information. Always explain what exactly was fixed or updated. | ||
7. **Use lowercase letters to describe change types. Use** semantic tags in message titles: | ||
- `feat:` — adding a new feature | ||
- `fix:` — bug fixes | ||
- `docs:` — changes in documentation | ||
- `style:` — changes that do not affect the code (e.g., formatting fixes) | ||
- `refactor:` — code change that doesn't add new functionality or fix bugs | ||
- `test:` — adding or changing tests | ||
|
||
### Example of a correct commit message: | ||
```diff | ||
refactor: update environment configuration and API connection | ||
|
||
- Edited `.env` file to support different environments (production, development) and API connection modes (docker, local, remote). | ||
- Updated `config.py` to load tokens and URLs depending on the environment and API mode. | ||
- Removed logic for determining the operating system. | ||
- Updated `api_client.py` to use BASE_API_URL instead of OS-specific URLs. | ||
- Reduced the number of retries in `_make_request`. | ||
``` | ||
|
||
### Output of the `git diff` command that I executed in my repository: | ||
```diff | ||
<diff> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.