774 Commits

Author SHA1 Message Date
Jai A
4736fb8e32
Merge remote-tracking branch 'knossos/monorepo-migration' 2024-07-03 11:20:33 -07:00
Jai A
531e7ec73d
prepare for knossos merge 2024-07-03 11:20:25 -07:00
Jai A
ff946b4f2f
Move files in preparation for monorepo migration 2024-07-03 11:13:51 -07:00
Jai A
68f0e68343
Initial monorepo setup 2024-07-03 11:05:58 -07:00
Jai A
12a3520563
feat(nx): Generated CI workflow 2024-07-03 00:18:37 -07:00
Jai A
e84426a4f9
feat(nx): Added Nx Cloud token to your nx.json
To connect your workspace to Nx Cloud, push your repository
          to your git hosting provider and go to the following URL:

          https://cloud.nx.app/connect/BTN2S5oDFZ
2024-07-03 00:18:36 -07:00
Jai A
8b80934f77
Initial commit 2024-07-03 00:18:35 -07:00
Sasha Sorokin
b6618f81f8
Fix transition covering More download options btn (#1736)
This pushes bottom transition to a background level while setting it so
that any z-indexes are isolated within the hero to avoid any other
weirdness from happenning.
2024-07-02 22:05:27 -07:00
Sasha Sorokin
bd49d6bd89
Inject native router only in reactive scopes (#1730) 2024-06-15 08:27:38 -04:00
Sasha Sorokin
61fd6f1741
Fix Turnstile unable to read the siteKey (#1728)
It seems that Nuxt Turnstile's way of setting the key in `runtimeConfig`
is broken and doesn't work properly, resulting in an error in runtime,
because it has to be set. This commit sets the key in `runtimeConfig`
manually instead, which seems to fix the issue.
2024-06-14 23:26:45 -04:00
Geometrically
05d45d9aab
Fix page crash on orgs (#1727) 2024-06-14 15:43:09 -07:00
Geometrically
612eb64a83
fix broken navrow (#1725) 2024-06-14 15:29:35 -07:00
Sasha Sorokin
e0a9e62d84
Fix building for Cloudflare Nitro preset (#1726)
It seems that Rollup node-resolve module doesn't properly deal with
trailing slashes, causing it to thing that `string_decoder` is a
built-in Node.js dependency and attempt to import it from `unenv`, which
will obviously fail, because `string_decoder` is not, in fact, a Node.js
dependency, but an individual dependency of `readable-stream`.

This adds a small patch for `readable-stream@2.3.8` dependency, which
removes the leading slash, which seems to fix the builds.

This probably should be reported to relevant developers (Rollup
node-resolve plugin or Nitro?).
2024-06-14 15:26:12 -07:00
Sasha Sorokin
5db5f2251f
Fix bad if condition on languages page (#1721) 2024-06-14 15:21:22 -07:00
Sasha Sorokin
34fd9d29c8
Update Nuxt to v3.12.1 (#1720)
* Update Nuxt dependencies

* Fix ref access in ChartDisplay

* Fix feature flags cookie options type error

* Specify type-only imports

* Fix shorthands access to tags outside of reactive scope

* Replace most useRoute calls with useRoute from vue-router

Nuxt's version of this composable is horrendously broken (nuxt/nuxt#21340)

* Import all svgs with ?component parameter

Fixes weird hydration issues + gives correct type
2024-06-14 13:23:02 -07:00
Sasha Sorokin
c6d8476963
Update pnpm to v9.3.0 (#1684) 2024-06-13 11:13:26 -07:00
Prospector
1d9fe0c03d
Add new links card and feature flag system for incremental dev. (#1714)
* Add new links card and feature flag system for incremental dev.

* Switch to env variable for dev flags

* Add members card

* fix order of creators card

* Fix owner icon color and bring org owner to top of list

* lint + other fixes

* Revamp feature flag system, add flag config page

* Add button to flags page in dev mode

* fix env overrides

* make typescript happy with the refs
2024-06-11 19:46:07 -07:00
Jakob
5b2d36e976
Move extra loaders and change RP Resolutions to use OR (#1398)
* Put extra loaders at bottom of the list

* Added hidden loaders to a tag

* Made RP Resolutions use OR

* fixed lint
2024-06-11 19:45:48 -07:00
Prospector
547135f7d2
Fix lint 2024-05-20 21:58:58 -07:00
tobinio
15f1416f52 fix weird graph rendering 2024-05-17 13:57:20 -07:00
ItsNiceCraft
b2709aa816 docs(cmp-info): update last modified 2024-05-17 13:56:26 -07:00
ItsNiceCraft
9775d4e74d docs(cmp-info): update analytics section 2024-05-17 13:56:26 -07:00
intergrav
f5661af1f4 feat: third party packages on app page 2024-05-17 13:53:37 -07:00
Geometrically
611bec38b4
Pre-generate homepage (#1699)
* Pregenerate homepage:

* fix lint
2024-05-03 14:48:14 -07:00
Prospector
5a166d2455
Change to non-interactive turnstile (#1678) 2024-04-18 16:36:26 -07:00
Prospector
6808d270a7
Fix project header shadow (#1682) 2024-04-18 16:36:04 -07:00
Prospector
9dc68611a1
Remove incorrect minimum withdraw amount from dashboard (#1683) 2024-04-18 16:35:37 -07:00
Prospector
e932f38160
Fix pats and sessions using invalid translation keys (#1681) 2024-04-12 15:14:55 -07:00
Jai A
9014835880
fix translation issue 2024-04-10 18:48:06 -07:00
Geometrically
00328d04cd
Add messages to checklist (#1676) 2024-04-10 18:31:05 -07:00
Prospector
5b1850e161
Fix system theme not respecting preferred dark theme. (#1673) 2024-04-10 18:30:46 -07:00
Prospector
60727656c9
Fix project list layouts on mobile (#1671) 2024-04-10 18:30:27 -07:00
Prospector
372d021062
Refactor settings to use common lang keys for titles (#1674) 2024-04-10 18:30:13 -07:00
Prospector
9c4421bfe0
Fix theme preview width (#1670) 2024-04-09 19:56:32 -07:00
Prospector
5f85af76cd
Fix missing categories and environments on orgs and following collection (#1667) 2024-04-09 11:20:41 -07:00
Prospector
4c2565826f
Settings refactor and redesign (#1669)
* new settings work

* Polishing work on settings refactor

* Run intl:extract

* List view -> Rows view

* Remove current preferred system theme indicator to make the themes fit on one line

* Remove extra margin on top of navstack
2024-04-09 11:18:56 -07:00
Jai A
ae2d83c8aa
update dashboard to apiv3 2024-03-29 22:20:31 -07:00
Jai A
3b0216ca7e
fix moderation dash 2024-03-29 22:09:45 -07:00
Jai A
1abfb175b5
remove unused import 2024-03-19 17:41:37 -07:00
Geometrically
a771695348
Remove mod inbox (#1661) 2024-03-19 17:36:09 -07:00
Sasha Sorokin
fe3e4edb04
Fix removing oneself from the team not working (#1657) 2024-03-10 13:03:35 -07:00
Geometrically
364a4faa75
Fix invalid auth error on project submit (#1655) 2024-03-09 16:31:57 -07:00
Jai A
331787fe43
fix update projects 2024-02-24 22:43:20 -07:00
Jai A
9484a7237c
fix moderation route 2024-02-21 23:10:23 -07:00
Jai A
96063969ae
fix auth 2024-02-21 16:23:34 -07:00
Geometrically
cb1c8be870
Moderation checklist (#1635)
* Moderation checklist

* Skip button

* Fix modpacks

* Fix modpack types not being sent

* Fixes

* remove explainer

* pass auth to analytics
2024-02-21 16:11:11 -07:00
Prospector
5ea71da181
Add .ts to commonMessages import in default.vue 2024-02-01 08:04:28 -08:00
Prospector
dda469d10e
Add translations for the default page layout (#1616)
* Convert default.vue to composition API

* Add translations to default page layout

* Generate index.json

* Fix sign up page

* Generate index.json

* Fix atUserLabel

* Fix composition API port

* Follow-up fixes for #1616 (#1618)

* Re-organize default layout messages

- Group some of the messages by their appearance (like banners)
  Grouping makes avoids having to think too much about the property
  names, keeps declarations clean, and also can be minified better,
  since variable names, unlike property names, can be easily mangled.

- Remove needless type specification in property name[^1]
  It's already clear from where the message is formatted what it does,
  and if you need clarification, you can Ctrl+hover and see the type in
  the key.

- Change some keys to conform to conventions
  We generally follow the pattern location > kind?. Things like 'label'
  are unnecessary, as everything is assumed to be label by default; the
  same applies to things like 'button', which are also often unnecessary
  as they're part of the location compound.

- Remove message for handle, which should not be translatable
  It's very unlikely user handle format changes between any of the
  locales.

[^1]: Common messages are pending restructuring that would fix this

* Fix navRoutes not being computed in default layout

* Fix untranslated Get Modrinth App buttons in default layout

* Make legal disclaimer in the default layout translatable

It wouldn't make much sense to leave it untranslated since it is meant
for the end users too. It is also so small that it's unlikely to be
mistranslated.

* Extract missed legal disclaimer message from default layout

* Make SEO strings in default layout translatable

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-29 18:55:54 -08:00
Prospector
9f6e033c53
Add review delay link to moderation page (#1619) 2024-01-29 18:55:37 -08:00
Prospector
15f44adf3b
Add support and update footer links (#1615) 2024-01-28 13:15:51 -08:00