Commit graph

22 commits

Author SHA1 Message Date
Alec Armbruster
80e2c9602e
Admin Settings: Bugfixes (#1313)
* move loading state to AdminSettings, pass as prop, tweak margin on some labels, add missing bind

* default loading state to false on setup.tsx, add util

* rename util to make more sense

* make @dessalines suggested changes
2023-06-16 11:52:47 -04:00
SleeplessOne1917
2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
James Whitmarsh
0754b9ba19 Refactor lets to consts 2023-06-05 22:31:12 +01:00
abias
cf58a0c451 Allow user to submit rate limit changes 2023-05-21 12:40:22 -04:00
abias
2e3c1a6cfa Put rate limit options in its own tab 2023-05-21 09:07:22 -04:00
abias
b1a7a679f0 Refactor tabs into reuseable component 2023-05-20 15:39:12 -04:00
Dessalines
c5fd084577
Using auto-generated types from ts-rs. (#1003)
* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.
2023-05-11 14:32:32 -04:00
Anon
16cb506147
Optimize Tagline Form page (#972)
* Move taglines to its own tab. Optimize for editing.

* Small fix

* null -> undefined
2023-03-30 16:36:57 -04:00
4499579380 Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis 2023-03-27 12:49:46 -04:00
Anon
1f15ea5aa8 Add Custom Emoji Support 2023-02-26 11:22:05 -06:00
Dessalines
b64f47cfe9
Removing monads. Fixes #884 (#886)
* Removing monads. Fixes #884

* Fixing post fetching.

* Dont show not_logged_in error for navbar.

* Adding the lemmy-js-client RC.

* Fixing registration application mode
2023-01-04 11:56:24 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
umamawme
d412baf758
Change for container divs to container-lg (#813)
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
2022-10-03 14:16:36 -04:00
Dessalines
6320357d21
Upgrade inferno v8.0.0 try2 (#790)
* Upgrade non-breaking deps.

* Upgrade to Inferno v8. Fixes #731

* Upgrading inferno-i18next-dess
2022-09-22 11:03:35 -04:00
Dessalines
75d52f1e4e
Removing save and read config hjson. Fixes #695 (#696) 2022-06-23 10:05:56 -04:00
Dessalines
d905c91e1b
Adding option types 2 (#689)
* Not working, because of wrong API types.

* Adding Rust-style Result and Option types.

- Fixes #646

* Updating to use new lemmy-js-client with Options.
2022-06-21 17:42:29 -04:00
Dessalines
36297366fa
Legal info dess (#666)
* Add legal information (fixes #652)

* add legal_info field to SiteForm, add missing file

* Moving legal to SiteForm.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2022-05-26 16:48:58 -04:00
Dessalines
d4ca2085ad
Add default post listing (#645)
* Fix local development.

* Updating translations.

* Adding default site post listing. Fixes #625
2022-05-23 15:19:14 -04:00
Dessalines
2d1111fa74
Fixing initial loading of admin page. Fixes #635 (#638) 2022-04-27 19:09:36 +00:00
Dessalines
399149b278
Don't allow transfer site. (#551)
* Don't allow transfer site.

* Updating translations.

* Adding leave admin team.
2022-02-14 12:27:43 -05:00
Dessalines
4915193ae5
Temp bans (#524)
* Updating translations.

* Adding temp bans.

* Using new lemmy-js-client with temp bans

* Fixing some lint and dep issues
2022-01-09 12:53:11 -05:00
Dessalines
eed07b66aa
Re-organized components folder. (#339)
* Fixing too many large spinners

* Re-organized components folder.

- Cleaned up spans. Fixes #173
- Fixes #320

* Fixing miscolored edit
2021-07-17 16:42:55 -04:00
Renamed from src/shared/components/admin-settings.tsx (Browse further)