Commit graph

25 commits

Author SHA1 Message Date
Johann150 a9c6e51051
client: implement small/center MFM functions
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline failed
Changelog: Added
2024-04-20 17:48:42 +02:00
Johann150 6bd42ab3f9
client: remove explore page
Changelog: Removed
2024-01-03 16:01:55 +01:00
Johann150 8b16ead35c
fix handling of plain MFM tag
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
2023-11-24 16:43:03 +01:00
Johann150 2d46cf7c1e
fixup! client: fix MFM overflow
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline failed
Turning the MFM render container into a div changes it to display
as a block which messes up rendering in some places, e.g. when
it is used to render user names in "Renoted by".
2023-06-27 22:26:13 +02:00
Johann150 ecca5a164e
client: always forbid MFM overflow
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
Some MFM overlays UI components. This should remove any possibility that
rendered MFM escapes a Note's body.

Changelog: Changed
2023-06-25 18:41:08 +02:00
Johann150 989f0ce41d
fix MFM fg/bg color regex
CSS colors are either 3 or 6 hex digits, not 3 to 6 (which would allow
4 and 5 digit hex codes, which are not accepted).

Also adds an explicit null/undefined check.

Changes the default color for the $[bg ] function to something different
than the fg color so if you use both functions on a piece of text with
default values, the text stays somewhat readable.
2023-05-27 12:12:29 +02:00
Johann150 3f9b09e3e7
simplify MFM position CSS 2023-05-27 12:12:29 +02:00
Johann150 a72f4300aa
remove unused rootScale and scale params 2023-05-27 12:12:29 +02:00
Puniko f6ff21ee53
update mfm-js lib 2023-05-27 12:12:28 +02:00
Puniko a45b611a7e
add fg and bg tag
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:12:13 +02:00
Puniko 11121bbb4c
add scale tag
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-27 12:10:34 +02:00
Puniko a16e921ffc
add position token
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:05:14 +02:00
Johann150 54d69ed49e
reduce opacity of small tag only once
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
fixes https://github.com/misskey-dev/misskey/issues/7852
2023-05-18 13:52:21 +02:00
Johann150 7e1ea09458
fix some lints
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
2023-05-07 17:12:04 +02:00
Johann150 63665e8bd1
client: replace array concat with Array.prototype.flat
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2023-02-04 00:33:23 +01:00
Johann150 6fd80816fa
client: remove unused property from MFM component
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2023-01-29 14:29:58 +01:00
Johann150 2520633210
client: move MFM animations to MFM component 2022-12-18 00:49:28 +01:00
Johann150 9abbe94108
client: search button is a no-op
Some checks failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
Don't be evil.
reference: #2 (comment)
2022-07-28 15:41:16 +02:00
syuilo 272b81f6e8
lint fixes 2022-07-13 10:16:57 +02:00
Johann150 60fd793bc3
enhance(MFM): limit large MFM (#8540)
* add CSS classes for zoom MFM

* limit nesting of x2, x3, x4 MFM

* simplify CSS calculation

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-19 20:38:14 +09:00
futchitwo 3ea351d8a2
Enhance(MFM): Allow speed changes in all animated MFMs (#8551)
* MFM: Allow speed changes in all animated MFMs

* Feature(MFM): Add speed property to cheat sheet

* Use template literal

Oops!

* Remove unnecessary template string

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:52:33 +09:00
syuilo b80ec1fa3f refactor 2022-03-01 21:36:20 +09:00
syuilo c537a0ba93 enhance(client): 2021-12-29 13:14:19 +09:00
Richard "EpicKitty" Bowey dec7c4f722
Implemented a rotate MFM (#8016)
Co-authored-by: Richard Bowey <me@epickitty.uk>
2021-11-26 13:39:57 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/client/components/mfm.ts (Browse further)