Commit graph

13 commits

Author SHA1 Message Date
Maxim Slipenko
d7e9b679be chore: fix lint-frontend errors 2026-03-21 11:55:19 +03:00
Maxim Slipenko
0e6c8902ca feat: add pull request suggestions via !
see https://codeberg.org/forgejo/forgejo/pulls/8088/files#issuecomment-10652669
2026-03-21 11:28:00 +03:00
Maxim Slipenko
0b60761a6c fix: migrate to querying by keyword 2026-01-18 11:32:38 +03:00
Maxim Slipenko
6495ff7e16 chore: fix lint-frontend checks 2026-01-14 17:08:26 +03:00
Maxim Slipenko
77987efcb6 Merge branch 'forgejo' into port-32327 2025-09-26 10:20:51 +03:00
Gusted
fe5f16205f
feat: make text expander aware of custom emojis
The old MDE editor is aware of custom emojis and shows them as
suggestions, but the new text expander is not aware of them and seems to
re-implement some logic.

Simplify it by using what `emoji.js` already provides.

Custom emojis require a bit more work to get shown correctly (HTML and
adding a `gap` to fake a space).
2025-08-10 23:11:41 +02:00
Maxim Slipenko
e8145e3297 refactor 2025-06-15 21:00:57 +03:00
Maxim Slipenko
922cd52f1b fix lint errors 2025-06-07 19:21:15 +03:00
Maxim Slipenko
8d30b52fc1 exclude current issue from suggestion 2025-06-07 19:17:00 +03:00
Maxim Slipenko
6e2c72cd70 fix: use another method for suggestions 2025-06-07 18:21:41 +03:00
Maxim Slipenko
3d4372c8bf feat: add issue suggestions 2025-06-06 01:25:07 +03:00
silverwind
f47744c3f1
Update JS dependencies, remove space after emoji completion (#25266)
- Update all JS dependencies
- Enable stylint
[`media-feature-name-value-no-unknown`](https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown)
- Make use of new features in webpack and text-expander-element
- Tested Swagger and Mermaid

To explain the `text-expander-element` change: Before this version, the
element added a unavoidable space after emoji completion. Now that
https://github.com/github/text-expander-element/pull/36 is in, we gain
control over this space and I opted to remove it for emoji completion
and retain it for `@` mentions.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-06-18 08:38:47 +00:00
yp05327
c4303efc23
Support markdown editor for issue template (#24400)
Fixes #24398

Task:
- [x] Reusing "textarea" like GitHub seems more friendly to users.
- [x] ^V image pasting and file uploading handling.

<details><summary>screenshots</summary>


![image](https://user-images.githubusercontent.com/18380374/235418877-00090552-ebda-411c-8e39-b47246bc8746.png)

![image](https://user-images.githubusercontent.com/18380374/235419073-dc33cad7-7626-4bce-9161-eb205c7384b5.png)
Display only one markdown editor:

![image](https://user-images.githubusercontent.com/18380374/235419098-ee21386d-2b2d-432e-bdb2-18646cc031e7.png)
Support file upload and ^V image pasting

![image](https://user-images.githubusercontent.com/18380374/235419364-7b390fa4-da56-437d-b55e-3847fbc049e7.png)

</details>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-05-08 22:22:52 +00:00