]> Untitled Git - lemmy-ui.git/commit
Make pages use query params instead of route params where appropriate (#977)
authorSleeplessOne1917 <abias1122@gmail.com>
Sat, 15 Apr 2023 14:47:10 +0000 (14:47 +0000)
committerGitHub <noreply@github.com>
Sat, 15 Apr 2023 14:47:10 +0000 (10:47 -0400)
commit3526baf465aa13494bc627e282ed8cd8366f3b0d
tree29aca6f84b513ea6e1469b2918d9420f4362b023
parent699c3ff4b1a6e0c2a8e9699f326f1edbb63a826e
Make pages use query params instead of route params where appropriate (#977)

* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug
25 files changed:
lemmy-translations
package.json
src/client/index.tsx
src/server/index.tsx
src/shared/components/app/app.tsx
src/shared/components/app/navbar.tsx
src/shared/components/app/styles.scss
src/shared/components/comment/comment-node.tsx
src/shared/components/comment/comment-nodes.tsx
src/shared/components/common/searchable-select.tsx [new file with mode: 0644]
src/shared/components/community/communities.tsx
src/shared/components/community/community.tsx
src/shared/components/community/sidebar.tsx
src/shared/components/home/home.tsx
src/shared/components/modlog.tsx
src/shared/components/person/profile.tsx
src/shared/components/person/settings.tsx
src/shared/components/post/create-post.tsx
src/shared/components/post/post-form.tsx
src/shared/components/post/post-listing.tsx
src/shared/components/search.tsx
src/shared/interfaces.ts
src/shared/routes.ts
src/shared/utils.ts
yarn.lock