Commit Graph

364 Commits

Author SHA1 Message Date
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
Prospector
0caa56e618 Recalculate changelog deduplication when the filters change (#954) 2023-01-30 17:28:16 -07:00
Prospector
e5dc843d6a Fix version pages by non-members being broken (#952) 2023-01-29 12:16:51 -05:00
triphora
56a1367322 Fix floating clear message on every project (#938) 2023-01-21 16:25:54 -05:00
triphora
544aba53dc Miscellaneous fixes relating to statuses, et al (#920) 2023-01-21 16:02:11 -05:00
Geometrically
6a52d03329 Landing + other fixes (#909) 2023-01-13 12:01:20 -07:00
Prospector
17f00e6fea Fix moderation queue, moderation status card when approved, and invalid datapack packages (#907)
* Fool behavior

* Add leading underscore to packaged datapack package if it starts with a number

* Hide mod status card for all approved statuses without mod messages

* Fix project id sanitization
2023-01-11 16:21:39 -07:00
Prospector
c67bc33c23 Fix custom license erroring with spaces (#905) 2023-01-11 13:10:59 -08:00
Prospector
bb80dcb4e4 Improve moderation messages and add moderation UI on projects. (#889) 2023-01-11 16:05:11 -05:00
Prospector
233109d23e Fix a couple of misc. page errors I noticed (#900)
* Fix for a couple of random bugs I noticed

* Add project status update to NOTIFICATION_TYPES

* Update wording

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-01-11 13:57:06 -07:00
Prospector
a6aa78e3b6 Balance search pages to have view mode-aware max search results (#858)
* Balance search pages to have view mode-aware max search results

* Remove console.log

* Implement #829 to prevent invalid pages when changing the max results

* dammit
2023-01-11 13:49:44 -07:00
Prospector
b690e3d149 Add featured icon to featured versions on versions page Closes #769 (#890) 2023-01-11 11:13:24 -07:00
Prospector
aabf270144 Remove default description and license and add checklist nag for license (#892)
* Remove default description, remove default license, and add a checklist nag for setting a license

* Make Unknown license display nicer in License settings

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-01-11 11:06:29 -07:00
Prospector
61a4f15e53 Prevent user from adding the same dependency multiple times (#859) 2023-01-11 11:03:40 -07:00
Prospector
de212322e2 Fix project settings not allowing you to remove links & trim certain project fields (#895)
* Fix project settings not allowing you to remove links

* Trim project fields

Closes #850
2023-01-11 11:00:42 -07:00
Prospector
9f6b0e1018 Add latest version URLs (Closes #830) (#901) 2023-01-11 10:52:43 -07:00
Prospector
2d9293732b Make landing page project cards use actual links instead of JS (#896)
* Make landing page project cards use actual links instead of JS

* Make landing page links animate like other clickable elements
2023-01-11 10:32:32 -07:00
jade
d4a131ad31 fix issue #855 (#856) 2023-01-09 18:07:53 -07:00
triphora
fa2316fb28 Fix various gallery issues reported on Discord (#854)
* Fix various gallery issues reported on Discord

Fixes #849

* fix stupidity on my part
2023-01-09 13:04:44 -07:00
triphora
6e5d1fb613 Account for new statuses (#853)
* Account for new statuses

More work is going to be needed for scheduling projects, but this is a stopgap measure to fix #852

* Fix lint

* Why, Prettier, why?
2023-01-09 13:03:57 -07:00
Geometrically
e45f0f0299 Fix text wrap (#841)
* Fix overflow search

* Make animation infinite
2023-01-07 23:26:39 -07:00
Prospector
62125d0284 Sort featured versions and remove heart fill when not signed in 2023-01-07 19:41:12 -08:00
Geometrically
d5ffede5ea Add changes from prod to master (#837)
* redo 6346b5b

* Fix incorrect caps

* Fix reduced motion
2023-01-07 19:40:34 -07:00
Prospector
212bb33142 Projects overhaul for creators (#827)
* Projects page

* Continue work on bulk edit

* editLinks is now bulkEdit

* Bulk Edit Links completed

* Edit URL clear fields.

* Create project button + other bulk buttons.

* Pagination (w/o reactivity.)

* Apply suggestions from code review

Co-authored-by: triphora <emmaffle@modrinth.com>

* Sorting fixed, broken page count though?

* Only make editable projects selectable + remove delete button

* Shorthand

* Start using computed

* Fix pagination

* Add Pagination Switching

* Final Style Changes

* Cleanup

* Action Affects dropdown

* Switch to checkbox swizzle

* Projects dashboard, the most hellish thing I have ever worked on

* Rewrite project dashboard without tables

* why's that there

* Fix mod message icon

* New project settings page

* Remove extra slash

* Bulk project route and improve styling of links UI

* Remove beta label from Monetization

* Relevant page links in project settings

* Don't vertically center header rows

* Improve error messages, add remove project icon button, add saving feedback, begin project checklist, fix license settings

* Remove contextual link from project settings, disable WIP checklist

* Fix bulk edit

* Project checklist, add featured gallery image to project pages, fix random bugs

* Remove old check

* Remove icon border on grid mode and hide project status card when unnecessary

* Fix build

* Make checklist progress smaller and add collapsing

* Remove uneven gap on nav cards

* Improve wrapping of checklist

* Replace project settings header link with status

* Fix bugs + status stuff

* Fix warns + compile error

* Update wording

* Hide environment type nag for project types without it

* Make member dropdown match

Co-authored-by: mineblock11 <93472213+mineblock11@users.noreply.github.com>
Co-authored-by: triphora <emmaffle@modrinth.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-01-07 18:37:47 -07:00
Geometrically
1d8c80c062 New landing page (#834)
* New landing page

* Edit gradient

* User + Creator sections, some css cleanup

* Most stuff

* Finish page (mostly)

* Compress images

* Moar compression

* Fix mobile zoom + adjust wording

* add utm stuff to subscribe link

* Fix border overlay

* Remove redundant CSS class

* Fix most issues (?)

* Add notifs showcase

* Spacing changes, update copy, fix lag

* add and

* Update spacing

* save work

* Update mobile support

* Update discovery copy

* Light theme

* Adjust logo banner on various screen sizes

* Add launcher links

* Oxipng

* Switch to cdn links for images

* Add animation

* Fix animation

* fix tags

Co-authored-by: Emma Cypress Pointer-Null <emmaffle@modrinth.com>
2023-01-07 18:04:43 -07:00
Robert
e8e11257d2 Make summaries and bios wrap (#833) 2023-01-06 04:49:57 -08:00
Geometrically
b4236b9a95 Fix duplicate version nums + etc (#831)
* Fix duplicate version nums + etc

* Update link info

* Remove useless loading conditions

* Update pages/legal/privacy.vue

Co-authored-by: triphora <emmaffle@modrinth.com>

* Update plugins/xss.js

Co-authored-by: triphora <emmaffle@modrinth.com>

Co-authored-by: triphora <emmaffle@modrinth.com>
2023-01-03 19:06:30 -07:00
Geometrically
d2b1404907 New gallery creation/editing/deleting UI (#826)
* New gallery creation/editing/deleting UI

* Finish new gallery UI

* port dp changes here

* Add ordering fix optional fields

* Fix dropping

* Fix fmt

* Fix version creation broken, edit issues, project type setting

* Update gallery in search
2022-12-31 23:47:47 -07:00
triphora
f11aab6c19 SPDX: Fix niche issue with checkbox (#825) 2022-12-29 16:55:00 -07:00
Geometrically
1f133dbcd0 Datapack support (#815)
* Shader support PR

* Make search page work

* Fix env showing

* Make moderation look reasonable

* Fix search for shaders

* Datapack support

* Make file types work + datapack inferring

* Add editing to file types

* Finish datapack file generation

* Fix bugs, make forge support work

* Fix inconsistent data pack label

* Final fixes
2022-12-29 09:59:41 -07:00
triphora
879576b613 Add animated logo in header and update copying info (#819) 2022-12-27 19:11:03 -05:00
triphora
7a105a1538 Fix issues geo discovered (#818) 2022-12-23 17:30:32 -07:00
frikinjay
7408d7bc95 Change 'changelog-item' display to block from flex. (#812) 2022-12-23 14:36:51 -05:00
triphora
1d9820a7c9 Force authors to use the project status sidebar (#810) 2022-12-23 14:36:14 -05:00
Arbee
6d9dfb5deb make long Projectnames wrap with a '-' (#771)
fixes https://github.com/modrinth/knossos/issues/770
2022-12-23 14:35:41 -05:00
Geometrically
97ecb0a5d6 Shaderpack support (#798)
* Shader support PR

* Make search page work

* Fix env showing

* Make moderation look reasonable

* Fix search for shaders
2022-12-20 13:47:41 -07:00
Geometrically
6f58e9e7bb Redo version page (#777)
* Redo version page

* More work on editing page

* Make saving work

* Finish version editing

* Version creation (base)

* Add creation buttons

* Add file uploader to versions page

* Add version file parsing

* Finish PR

* Fix version page responsiveness and use more consistent card design

* Whoops that wasn't supposed to be there

* Fixes + allow whole page dragging

* Re-add lost merge data

* Remove debug line

* Move back to list btm

Co-authored-by: Prospector <prospectordev@gmail.com>
2022-12-20 11:15:31 -07:00
stairman06
0de19a09ad Fix follow button being filled in when signed-out (#811) 2022-12-17 14:16:12 -05:00