]> Untitled Git - lemmy-ui.git/commit
`utils.ts` organization, round two (#1427)
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Wed, 21 Jun 2023 22:28:24 +0000 (18:28 -0400)
committerGitHub <noreply@github.com>
Wed, 21 Jun 2023 22:28:24 +0000 (18:28 -0400)
commit043b522ff1b0a395eda7d5e2b01fd035c5ec6b6e
tree2aa78c0117efa8295e844f4e640e561d46de1417
parent46a7dddf4b8e8929926a18bed69e77c43d9c3cf6
`utils.ts` organization, round two (#1427)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update src/shared/utils/app/convert-comment-sort-type.ts

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
* prettier pass

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
161 files changed:
src/client/index.tsx
src/server/handlers/catch-all-handler.tsx
src/server/utils/create-ssr-html.tsx
src/server/utils/get-error-page-data.ts
src/shared/components/app/app.tsx
src/shared/components/app/error-page.tsx
src/shared/components/app/footer.tsx
src/shared/components/app/navbar.tsx
src/shared/components/comment/comment-form.tsx
src/shared/components/comment/comment-node.tsx
src/shared/components/comment/comment-nodes.tsx
src/shared/components/comment/comment-report.tsx
src/shared/components/common/badges.tsx
src/shared/components/common/comment-sort-select.tsx
src/shared/components/common/emoji-mart.tsx
src/shared/components/common/error-guard.tsx
src/shared/components/common/html-tags.tsx
src/shared/components/common/image-upload-form.tsx
src/shared/components/common/language-select.tsx
src/shared/components/common/listing-type-select.tsx
src/shared/components/common/markdown-textarea.tsx
src/shared/components/common/moment-time.tsx
src/shared/components/common/progress-bar.tsx
src/shared/components/common/registration-application.tsx
src/shared/components/common/searchable-select.tsx
src/shared/components/common/sort-select.tsx
src/shared/components/community/communities.tsx
src/shared/components/community/community-form.tsx
src/shared/components/community/community-link.tsx
src/shared/components/community/community.tsx
src/shared/components/community/create-community.tsx
src/shared/components/community/sidebar.tsx
src/shared/components/home/admin-settings.tsx
src/shared/components/home/emojis-form.tsx
src/shared/components/home/home.tsx
src/shared/components/home/instances.tsx
src/shared/components/home/legal.tsx
src/shared/components/home/login.tsx
src/shared/components/home/rate-limit-form.tsx
src/shared/components/home/setup.tsx
src/shared/components/home/signup.tsx
src/shared/components/home/site-form.tsx
src/shared/components/home/site-sidebar.tsx
src/shared/components/home/tagline-form.tsx
src/shared/components/modlog.tsx
src/shared/components/person/inbox.tsx
src/shared/components/person/password-change.tsx
src/shared/components/person/person-details.tsx
src/shared/components/person/person-listing.tsx
src/shared/components/person/profile.tsx
src/shared/components/person/registration-applications.tsx
src/shared/components/person/reports.tsx
src/shared/components/person/settings.tsx
src/shared/components/person/verify-email.tsx
src/shared/components/post/create-post.tsx
src/shared/components/post/metadata-card.tsx
src/shared/components/post/post-form.tsx
src/shared/components/post/post-listing.tsx
src/shared/components/post/post-report.tsx
src/shared/components/post/post.tsx
src/shared/components/private_message/create-private-message.tsx
src/shared/components/private_message/private-message-form.tsx
src/shared/components/private_message/private-message-report.tsx
src/shared/components/private_message/private-message.tsx
src/shared/components/search.tsx
src/shared/config.ts [new file with mode: 0644]
src/shared/interfaces.ts
src/shared/markdown.ts [new file with mode: 0644]
src/shared/services/HttpService.ts
src/shared/services/UserService.ts
src/shared/tippy.ts [new file with mode: 0644]
src/shared/toast.ts [new file with mode: 0644]
src/shared/utils.ts [deleted file]
src/shared/utils/app/build-comments-tree.ts [new file with mode: 0644]
src/shared/utils/app/color-list.ts [new file with mode: 0644]
src/shared/utils/app/comments-to-flat-nodes.ts [new file with mode: 0644]
src/shared/utils/app/community-rss-url.ts [new file with mode: 0644]
src/shared/utils/app/community-search.ts [new file with mode: 0644]
src/shared/utils/app/community-select-name.ts [new file with mode: 0644]
src/shared/utils/app/community-to-choice.ts [new file with mode: 0644]
src/shared/utils/app/convert-comment-sort-type.ts [new file with mode: 0644]
src/shared/utils/app/edit-comment-reply.ts [new file with mode: 0644]
src/shared/utils/app/edit-comment-report.ts [new file with mode: 0644]
src/shared/utils/app/edit-comment.ts [new file with mode: 0644]
src/shared/utils/app/edit-community.ts [new file with mode: 0644]
src/shared/utils/app/edit-mention.ts [new file with mode: 0644]
src/shared/utils/app/edit-post-report.ts [new file with mode: 0644]
src/shared/utils/app/edit-post.ts [new file with mode: 0644]
src/shared/utils/app/edit-private-message-report.ts [new file with mode: 0644]
src/shared/utils/app/edit-private-message.ts [new file with mode: 0644]
src/shared/utils/app/edit-registration-application.ts [new file with mode: 0644]
src/shared/utils/app/edit-with.ts [new file with mode: 0644]
src/shared/utils/app/enable-downvotes.ts [new file with mode: 0644]
src/shared/utils/app/enable-nsfw.ts [new file with mode: 0644]
src/shared/utils/app/fetch-communities.ts [new file with mode: 0644]
src/shared/utils/app/fetch-search-results.ts [new file with mode: 0644]
src/shared/utils/app/fetch-theme-list.ts [new file with mode: 0644]
src/shared/utils/app/fetch-users.ts [new file with mode: 0644]
src/shared/utils/app/get-comment-id-from-props.ts [new file with mode: 0644]
src/shared/utils/app/get-comment-parent-id.ts [new file with mode: 0644]
src/shared/utils/app/get-data-type-string.ts [new file with mode: 0644]
src/shared/utils/app/get-depth-from-comment.ts [new file with mode: 0644]
src/shared/utils/app/get-id-from-props.ts [new file with mode: 0644]
src/shared/utils/app/get-recipient-id-from-props.ts [new file with mode: 0644]
src/shared/utils/app/get-updated-search-id.ts [new file with mode: 0644]
src/shared/utils/app/index.ts [new file with mode: 0644]
src/shared/utils/app/initialize-site.ts [new file with mode: 0644]
src/shared/utils/app/insert-comment-into-tree.ts [new file with mode: 0644]
src/shared/utils/app/is-auth-path.ts [new file with mode: 0644]
src/shared/utils/app/is-post-blocked.ts [new file with mode: 0644]
src/shared/utils/app/my-auth-required.ts [new file with mode: 0644]
src/shared/utils/app/my-auth.ts [new file with mode: 0644]
src/shared/utils/app/new-vote.ts [new file with mode: 0644]
src/shared/utils/app/nsfw-check.ts [new file with mode: 0644]
src/shared/utils/app/person-search.ts [new file with mode: 0644]
src/shared/utils/app/person-select-name.ts [new file with mode: 0644]
src/shared/utils/app/person-to-choice.ts [new file with mode: 0644]
src/shared/utils/app/post-to-comment-sort-type.ts [new file with mode: 0644]
src/shared/utils/app/search-comment-tree.ts [new file with mode: 0644]
src/shared/utils/app/selectable-languages.ts [new file with mode: 0644]
src/shared/utils/app/set-iso-data.ts [new file with mode: 0644]
src/shared/utils/app/set-theme.ts [new file with mode: 0644]
src/shared/utils/app/show-avatars.ts [new file with mode: 0644]
src/shared/utils/app/show-local.ts [new file with mode: 0644]
src/shared/utils/app/show-scores.ts [new file with mode: 0644]
src/shared/utils/app/site-banner-css.ts [new file with mode: 0644]
src/shared/utils/app/update-community-block.ts [new file with mode: 0644]
src/shared/utils/app/update-person-block.ts [new file with mode: 0644]
src/shared/utils/browser/index.ts
src/shared/utils/browser/load-css.ts [new file with mode: 0644]
src/shared/utils/browser/restore-scroll-position.ts [new file with mode: 0644]
src/shared/utils/browser/save-scroll-position.ts [new file with mode: 0644]
src/shared/utils/helpers/capitalize-first-letter.ts [new file with mode: 0644]
src/shared/utils/helpers/edit-list-immutable.ts [new file with mode: 0644]
src/shared/utils/helpers/future-days-to-unix-time.ts [new file with mode: 0644]
src/shared/utils/helpers/get-id-from-string.ts [new file with mode: 0644]
src/shared/utils/helpers/get-page-from-string.ts [new file with mode: 0644]
src/shared/utils/helpers/get-random-char-from-alphabet.ts [new file with mode: 0644]
src/shared/utils/helpers/get-random-from-list.ts [new file with mode: 0644]
src/shared/utils/helpers/get-unix-time.ts [new file with mode: 0644]
src/shared/utils/helpers/hostname.ts [new file with mode: 0644]
src/shared/utils/helpers/hsl.ts [new file with mode: 0644]
src/shared/utils/helpers/index.ts
src/shared/utils/helpers/is-cake-day.ts [new file with mode: 0644]
src/shared/utils/helpers/num-to-si.ts [new file with mode: 0644]
src/shared/utils/helpers/random-str.ts [new file with mode: 0644]
src/shared/utils/helpers/valid-email.ts [new file with mode: 0644]
src/shared/utils/helpers/valid-instance-tld.ts [new file with mode: 0644]
src/shared/utils/helpers/valid-title.ts [new file with mode: 0644]
src/shared/utils/helpers/valid-url.ts [new file with mode: 0644]
src/shared/utils/media/index.ts [new file with mode: 0644]
src/shared/utils/media/is-image.ts [new file with mode: 0644]
src/shared/utils/media/is-video.ts [new file with mode: 0644]
src/shared/utils/types/choice.ts [new file with mode: 0644]
src/shared/utils/types/community-tribute.ts [new file with mode: 0644]
src/shared/utils/types/error-page-data.ts [new file with mode: 0644]
src/shared/utils/types/index.ts
src/shared/utils/types/person-tribute.ts [new file with mode: 0644]
src/shared/utils/types/route-data-response.ts [new file with mode: 0644]
src/shared/utils/types/theme-color.ts [new file with mode: 0644]
src/shared/utils/types/with-comment.ts [new file with mode: 0644]