Commit Graph

401 Commits

Author SHA1 Message Date
Prospector
2c4ffcfa7c Initial frontend NeoForge support (#1233)
* Revert "fix: featured version ui shifts (#1191)"

This reverts commit 3036f43b75.

* Revert "Fix CTRL clicking on versions issue (#1189)"

This reverts commit f4560bd7d8.

* Add basic neoforge frontend support
2023-07-22 14:37:08 -07:00
Prospector
34d63f3557 Update master with new auth (#1236)
* Begin UI for threads and moderation overhaul

* Hide close button on non-report threads

* Fix review age coloring

* Add project count

* Remove action buttons from queue page and add queued date to project page

* Hook up to actual data

* Remove unused icon

* Get up to 1000 projects in queue

* prettier

* more prettier

* Changed all the things

* lint

* rebuild

* Add omorphia

* Workaround formatjs bug in ThreadSummary.vue

* Fix notifications page on prod

* Fix a few notifications and threads bugs

* lockfile

* Fix duplicate button styles

* more fixes and polishing

* More fixes

* Remove legacy pages

* More bugfixes

* Add some error catching for reports and notifications

* More error handling

* fix lint

* Add inbox links

* Remove loading component and rename member header

* Rely on threads always existing

* Handle if project update notifs are not grouped

* oops

* Fix chips on notifications page

* Import ModalModeration

* finish threads

* New authentication (#1234)

* Initial new auth work

* more auth pages

* Finish most

* more

* fix on landing page

* Finish everything but PATs + Sessions

* fix threads merge bugs

* fix cf pages ssr

* fix most issues

* Finish authentication

* Fix merge

---------

Co-authored-by: triphora <emma@modrinth.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-07-20 11:19:42 -07:00
Prospector
a5613ebb10 Threads and more! (#1232)
* Begin UI for threads and moderation overhaul

* Hide close button on non-report threads

* Fix review age coloring

* Add project count

* Remove action buttons from queue page and add queued date to project page

* Hook up to actual data

* Remove unused icon

* Get up to 1000 projects in queue

* prettier

* more prettier

* Changed all the things

* lint

* rebuild

* Add omorphia

* Workaround formatjs bug in ThreadSummary.vue

* Fix notifications page on prod

* Fix a few notifications and threads bugs

* lockfile

* Fix duplicate button styles

* more fixes and polishing

* More fixes

* Remove legacy pages

* More bugfixes

* Add some error catching for reports and notifications

* More error handling

* fix lint

* Add inbox links

* Remove loading component and rename member header

* Rely on threads always existing

* Handle if project update notifs are not grouped

* oops

* Fix chips on notifications page

* Import ModalModeration

* finish threads

---------

Co-authored-by: triphora <emma@modrinth.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-07-15 20:39:33 -07:00
Geometrically
4c8c35a25a move to cloudflare workers (#1229)
* move to cloudflare workers

* remove junk
2023-07-03 17:23:19 -07:00
Prospector
6b940ed675 Revert #1189 and #1191 (#1214)
* Revert "fix: featured version ui shifts (#1191)"

This reverts commit 3036f43b75.

* Revert "Fix CTRL clicking on versions issue (#1189)"

This reverts commit f4560bd7d8.
2023-06-20 14:51:49 -07:00
MMK21Hub
247be0c11f Fix search filters being hidden (#1205)
* Fix search filters being hidden (#1165)

Previously, `max-width` was used to hide the sidebar on mobile, which
meant that at exactly 1024 pixels wide, the sidebar would be hidden.
However, this breakpoint is also as a
`min-width` other media queries, notably the ones used to enable viewing
filters on mobile sizes. This has caused issue #1024.

To fix this, I have swapped the logic of the rule that hides the filters
on mobile: it is now hidden by default and a `min-width` query is used
to show it on wider viewports. This is more consistent with similar media
queries in the same file.

Looking to the future, these issues should become less common if we
switch to range-based media queries:
https://caniuse.com/css-media-range-syntax

* Delete package-lock.json

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2023-06-20 14:37:39 -07:00
kevoh1516
14b0e8875d fix version filtering wrong page (#1206) 2023-06-20 14:33:34 -07:00
Prospector
afd60b8a16 Fix license selector (#1213) 2023-06-20 12:17:10 -07:00
Younes
db9279a6e5 fixed redirection back to followed projects (#1190)
Fixes #1158
2023-06-11 19:57:01 -04:00
Younes
3036f43b75 fix: featured version ui shifts (#1191) 2023-06-11 19:31:18 -04:00
Younes
f4560bd7d8 Fix CTRL clicking on versions issue (#1189)
Fixes #1184
2023-06-11 18:25:27 -04:00
Emma
cdab3d0eff Change uses of "Include snapshots" to "Include all versions" (#1178) 2023-06-11 14:41:32 -04:00
Sasha Sorokin
de991041c4 Add internationalization support (#738) 2023-06-11 14:08:16 -04:00
Sasha Sorokin
d9f8746438 Consistent extension usage in imports (#1171) 2023-06-11 13:37:40 -04:00
Prospector
bf615303f1 Fix pagination (#1181) 2023-06-09 14:47:36 -07:00
Geometrically
063585f563 Improve landing page performance (#1180)
* Improve landing page performance

* fix build
2023-06-08 15:42:18 -07:00
kevoh1516
d275b3fd08 do not allow empty option on dropdown when adding dependency (#1155) 2023-06-06 14:23:08 -07:00
triphora
66364354da Small landing page fixes (#993)
* Miscellaneous fixes/improvements to landing page

* The downsides of not being able to set up a local testing env, in a commit

* Update how stats are retrieved

* Fix prettier

* Make requested changes

* Restore nuxt.config.js

* Restore composables/tag.js

* Update index.vue
2023-06-06 14:22:36 -07:00
Calum
a6ca893ec5 Add indicators for visibility on project settings page (#1092)
* Add indicators for visibility - replace confusingly worded description.

* Add better description alongside ticks

* CrossIcon -> CheckIcon

* Icon naming

* Update index.vue

Use x.svg as exit.svg might be removed in the future.

* Visibility -> Target Visibility

* Add suggestions.

* Target Visibility -> Visibility
2023-06-06 14:20:35 -07:00
triphora
d55f1163a2 Improve withheld message banner (#1167) 2023-06-06 14:15:30 -07:00
Geometrically
a349aed94c Fix reload (#1154) 2023-05-15 10:41:57 -07:00
Mikhail Oleynikov
732f88ff51 Renovate config files (#1117)
* Renovate the config files

* Return Vue and TS ESLint plugins

* Revert Prettier config
Add typing to ESLint config
Re-revert package.json

* Re-add ESLint plugin for Prettier
(it went missing during merge, oops)

* Try to fix CI by explicit dependency

* Try to fix CI by explicit dependency x2

* Try to fix CI magically
Additionally, remove unneeded jsconfig.json

* Brawaru found the reason

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2023-05-06 12:17:43 -07:00
Calum
7a59b2b25d Ascending/Descending order by button for projects dashboard page. (#1100) 2023-05-06 11:12:35 -04:00
Nitro
afc95d99cb Fix changelog-bar overflowing (#1115) 2023-05-06 10:24:32 -04:00
Geometrically
d9b3ba0ff2 Fix logged in user stall (#1114) 2023-04-22 09:59:46 -07:00
Geometrically
5527170fab Fix URL bug + Redundant call (#1110)
* Fix URL bug + Redundant call

* Fix prettier
2023-04-21 14:48:23 -07:00
Calum
5e3da71ce4 Fix bulk link editing (Fixes #1087) (#1097) 2023-04-17 15:07:21 -07:00
Geometrically
e56974f4b2 Navigation fixes (#1095)
* Navigation fixes

* remove console log

* Fix prettier

* Fix legal pages as well
2023-04-15 18:07:20 -07:00
Prospector
fd28da2a3b Add transfer history and unify back elements with breadcrumbs (#1088)
* Add transfer history and unify back elements with breadcrumbs

* Increase padding of breadcrumbs, include previous query params, more consistent link underlining

* Prettier

* Add project type text and link to project pages

* Remove console.log
2023-04-15 12:08:11 -07:00
Prospector
257b35e4ae Fix money rounding issue (#1094)
* Fix money rounding issue

* Re-add dollar signs

* Remove unncessary pre-rounding
2023-04-14 20:55:32 -07:00
Geometrically
4398563b85 Bump nuxt version (#1093)
* Bump nuxt version

* tests

* bump again

* fix modals
2023-04-13 15:27:41 -07:00
Prospector
5fd3a45c64 Fix duplicate version featured links being wrong sometimes Fixes #842 (#1085) 2023-04-07 18:43:10 -07:00
Prospector
509a97e532 Fix project icon label in settings id linking to project name Fixes #1045 (#1080) 2023-04-07 18:40:29 -07:00
Prospector
604683efd5 Fix project type in Dashboard & settings URLs Closes #1066 (#1078) 2023-04-07 18:39:04 -07:00
Geometrically
a37210b22e Fix auth login (#1074) 2023-04-03 10:11:10 -07:00
Geometrically
7214b71c29 Bump Nuxt + Minor Fixes (#1065)
* Bump Nuxt + Minor Fixes

* Run lint
2023-03-27 09:20:25 -07:00
Nicholas Christopher
41961de619 Use nuxt-link for team member element (#1062) 2023-03-26 11:43:23 -07:00
triphora
80621f598e Small fixes (#1061) 2023-03-24 15:03:50 -04:00
Zach Baird
eaf689fe2f Formats version text based on count. (#1053) 2023-03-24 11:47:44 -07:00
Zach Baird
211e3304f3 See all versions will navigate to versions#all-versions. (#1052)
* See all versions will navigate to versions#all-versions.

* Runs prettier.
2023-03-24 11:47:21 -07:00
Geometrically
437b2ab30a Fix serverless crash + Version Filters on reload (#1050) 2023-03-14 15:33:10 -07:00
Zach Baird
2d2fe4983c Adds media query style to prevent Report button from overlapping username. (#1040) 2023-03-13 20:30:12 -07:00
Zach Baird
29ddc04f7b Changes demo-search height to be min-height. (#1039) 2023-03-13 20:29:37 -07:00
Geometrically
e838fe30de Fix datapack packaging (#1044) 2023-03-12 19:01:01 -07:00
Geometrically
6d9779a497 Fix hydration issue + Edit Page (#1043) 2023-03-12 13:00:09 -07:00
Geometrically
130ece3d2e Fix upload version showing for everyone (#1037) 2023-03-10 16:37:23 -07:00
Geometrically
d63a794848 Search loading anim (#1036) 2023-03-10 16:18:26 -07:00
Geometrically
740357d120 Migrate to Nuxt 3 (#933)
* Migrate to Nuxt 3

* Update vercel config

* remove tsconfig comment

* Changelog experiment + working proj pages

* Fix package json

* Prevent vercel complaining

* fix deploy (hopefully)

* Tag generator

* Switch to yarn

* Vercel pls 🙏

* Fix tag generation bug

* Make (most) non-logged in pages work

* fix base build

* Linting + state

* Eradicate axios, make most user pages work

* Fix checkbox state being set incorrectly

* Make most things work

* Final stretch

* Finish (most) things

* Move to update model value

* Fix modal text getting blurred from transforms (#964)

* Adjust nav-link border radius when focused (#961)

* Transition between animation states on TextLogo (#955)

* Transition between animation states on TextLogo

* Remove unused refs

* Fixes from review

* Disable tabbing to pagination arrows when disabled (#972)

* Make position of the "no results" text on grid/gallery views consistent (fixes #963) (#965)

* Fix position of the "no results" text on grid view

* fix padding

* Remove extra margin on main page, fixes #957 (#959)

* Fix layout shift and placeholder line height (#973)

* Fix a lot of issues

* Fix more nuxt 3 issues

* fix not all versions showing up (temp)

* inline inter css file

* More nuxt 3 fixes

* [skip ci] broken- backup changes

* Change modpack warnings to blue instead of red (#991)

* Fix some hydration issues

* Update nuxt

* Fix some images not showing

* Add pagination to versions page + fix lag

* Make changelog page consistent with versions page

* sync before merge

* Delete old file

* Fix actions failing

* update branch

* Fixes navbar transition animation. (#1012)

* Fixes navbar transition animation.

* Fixes Y-axis animation. Fixes mobile menu. Removes highlightjs prop.

* Changes xss call to renderString.

* Fixes renderString call.

* Removes unnecessary styling.

* Reverts mobile nav change.

* Nuxt 3 Lazy Loading Search (#1022)

* Uses lazyFetch for results. onSearchChange refreshes. Adds loading circle.

* Removes console.log

* Preserves old page when paging.

* Diagnosing filtering bugs.

* Fix single facet filtering

* Implements useAuth in settings/account.

* tiny ssr fix

* Updating nuxt.config checklist.

* Implements useAuth in revenue, moneitzation, and dashboard index pages.

* Fixes setups.

* Eliminates results when path changes. Adds animated logo.

* Ensures loading animation renders on search page.

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>

* Fix navigation issues

* Square button fix (#1023)

* Removes checklist from nuxt.config.

* Modifies Nuxt CI to build after linting.

* Fixes prettierignore file.

* bug fixes

* Update whitelist domains

* Page improvements, fix CLS

* Fix a lot of things

* Fix project type redirect

* Fix 404 errors

* Fix user settings + hydration error

* Final fixes

* fix(creator-section): border radius on icons not aligning with bg (#1027)

Co-authored-by: MagnusHJensen <magnus.holm.jensen@lego.dk>

* Improvements to the mobile navbar (#984)

* Transition between animation states on TextLogo

* Remove unused refs

* Fixes from review

* Improvements to the mobile nav menu

* fix avatar alt text

* Nevermind, got confused for a moment

* Tab bar, menu layout improvements

* Highlight search icon when menu is open

* Update layouts/default.vue

Co-authored-by: Magnus Jensen <magnushjensen.mail@gmail.com>

* Fix some issues

* Use caret instead

* Run prettier

* Add create a project

---------

Co-authored-by: Magnus Jensen <magnushjensen.mail@gmail.com>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>

* Fix mobile menu issues

* More issues

* Fix lint

---------

Co-authored-by: Kaeden Murphy <kmurphy@kaedenmurphy.dev>
Co-authored-by: triphora <emmaffle@modrinth.com>
Co-authored-by: Zach Baird <30800863+ZachBaird@users.noreply.github.com>
Co-authored-by: stairman06 <36215135+stairman06@users.noreply.github.com>
Co-authored-by: Zachary Baird <zdb1994@yahoo.com>
Co-authored-by: Magnus Jensen <magnushjensen.mail@gmail.com>
Co-authored-by: MagnusHJensen <magnus.holm.jensen@lego.dk>
2023-03-09 10:05:32 -07:00
Geometrically
5638f0f24b Update privacy policy (#998)
* Update privacy policy

* fix prettier weirdness

* Fixes, modifications, and changes

* We don't prevent automated access, we monitor it

* Fix wonky link and fix header hierarchy

* Update address

* Fix lint

* Transfer over three sections from old policy

---------

Co-authored-by: Emma Triphora <emma@modrinth.com>
2023-03-08 15:22:15 -07:00
triphora
2fb31f5944 Make mod message card background red to stand out more (#987) 2023-02-08 16:41:14 -07:00