545 Commits

Author SHA1 Message Date
Sasha Sorokin
bd49d6bd89
Inject native router only in reactive scopes (#1730) 2024-06-15 08:27:38 -04:00
Geometrically
05d45d9aab
Fix page crash on orgs (#1727) 2024-06-14 15:43:09 -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
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
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
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
Geometrically
364a4faa75
Fix invalid auth error on project submit (#1655) 2024-03-09 16:31:57 -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
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
Mysterious_Dev
e9483cb242
Use omorphia icons for auth pages (#1614)
* Begin Work

* Use omorphia icons for sign-up page
2024-01-28 11:02:29 -08:00
Mysterious_Dev
5243d8bedf
Use Composition API for settings index (#1613) 2024-01-28 11:02:03 -08:00
Prospector
ed731fd7a6
Fix org project list sorting and add loaders to tags (#1610) 2024-01-28 11:00:17 -08:00
Prospector
07f5422132
Fix donation links in project settings (#1609) 2024-01-28 10:59:36 -08:00
Mysterious_Dev
5aa1764848
Add translation keys for authorize page (#1594)
* Begin Work

* Error label

* WIP

* Finish button & add authorize label

* Redirect URL Label

* Reorganize

* Finish work

* Fix lint error

* camelCase !

* Normalization

* Apply suggestion from brawaru

* Fix forgotten
2024-01-28 10:59:08 -08:00
Mysterious_Dev
4973ee555b
Add translation keys for Pats page (#1590)
* Begin Work

* More work

* Fix lint error

* More work on label

* Fix mistake

* Finish adding  delete pat modal keys

* More label and button

* More label keys

* Fix lint error

* Description key

* Finish page

* Forgot this

* Fix lint error

* Add to navstack

* Apply suggestions from brawaru

* Normalization

* Re-organize PATs page messages (#10)

- Group messages by their usage
- Fix spelling mistakes in some of the property names and keys
- Change some of the keys to conform to keying conventions
- Change variable name in token.expires-in message to inTime

* Regenrate index.json

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-28 10:58:23 -08:00
Jai A
4bfccba4c0
remove search from home 2024-01-27 10:11:14 -08:00
Mysterious_Dev
b5921897d6
Rework session keys for normalization (#1603) 2024-01-27 09:53:46 -08:00
AdamRaichu
da977ccace
add title to leave project button (#1583) 2024-01-27 09:44:10 -08:00
Mysterious_Dev
fc16771355
Fix: Projects in collections have less tags shown that they have (#1599)
* Fix: Projects in collections have less tags shown that they have

* Fix lint error
2024-01-27 09:37:35 -08:00
pseudonym-2669
3ef3fbfd0e
Fix scoped typo (#1605) 2024-01-27 09:36:38 -08:00
Mysterious_Dev
415a0aaf75
Fix: Copy ID button doesn't work (#1598) 2024-01-27 09:36:16 -08:00
Emma Alexia
5a4a9b570e
Fix discrepancy in Markdown rendering (#1595) 2024-01-27 09:35:04 -08:00
Misode
2df60d6387
Add download stat on organization pages (#1581)
* Add download stat to organization page

* Fix plural in projects stat
2024-01-27 09:32:11 -08:00
Mysterious_Dev
9c176013ab
Add translation keys for sign-in page (#1551)
* Begin Work

* WIP

* WIP

* WIP

* Use error notification keys

* Finish & fix error

* Fix lint error

* Normalize message IDs (#9)

It makes sense to compose message IDs in order:
- Place (page, sub page / "modal")
- Thing
- (optionally) Relation to the thing

For example, a label for a password field would be:
- auth.sign-in (on sign-in subpage of auth)
- password (password field)
- label (is a label for the field)

Another example - button to sign in:
- auth.sign-in
- action (this is an action to do something)
- sign-in (action to sign in)

This helps keep the IDs closer to the actual structure of the page,
oftentimes smaller in the code, and easier to understand by translators.

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:31:25 -08:00
Mysterious_Dev
036d251e15
Add translation keys for sign-up page (#1505)
* Begin Work

* WIP

* WIP

* Finish adding notification keys

* WIP

* Finish work

* Fix lint error

* Re-organize Sign up page messages (#13)

- Re-order messages by their appearance in template
- Change the keys to conform to conventions
- Inline password mismatch notification message

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:30:09 -08:00
Mysterious_Dev
925060689a
Add translation keys for verify email page (#1503)
* Begin Work

* Begin Work

* WIP

* Finish Work

* Fix lint error

* Re-organize keys on E-mail verification page (#12)

- Group messages by the step
- Use simpler keys for message properties as they're not public
- Change message keys to conform to conventions

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:28:52 -08:00
Mysterious_Dev
f0631d734e
Add translation keys for reset password page (#1502)
* Begin Work

* Add email sent notification keys

* Finish adding notification keys

* Fix lint error

* Finish work (I think)

* Remove password label (generic)

* Add password label key

* Re-organize Reset password page messages (#11)

- Group messages by their use
- Change some of the keys for clarity
- Change some keys to conform to conventions

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2024-01-27 09:27:34 -08:00
Mysterious_Dev
52b299315d
Add translation keys for collections (#1496)
* Begin Work

* Add more common messages

* Work on modal

* Add more keys

* Add keys for icon buttons

* Add more keys

* Handle error keys

* Add more keys

* Add more keys

* Edit fields keys

* Finish (almost)

* Finish work for collection page

* Dashboard Nav stack & Format

* WIP

* Move some messages to common

* Finish work

* Format

* Reorganization

* Fix some mistake

* add common collections label

* Add collections label key to default layout

* Make title and description reactive (#8)

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
2024-01-27 09:24:19 -08:00
Prospector
0195e94aa7
Add notification pagination (#1584)
* Add notification pagination

* Add grouping to dashboard home
2024-01-27 09:23:57 -08:00