Commit Graph

49 Commits

Author SHA1 Message Date
5189c5a438 Remove ads.txt and bump to v0.8.504 2024-09-04 18:53:26 +03:00
Jai A
e69337a1fc update ads.txt with new dsps 2024-09-03 21:22:24 -07:00
Sasha Sorokin
50734af6cd Fix Game versions input not showing (#2358)
There is a bug in vue-multiselect library where it will default
`custom-label` property to raw properies object. Presumably this is a
bug that appeared because they ported library to Vue 3 and have not
considered that the signature for `default` prop's function has changed.

To work around this, we can provide custom `custom-label` property that
is just a function that returns the input itself. In other places, where
objects are passed, `label` property can be used. In this case the first
suggestion applies. DO NOT USE VUE-MULTISELECT WITOUT `LABEL` OR
`CUSTOM-LABEL` PROPS!
2024-09-03 16:44:21 +00:00
Geometrically
bd61f5d591 Fix auto updater, add failure message, fix modals (#2335)
* Fix auto updater, add failure message, fix modals

* Fix ads hiding, updater UI

* dummy version, fix gh actions cache

* fix release conf

* actual version bump

* Fix ads hiding sometimes

* Fix event state init

* fix remaining bugs

* Fix lint on linux

* Fix deep linking on Windows

* Fix ad links opening multiple times
2024-08-30 10:42:58 -07:00
Geometrically
acf26940d6 Implement ads in desktop app (#2318)
* Implement ads in desktop app

* Finish ads

* use git dep instead

* attempt to fix linux build (temp)

* bump version + lint

* comment more

* fix build

* try to fix linux build

* Fix crashing on windows

* Fix icons not showing

* Remove useless env vars

* Actual linux build fix

* Run fmt

* Fix scrolling

* fix clippy

* bump version + fix localhost

* rev linux build patch

* update version num

* update csp

* update csp

* update csp

* Switch to mousewheel event
2024-08-28 21:44:08 -07:00
Prospector
8311451420 Update public-facing orgs page, componetize page headers (#2307)
* Update public-facing orgs page, componetize page headers

* Improve supported environments

* Move user page stats to top and remove details card

* Fix padding on orgs page when no navlinks

* fix lint

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-08-28 10:12:25 -07:00
Geometrically
bf16d360af Switch to PostHog for app analytics (#2316) 2024-08-27 21:19:07 -07:00
Prospector
396f737612 Fix version page layout 2024-08-26 18:19:53 -07:00
Prospector
2dd8d5a119 Sidebar refinements (#2306)
* Begin sidebar refinement, change back to left as default

* New filters proof of concept

* Hide if only one option

* Version filters

* Update changelog page

* Use new cosmetic variable for sidebar position

* Fix safari issue and change defaults to left filters, right sidebars

* Fix download modal on safari and firefox

* Add date published tooltip to versions page

* Improve selection consistency

* Fix lint and extract i18n

* Remove unnecessary observer options
2024-08-26 16:53:27 -07:00
Prospector
9fd0f6834a Fix missing a11y labels on project page buttons 2024-08-24 07:04:25 -07:00
Jakob
fafd47fd90 Add align to img, p, and div & allow h1 to be centered (#2231)
* Add align to img, p, and div

Signed-off-by: Jakob <minenash@protonmail.com>

* fixed issue from porting pr

Signed-off-by: Jakob <minenash@protonmail.com>

* attempt to fix overflow of aligned imgs

Signed-off-by: Jakob <minenash@protonmail.com>

* Allow h1 to be centered

Signed-off-by: Jakob <minenash@protonmail.com>

* Excluded markdown-body from universal-card styling in components

* Fixed it in editor?

* undid previous attempt, did something simpler

---------

Signed-off-by: Jakob <minenash@protonmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-08-22 18:18:22 -07:00
Sasha Sorokin
e0990910f6 Remove shift caused by the Exclude filter button (#2265)
Previously, the Exclude button was removed from the the element tree
entirely until the group is hovered. Only when the group is hovered, the
button element was being switched to a proper display form. This has
caused the layout shift which was very visible when quickly moving
cursor over the filter options.

This commit makes it so that the Exclude button is always in its proper
display form (flex), however is transparent until the group is hovered.
The repeated transparency classes were removed from the icon as well to
prevent jarringly-looking double transition.
2024-08-22 18:17:59 -07:00
Geometrically
599f23c8aa Optimize stripe links (#2258) 2024-08-22 15:37:48 -05:00
Prospector
f73ed1213f Fix navbar modrinth plus link showing for subscribers 2024-08-21 19:58:04 -07:00
Prospector
daabe11d11 Fix nav for logged out users 2024-08-21 17:21:05 -07:00
Prospector
aaf125cfca Temporary nav revert 2024-08-21 14:08:56 -07:00
Jai A
1afed9f256 Fix version page not working 2024-08-21 09:53:56 -07:00
Prospector
e8d6c15fee Sort user tabs consisently 2024-08-21 09:31:34 -07:00
Prospector
8686b28c28 Fix collections button tooltip 2024-08-21 09:29:55 -07:00
Prospector
d68251ad4b Hide "Install with Modrinth App" for plugin-only projects 2024-08-21 09:17:37 -07:00
Prospector
a02b4ae08f Fix supported environments 2024-08-21 09:00:03 -07:00
Geometrically
9ed1dd714b Fix ads showing with Modrinth PLus (#2187) 2024-08-21 00:30:23 -07:00
Geometrically
e91c76c10c Aditude integration (#2184)
* Aditude integration

* remove diff

* remove unused vars
2024-08-20 23:42:44 -07:00
Prospector
9deddbbe7c Improve environments compat description and fix accessibility issues project-wide 2024-08-20 23:34:53 -07:00
Geometrically
2d416d491c Project, Search, User redesign (#1281)
* New project page

* fix silly icon tailwind classes

* Start new versions page, add new ButtonStyled component

* Pagination and finish mocking up versions page functionality

* green download button

* hover animation

* New Modal, Avatar refactor, subpages in NavTabs

* lint

* Download modal

* New user page + fix lint

* fix ui lint

* Download animation fix

* Versions filter + finish project page

* Improve consistency of buttons on home page

* Fix ButtonStyled breaking

* Fix margin on version summary

* finish search, new modals, user + project page mobile

* fix gallery image pages

* New project header

* Fix gallery tab showing improperly

* Use auto direction + position for all popouts

* Preliminary user page

* test to see if this fixes login stuff

* remove extra slash

* Add version actions, move download button on versions page

* Listed -> public

* Shorten download modal selector height

* Fix user menu open direction

* Change breakpoint for header collapse

* Only underline title

* Tighten padding on stats a little

* New nav

* Make mobile breakpoint more consistent

* fix header breakpoint regression

* Add sign in button

* Fix edit icon color

* Fix margin at top of screen

* Fix user bios and ad width

* Fix user nav showing when there's only one type of project

* Fix plural projects on user page & extract i18n

* Remove ads on mobile for now

* Fix overflow menu showing hidden items

* NavTabs on mobile

* Fix navbar z index

* Search filter overhaul + negative filters

* fix no-max-height

* port version filters, fix following/collections, lint

* hide promos

* ui lint

* Disable modal background animation to reduce reported motion sickness

* Hide install with modrinth app button on mobile

---------

Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Prospector <prospectordev@gmail.com>
2024-08-20 23:03:16 -07:00
Geometrically
a19ce0458a Finalize 0.8.1 release (#2182)
* Finalize 0.8.1 release

* Remove console.logs

* Fix build

* add default to users

* update release conf

* fix again?

* fix build (again)

* actually fix build

* Update config dir

* Update config dir

* Fix dir again
2024-08-20 17:53:14 -07:00
Magnus Jensen
3fca24e6fd remove auto margin from square button svg (#2177) 2024-08-20 23:09:08 +00:00
ToBinio
bb3ce9fbc6 fix: not being able to Follow/Save/Report projects (#2173)
* fix: not being able to Follow/Save/Report projects

* fix lint
2024-08-18 18:08:04 +00:00
Jai A
06f2340569 [hotfix] fix stripe elements not working 2024-08-17 18:10:18 -07:00
Geometrically
807aa04807 Apple pay support, fix publish key (#2171)
* Apple pay support, fix publish key

* fix api url
2024-08-17 17:43:12 -07:00
Geometrically
3a4843fb46 Billing / plus frontend (#2130)
* [wip] initial

* [wip] subscriptions/plus frontend

* [wip] finish payment flow

* Charges page

* finish most subscriptions work

* Finish

* update eslint

* Fix issues

* fix intl extract

* fix omorphia locale extract

* fix responsiveness

* fix lint
2024-08-15 23:21:30 -07:00
Norbiros
a380d39865 feat(frontend): Package datapack as NeoForge mod (#2142) 2024-08-10 20:46:42 +00:00
Norbiros
34d3310eae fix(frontend): Correctly parse neoforge.mods.toml (#2139) 2024-08-10 20:45:49 +00:00
Sasha Sorokin
4fcd518b0a Replace useAutoRef with Vue's toRef (#1332)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:44:48 +00:00
Sasha Sorokin
1e0d7c7e28 Rewrite cosmetics and theme preferences (#1328)
- Cosmetics and theme preferences are now only stored in cookies instead
  of a combination of both cookies and state.

- The theme plugin now supports client hints. This allows the server
  to render a page using the client-preferred theme provided it supplies
  this information (any browser other than Firefox), helping to avoid an
  annoying flash while the page is hydrating.

- For the future, the theme plugin now supports additional light themes.
  Light theme preferences are currently not stored, but this can easily
  be fixed if the need arises.

- The previous workaround using the Nitro plugin has been removed. Its
  functionality is now handled by the Nuxt theme plugin with cleaner
  code.

- All pages and components now use the new plugins.

- Compared to the previous attempt, this commit has been improved to be
  more robust in cases where the theme cookie contains invalid values.

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:42:55 +00:00
Norbiros
c2c7eda799 fix(frontend): Correctly infer Neoforge version info (#1326)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-31 19:41:52 +00:00
Geometrically
04b85630b9 Cache homepage projects in tags (#1336)
* Cache homepage projects in tags

* Update app page
2024-07-31 12:37:51 -07:00
Jai A
57ba84107c Revert "Rewrite cosmetics and theme preferences (#1292)"
This reverts commit 8704d3acb3.
2024-07-25 17:38:37 -07:00
Geometrically
41c15f8c96 Fix styling issues caused by omorphia/tailwind (#1319) 2024-07-24 12:40:36 -07:00
Jai A
5cad3dfbae update rtb info 2024-07-24 11:32:38 -07:00
Sasha Sorokin
ba9dc6ce26 Fix auth redirect URL being double encoded (#1280)
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-20 00:24:35 +00:00
Sasha Sorokin
8704d3acb3 Rewrite cosmetics and theme preferences (#1292)
- Cosmetics and theme preferences are now only stored in cookies instead
  of a combination of both cookies and state.

- The theme plugin now supports client hints. This allows the server
  to render a page using the client-preferred theme provided it supplies
  this information (any browser other than Firefox), helping to avoid an
  annoying flash while the page is hydrating.

- The previous workaround using the Nitro plugin has been removed. Its
  functionality is now handled by the Nuxt theme plugin with cleaner
  code.

- All pages and components now use the new plugins.
2024-07-13 19:20:43 +00:00
Sasha Sorokin
ce4250281f Refactor auth middleware (#1279)
- Switch to TypeScript
- Use early return
- Switch to regular for loop

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-07-11 19:02:00 +00:00
Evan Song
c20242cf1c Fix Cloudflare Pages build (#1285)
* fix(temp): remove box shadows from tailwind config

* fix(temp): "polyfill" global during build process

* refactor: use `import.meta` instead of deprecated `process`

* oops: replace `process.server` as well
2024-07-11 05:17:04 +00:00
Evan Song
04ba76aac8 Add NavTabs component (#1278)
* feat: NavTabs component

* fix: tw config using wrong variable

* fix: actually use the config now

* fix: revert testing
2024-07-10 03:33:50 +00:00
Geometrically
d1bc65c266 Monorepo missing features (#1273)
* fix tauri config

* fix package patch

* regen pnpm lock

* use new workflow

* New GH actions

* Update lockfile

* update scripts

* Fix build script

* Fix missing deps

* Fix assets eslint

* Update libraries lint

* Fix all lint configs

* update lockfile

* add fmt + clippy fails

* Separate App Tauri portion

* fix app features

* Fix lints

* install tauri cli

* update lockfile

* corepack, fix lints

* add store path

* fix unused import

* Fix tests

* Issue templates + port over tauri release

* fix actions

* fix before build command

* Add X86 target

* Update build matrix

* finalize actions

* make debug build smaller

* Use debug build to make cache smaller

* dummy commit

* change proj name

* update file name

* Use release builds for less space use

* Remove rust cache

* Readd for app build

* add merge queue trigger
2024-07-09 15:17:38 -07:00
Evan Song
dab284f339 Frontend Tailwind Fixes + Small Fixes (#1258)
* Fix Tailwind not targeting the src dir

* Merge tw fixes

* Fix footer logo alignment in mobile layout
2024-07-07 18:28:55 -07:00
Evan Song
abec2e48d4 Add TailwindCSS (#1252)
* Setup TailwindCSS

* Fully setup configuration

* Refactor some tailwind variables
2024-07-06 20:57:32 -07:00
Evan Song
0f2ddb452c Migrate to Turborepo (#1251) 2024-07-04 21:46:29 -07:00