Commit Graph

36 Commits

Author SHA1 Message Date
Nikita Karamov 461487a85f
Make domains LTR 2024-02-12 19:26:34 +01:00
Nikita Karamov 8d44d9b4d4
Reduce amount of placeholders 2024-02-12 19:24:08 +01:00
Nikita Karamov c0ef8cac73
Use `dir="auto"` for big text paragraphs
This way, if some of them are untranslated, they will be displayed
properly
2024-02-12 18:46:07 +01:00
Nikita Karamov 3819048880
Improve language selector display 2024-01-20 16:42:01 +01:00
Nikita Karamov fa497c08d0
Improve CSS support for non-tbltr scripts 2024-01-20 16:34:48 +01:00
Nikita Karamov fc617ff4f5
Add support for script direction 2024-01-20 16:34:48 +01:00
Nikita Karamov e6c4c42590
Hide "Prevously used" if there are no previously used instances 2023-09-02 22:40:38 +02:00
Nikita Karamov 603871f20e
Improve a11y of language selector 2023-09-02 21:57:01 +02:00
Nikita Karamov 725d7316c4
Replace /api/share with / + errors 2023-09-02 21:57:01 +02:00
Nikita Karamov 9828b123d9
Move form to page 2023-09-02 21:57:00 +02:00
Nikita Karamov 6fdeee1269
Better API code structure 2023-09-02 21:57:00 +02:00
Nikita Karamov 4f3488c427
Add <noscript> to indicate that saving instances will not work 2023-09-02 21:57:00 +02:00
Nikita Karamov a5c41729c1
Update licence to AGPL-3.0-only 2023-09-02 21:57:00 +02:00
Nikita Karamov 7834875ae2
Translate licence and privacy policy 2023-09-02 21:56:56 +02:00
Nikita Karamov 0a6b2f7ae2
Rewrite licence and privacy as components 2023-09-02 21:56:55 +02:00
Nikita Karamov 89bb338065
Implement translations
See also: https://github.com/kytta/share2fedi/pull/43
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
2023-09-02 21:56:54 +02:00
Nikita Karamov 9dc393e529
Simplify HTML 2023-09-02 21:56:53 +02:00
Nikita Karamov e84fed7952
Load and cache popular instances 2023-09-02 21:56:52 +02:00
Nikita Karamov 870406209e
Rewrite nanostore for saved instances 2023-09-02 21:56:52 +02:00
Nikita Karamov eb185b7ea1
Update stylelint 2023-09-02 21:56:51 +02:00
Nikita Karamov 7c2b270789
Remove unnecessary .ts extension 2023-09-02 21:56:51 +02:00
Nikita Karamov 23fdf5ab07
Re-implement domain normalization 2023-09-02 21:56:50 +02:00
Nikita Karamov a5314e5923
Use nanostores for saving instances 2023-09-02 21:56:50 +02:00
Nikita Karamov 56db514d15
Extract form as a separate component 2023-09-02 21:56:50 +02:00
Nikita Karamov f0df611c16
Rearrange files 2023-09-02 21:56:50 +02:00
Nikita Karamov 9d59cad84b
Move script to a subfolder 2023-09-02 21:56:49 +02:00
Nikita Karamov cded0a9cbb
Move instance fetching to client 2023-09-02 21:56:49 +02:00
Nikita Karamov f5cbb082ed
Fix some typing errors 2023-09-02 21:56:48 +02:00
Nikita Karamov effac10b7e
Mention other networks 2023-09-02 21:56:47 +02:00
Nikita Karamov f811ba371d
Add copyright notices 2023-09-02 21:56:45 +02:00
Nikita Karamov 47c498ad2e
Re-implement prefilling instance and text 2023-09-02 21:56:44 +02:00
Nikita Karamov 3de15b1b4c
Re-implement saving instances
Also implements saving of multiple instances, which
closes https://github.com/kytta/share2fedi/issues/29
2023-09-02 21:56:44 +02:00
Nikita Karamov f2ba7d5324
Add a bit better error handling 2023-09-02 21:56:44 +02:00
Nikita Karamov 49a489d532
Re-implement pre-filling instances 2023-09-02 21:56:43 +02:00
Nikita Karamov 43d36bd6d7
Fix bug in datalist 2023-09-02 21:56:43 +02:00
Nikita Karamov d3fb510bbb
Rewrite the instance selector
This commit adds a new '/api/instances' endpoint that returns
the domains of the available Mastodon instances. This also changes the
input field, making it accept a host rather than the full domain.
2023-09-02 21:56:43 +02:00