Commit Graph

57 Commits

Author SHA1 Message Date
Geometrically
3a735ea0ce New collections (#1484)
* [WIP] Transfer collections to own branch

* fixes

* rewrite js

* Add visibility dropdown to collection edit modal

* Add visibility badges to collection page

* Update visibility options and icons in collection
page

* Add delete functionality to collection modal

* Collection project deletion flow

* remove "visit project" button on overflow

* Remove via checklist not individually

* Update manage title in settings.vue

* remove collections from settings page

* hook up collections page

* collection header to look like project header

* Refactor layout.scss and collections.vue

* fix omorphia

* Update

* Conform collections to old design structure

* Update navigation links and remove unused code

* Add collection view and collections to user page

* Refactor user project display logic

* Add collection creation functionality and update profile labels

* Add function calls to initialize user collections

* Refactor collection page layout and functionality

* Add initialization of user collections in create function

* Fix styling issue in collection page

* Update collection status to private

* remove name

* Refactor card component and update grid layout

* Finish collections

---------

Co-authored-by: Carter <safe@fea.st>
2023-12-27 13:27:50 -05:00
Geometrically
e319d19a54 New analytics (#1483)
* [WIP] Transfer analytics to own branch

* code style changes

* Refactor country name conversion

* Clean up api and ssr for settings page

* refactor analytics into reusables

* Refactor chart tooltip and reset functionality

* Update dayjs import and formatTimestamp function

* Fix bug in login functionality

* Abstract data fetching

* Refactor analytics data formatting

* Refactor useFetchAllAnalytics function signature

* Refactor analytics processing functions

* Fix chart data in ChartDisplay.vue

* Refactor analytics pages

* Refactor delete labrinth.ts test types

* Fix import statement for dayjs and update usage of
unix function

* Fix dropdown select in ChartDisplay.vue and add
Analytics link in creations.vue

* Update chart colors in ChartDisplay.vue and
analytics.js

* Update defaultRanges in ChartDisplay.vue

* Add colors to chart

* Update legend position in ChartDisplay.vue

* Refactor color conversion functions in
analytics.js

* Bug fixes

* Use softer colors

* Import dayjs unix module for analytics.js

* Refactor chart tooltip generation

* Fix calculation of total value in generateTooltip
function

* Fix button-base styling in ChartDisplay.vue

* Adopt intl standard rather than iso-3166-1

* Add support for potential flags

* Analytics rebased

* fix cf pages

* now?

* try now

* now?

* Fix this time

* address rev

* Finish analytics

* fix api url

---------

Co-authored-by: Carter <safe@fea.st>
2023-12-26 14:46:32 -05:00
Carter
accc53c5dd Implement Editor MOD-349 (#1427)
* Implement Editor

* content oveflow fix for description

* Description card fix

* make everything fix in report modal

* seperate report page with image upload

* Bump Omorphia

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* suggested changes and cleanup

* fix button spacing

* clean up and replace report implementations

* corepack fix

* Remove ModalReport

* image uploads for conversations

* image uploading context for versions and threads

* adjust information about thread messages

* Update pages/report.vue

Co-authored-by: Emma Alexia <emma@modrinth.com>

* Adjust image upload imports

* fix api changes for useImageUpload

* correct report redirection uri

* report button feedback

* omorphia ver bump

---------

Co-authored-by: Emma Alexia <emma@modrinth.com>
2023-11-29 11:56:17 -07:00
Emma Alexia
e4cb8b71dd Fix version editing on modpacks returning a "too large" error (#1455) 2023-11-20 18:57:06 -05:00
Emma Alexia
23ccaacdee Fix outdated moderation warning (#1430) 2023-10-30 21:28:48 -04:00
Mysterious_Dev
19828e9070 Update to omorphia 0.6.2 (#1418) 2023-10-25 13:44:29 -07:00
Basil
85f639b1f0 Fixed report icons on version page when logged out (#1416) (#1417) 2023-10-25 13:41:29 -07:00
chaos
9acc463c7f Fix dependencies list not updating on dependency remove. (#1388) 2023-10-01 16:19:23 -04:00
chaos
c4ddd08b0a Fix license element deleting itself when pressing backspace. (#1389) 2023-10-01 15:57:37 -04:00
Emma Alexia Triphora
fc64719bb8 SEO cleanup (#1367)
* SEO/Metadata cleanup

May split rules changes into its own PR

* Revert rules/terms changes as they are now on a separate branch

* Update [searchProjectType].vue

* Update terms.vue
2023-09-22 11:45:03 -05:00
Emma Alexia Triphora
54f55d44dc Fix dependency capitalization (#1351) 2023-09-02 16:45:13 -04:00
Emma Alexia Triphora
57964282ee Miscellaneous CSS cleanup (and make the report modal look better) (#1334) 2023-08-24 15:21:12 -04:00
Emma Alexia Triphora
a7c7234589 Fix project deletion going to a non-existent page (#1332) 2023-08-23 12:13:25 -04:00
falseresync
06cc40055a Extract Message banner component (#1105) 2023-08-23 10:40:16 -04:00
Nitrrine
66b47c08e6 Improve download button in changelog (#1311) 2023-08-23 10:39:30 -04:00
naqaden
0a59a06121 Replace project icon border (#1319)
Icons in project pages with featured images and in search results with gallery view have borders that resize their 96x96 icons to 88x92.

These box-shadow replacements preserve icon size while retaining visual equivalency (rounded 4px border around left, top, and right).
2023-08-21 18:47:34 -04:00
Emma Alexia Triphora
806fcb6ed2 Project moderation tab improvements (#1323) 2023-08-21 13:29:09 -04:00
Kavi/o
0fdc02d5e9 Fixed Leave Project button (#1321) 2023-08-20 12:10:40 -04:00
Geometrically
a437a40eee Fix bugs with threads (#1288)
* Fix bugs with threads

* remove modpack warning

* add back msg

* update project reveue info

* Add faq
2023-08-09 18:02:12 -07:00
Geometrically
f5cf1ca08c Update legal docs (#1260)
* Update legal docs

* add app

* fix homepage
2023-08-05 17:27:35 -07:00
Emma
a4bead1bde Fix report buttons not working for signed-out users (#1255) 2023-08-02 14:03:31 -07:00
Emma
0d15024bd2 Add links to the markdown reference on the docs (#1254) 2023-08-02 14:02:51 -07:00
Emma
6509d726b3 Remove useless moderation stuff (#1253)
Moderation messages are superseded by threads, so there is no need to have the ModalModeration anymore, it would only confuse new moderators
2023-08-02 14:02:29 -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
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
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
kevoh1516
d275b3fd08 do not allow empty option on dropdown when adding dependency (#1155) 2023-06-06 14:23:08 -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
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
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
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
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
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