Commit Graph

65 Commits

Author SHA1 Message Date
venashial
fb6a8d999c Mod search fixes (#249)
* Remove all uses of `process.env.domain`

* Revert "Remove all uses of `process.env.domain`"

This reverts commit 5af9b83091f395d3a0f954cf6776494c1cfe7a04.

* Increase minimum amount of pages for pagination

Fixes modrinth/knossos#231

* Detect mod search query removal

Fixes modrinth/knossos#240

* Increase margin on project card categories mobile

Fixes modrinth/knossos#230
2021-07-02 10:04:08 -07:00
Johan Novak
5859ac7a58 General UI Improvement (again) (#255)
* Add and fix some stuff

* Add warning when leaving to `mod/create`

* Fix mods/create not working
2021-06-17 22:03:12 -07:00
Emma
46bc04f69f Adjust quite a bit of wording (#252)
* Adjust quite a bit of wording
Also converts many title case things to sentence case (fixes #238)

* Change advised to recommended

* Oops, I missed a page

* That page too

* Missed a spot
2021-06-05 20:34:43 -07:00
Geometrically
5017c5a5f1 Use base URL for axios (#241)
* Switch site to use axios base url

* Fix team invites

* Fix find/replace setting the wrong thing

* Fix analytics being blocking, small issues
2021-05-28 10:19:13 -07:00
venashial
2c22837d9f Fix notification & follow list sorting, Add notification badge + loading animation (#206)
* Order notifications and followed mods

Fixes modrinth/knossos#195

* Add user notification badge on avatar

Closes modrinth/knossos#145

* Add loading animation

* Chain calls, remove console.log

* Chain calls

* Fix formatting to match prettier

* Remove unused userFollows

* Create user vuex store

* Add notification count indication on dashboard

* Fix background for light mode

* Move delay check to action, add force parameter

* Slightly decrease notification badge opacity on dashboard

* Remove SVG for image masking, use border around bubble

Also adds CSS for when the dropdown is opened/hovered

* Fix merge conflicts

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2021-05-27 09:32:34 -07:00
venashial
4d64df37f5 Versatile auth URLs & many UI fixes (#199)
* Make project cards right-align their last element

Spaces out elements in a `.project-card` using `justify-content: space-between;`.

Fixes modrinth/knossos#170

* Automatically set URL for auth redirect

* Make login button use base url or current origin

Allows the login button to work in dev environment

* Remove Axios base URL trailing slash

* Update authUrl() on dashboard to match default

* Remove 'code' query from URL on page load
Allow non-exact paths to highlight mod & dashboard tabs

Fixes modrinth/knossos#200

* Make page 5 button visible on page 4 (pagination)

Fixes modrinth/knossos#184

* Color links on legal pages

Fixes modrinth/knossos#166

* Set max notifications to 5 and ignore duplicates

Fixes modrinth/knossos#175

* Add space above report button when no user desc

Fixes modrinth/knossos#143

* Better text spacing from edge of mobile screen

Fixes modrinth/knossos#179

* Fix slanted bars in modrinth/knossos#57

* Fix checkbox grid and role label

Fixes modrinth/knossos#191

* Move mod 'settings' button to the far right

Fixes modrinth/knossos#138

* Abbreviate minutes to min. when time is too long

Not a perfect solution imo, but works for now

Fixes modrinth/knossos#193

* Fix mobile header margins & add breakpoints

Fixes modrinth/knossos#203

* Clean up nuxt config
Silence babel warning & styleResources

* Upgrade sass-loader to 10.1.1 and remove warning

* Remove added horizontal footer padding

https://github.com/modrinth/knossos/pull/199#discussion_r629011624

* Improve mobile header fix

* Fix up minor inconsistencies in mod header

* Remove hard coded date

* Cleans up pagination to be more intuitive

* Fixes member invite input on moble

* Fix login button when searching mods

* Improved mobile mod search

Consistently sized pagination buttons

Breakpoint for sort buttons on smaller screens

* Consistent link style on text-only pages

* Better 4k support

* Slightly better mobile project-card support

Shuffles categories under mod icon when there is room

* Animate homepage typewriter effect backwards

* Tiny commit to align mod icons in mod headers

* Make processing status include 'Under Review'

This can be later updated once the backend has a separate status

* Create vercel.json

* Update domain auto detection

* Test vercel NODE_ENV

* Remove console.log for debugging hosting services

* Make mobile first + fix shrinked text circle size

* Optimize SVG

* Change media queries to be more mobile first

* Remove `|| window.location.origin`

* re-deploy vercel

* Change "Processing" message to "Under review"
2021-05-27 09:27:13 -07:00
venashial
52e018989d Add show snapshots to URL + Add snapshot checkbox (#210)
* Add show snapshots to URL + Add snapshot checkbox

* Revert spacing changes

* Make checkbox more reusable

* Use new checkbox for team permissions

* Remove XMLNS from imags/utils SVGs
2021-05-25 22:26:14 -07:00
Redblueflame
12d86493bf Switch ads provider, and switch the analytics system to Ariadne (#214)
* Switch ads provider, and switch the analytics system to Ariadne

* Fix CI error

* Remove debug messages and errors

* Updated nuxtjs
2021-05-18 07:48:26 -07:00
venashial
c97cba69b9 Client-side/server-side filters (#204)
* Add client and server side categories

* Quick fix for mistyped facet

* Get rid of console.logs used for debugging

* Re-add eslint overrides

* Optimize SVG

* Simplify .includes() checks
2021-05-16 12:35:46 -07:00
Redblueflame
0bda636113 Added mobile friendly ads & ads (#161)
* Fix spacing issues on mobile

* Added back linting on modules directory.
Please don't look at the dirty fixes :x

* Add support for responsive ads.

* Add lazy loading of images.
2021-04-15 06:48:33 -07:00
Geometrically
c06c3d48d2 Partial Mobile Support (#156)
* Add partial mobile support

* Remove file used for seperate PR

* Add mobile support for cookie consent, make dropdown close on page change
2021-04-10 22:51:10 -07:00
Redblueflame
03b2d02742 Change ads provider, and add consent system for advertising (#155)
* Add GAM integration & base for GPDR consent

* Moved consent to a specific page.

* Added functionality to the privacy page, and desactivate tracking if consent is not given.

* Added GeoEdge support, and fixed auth issues

* Fix actions issue

* Fix actions issue, attempt 2

* Added a module for analytics with consent support.

* Remove unnecessary function

* Add support for runtime config
2021-04-08 19:44:25 -07:00
Redblueflame
af8fc53704 Layout refactor (#150)
* Revert recent commits

* Move things around, and do preparation work for nested page systems.

* Fixed issue on side bar not appearing
2021-03-31 19:09:18 +02:00
Jai A
e61a1080f7 Organize components, switch auth to not use session 2021-03-30 21:38:12 -07:00
Redblueflame
1dc6e085cc Ordered the licences in alphabetical order, and put custom at the bottom (#134)
* Ordered the licences in alphabetical order, and put custom at the bottom.

* Fixed package-lock.json version change
2021-03-30 09:02:26 -07:00
Jai A
e6ece10716 Fix #9, Fix #42, Fix #48, Fix #95, Fix #96, Fix #97, Fix #99, Fix #119. Fix 120 2021-03-26 22:07:15 -07:00
Geometrically
9c10186158 Mod page fixes, better ad wrapper to make it look better with the site 2021-01-22 22:43:55 -07:00
Geometrically
0fee90e4df Fix broken placements 2021-01-18 08:56:41 -07:00
Geometrically
0cced44491 Switch to Google Adsense 2021-01-17 20:14:10 -07:00
Jai A
2ce8a890e2 Re-add EthicalAds 2020-12-21 22:25:46 -07:00
Jai A
dcc83271af Add slugs 2020-12-16 13:30:20 -07:00
Jai A
8df8bf33a4 Fix sorting 2020-12-02 10:56:50 -07:00
Jai A
992cdb992a Fix some moderation bugs 2020-12-01 11:39:47 -07:00
Jai A
a8d150db5c Remove CurseForge integration - some more minor fixes 2020-11-30 15:34:04 -07:00
Jai A
d7e6367ff3 Minor Fixes 2020-11-30 15:10:30 -07:00
Prospector
7b84d8c3d5 [WIP] Rework design (#34)
* WIP: Redesign the default layout

* Merge old & new default layouts

* Fix login logic; add proper user controls dropdown

* Fix latest version listing (#31) (#32)

Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com>

* First pass of design cleanup

* Improve ad integration and fix light theme

* Begin splitting up variables, change some styling to new mockup

* Continue redesign progress

* Work on some more pages

* Add missing dark theme variables for text

* Continue working on modularizing

* Continue progress, redo pagination

* Fix auth buttons in navbar layout

* Continue progress

* Continue progress more

* Redo ModResult

* Scope ModPage :irritater:

* Continue Dashboard

* Continue progress on Dashboard and cleanup

* Add missing variables for dark theme

* Small tweaks, cleanup, and continue mod page progress

* Fix user not being able to see hidden mods that they own

* Start reworking mod creation

* Continue revamp of mod creation page

* Yank v-html out

* Hotfix markdown rendering and some spacing issues

* Move legal; continue with mod creation; create reusable footer

* Create README.md

* Update README.md

* Update README.md

* Add in basic usage instructions

* Fix some stuff

* Continue with mod creation; fix some CSS errors

* Start user page

* Start transition to vue-select; fix a few bugs

* Continue mod creation page

* Finish mod pages

* Add very raw version editing

* Mod editing + creation

* Fixed versions that were in processing causing a 404 (#39)

Co-authored-by: Mikhail Oleynikov <falseresync@gmail.com>
Co-authored-by: Aeledfyr <45501007+Aeledfyr@users.noreply.github.com>
Co-authored-by: Jai A <jai.a@tuta.io>
Co-authored-by: MulverineX <mulverin3@gmail.com>
Co-authored-by: diabolical17 <calumproh28@gmail.com>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2020-11-30 14:55:01 -07:00
Aeledfyr
07c255f7f8 Fix latest version listing (#31) 2020-11-10 10:59:54 -07:00
Jai A
8ca09f6384 Fix ad warning, add snapshot search 2020-11-05 18:00:40 -07:00
Jai A
5b77e78662 Unpushed stuff 2020-11-02 22:05:08 -07:00
Jai A
3434907f52 Update Ad Placement, fix version sorting 2020-10-30 22:15:08 -07:00
Jai A
dd9b1c047c Change to EthicalAds 2020-10-28 20:39:44 -07:00
Jai A
d3bac307bb Test ads, fix search reload on non-relevance sort types 2020-10-25 13:48:13 -07:00
Jai A
8f487d7d4e Bug Fixes 2020-10-21 14:30:13 -07:00
Jai A
89ebce79b2 Add versions section 2020-10-21 13:43:49 -07:00
Jai A
8cd4cc7d0d Fix SVGs, cleanup, switch stats backend 2020-10-18 20:00:03 -07:00
Jai A
608ab8f4ad Fix creation + make it more accessible. Also added User Pages. User Context Menu moved to settings cog 2020-10-17 11:28:05 -07:00
Jai A
6effe47bcc Finish mod creation 2020-10-15 20:23:01 -07:00
Jai A
205080a210 Creation work 2020-10-14 16:03:09 -07:00
Jai A
bc998988c2 Mod creation WIP 2020-10-12 22:33:56 -07:00
Jai A
80b470cfd3 Fix scaling issue 2020-10-11 22:46:26 -07:00
Jai A
f4a518ce6b Remove lots of inline SVGs, use moment.js for times, add some pages for future work 2020-10-09 14:25:02 -07:00
Jai A
3656e6ef54 Some search fixes, switch from created() to fetch() for SSR 2020-10-04 20:19:48 -07:00
Jai A
f561de200d Auth 2020-10-02 21:05:43 -07:00
Jai A
1c0cc8e91c Homepage base 2020-09-30 22:37:34 -07:00
Jai A
fb38573b7e Make Search fully SSR 2020-09-22 08:21:07 -07:00
stairman06
8a2f45ec23 Make responsive (#8)
* Refactor ModResult to use CSS Grid

* Mobile support for ModResult

* Mobile navbar

* Mobile fixes, get rid of x overflow

* Mobile filter support

* Fully responsive

* Collapse categories view later

* Mobile-first

* Fix version selector width
2020-09-18 13:05:13 -07:00
Jai A
fee2eb9251 Fix spinner CSS, add snapshots + alpha/beta versions 2020-09-18 10:23:25 -07:00
Jai A
24035c4ae8 Finish Search 2020-09-17 22:14:57 -07:00
Jai A
aa8215df34 URL Handling 2020-09-16 22:35:58 -07:00
Jai A
eb78e3d640 Version filters 2020-09-15 21:43:11 -07:00