Blodhgarm
4ddb5640cf
fix: reports not reporting all possible reports ( #5933 )
...
* Fix Reports page only giving 695 reports due to Labrinth Issue
Basically, for some reason, Labrinth returns 5 less depending on the amount requested and the offset position, leading to the end of all reports, even if it's not correct.
Signed-off-by: Blodhgarm <timekeeperguild@gmail.com >
* remove constant condition
---------
Signed-off-by: Blodhgarm <timekeeperguild@gmail.com >
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com >
2026-05-01 00:00:14 +00:00
Calum H.
87c86c7d0d
refactor: remove useBaseFetch for @modrinth/api-client ( #5596 )
...
* Reapply "fix: start swapping useBaseFetch usages to api-client"
This reverts commit f4f33db7019ea861addb2c66c204d736800b7b6c.
* fix: bugs
* fix: analytics
* fix: lint
2026-03-17 20:06:19 +00:00
Truman Gao
681ae5d1d8
refactor: removing useAsyncData for tanstack query ( #5262 )
...
* refactor: most places with useAsyncData replaced with tanstack query
* refactor report list and report view
* refactor organization page to use tanstack query
* fix types
* refactor collection page and include proper loading state
* fix followed projects proper loading state
* fix 404 handling
* fix organization loading and 404 states
* pnpm prepr
* refactor: remove useAsyncData on newsletter button
* refactor: remove useAsyncData on auth globals fetch
* refactor: settings/billing/index.vue to useQuery instead of useAsyncData
* refactor: user page to remove useAsyncData
* pnpm prepr
* fix reports pages
* fix notifications page
* fix billing page cannot read properties of null and prop warnings
* fix refresh causing 404 by removing useBaseFetch and use api-client
* fix stale data after removing organization from project
* pnpm prepr
* fix news erroring in build
* fix: project page loads header only after content
* fix: user page tanstack problems (start on migrating away from useBaseFetch)
* fix: start swapping useBaseFetch usages to api-client
* Revert "fix: start swapping useBaseFetch usages to api-client"
This reverts commit 3df3fab11d535159132b1288dd7cacc38282b553.
* fix: remove debug logging
* fix: lint
---------
Co-authored-by: Calum H. <calum@modrinth.com >
Co-authored-by: Calum H. (IMB11) <contact@cal.engineer >
2026-03-16 19:10:29 +00:00
Calum H.
37eac92329
refactor: migrate all input fields to StyledInput ( #5306 )
...
* feat: StyledInput component
* migrate: auth pages to styledInput
* migrate: search/filter inputs
* migrate: dashboard inputs
* migrate: app frontend
* migrate: search related inputs
* migrate: all of app-frontend
* fix: missing inputs on app-frontend
* migrate: frontend
* feat: multiline
* migrate: textareas
* fix: storybook use text-primary
* fix: lint
* fix: merge conflict
* feat: cleanup
2026-02-09 14:57:31 +00:00
lumiscosity
6d68d50699
Deduplicate common strings in translation ( #5085 )
...
* deduplicate common strings, part 1
* deduplicate common strings, part 2
* typo and general import mess fixes
* detail common string
* fix lint
* fix lint TWO
* adress review concerns + lint
* app lint too
* actually leave privateLabel untouched
* lint fix THREE
* fix: broken msg
* fix: lint
---------
Co-authored-by: Calum H. <contact@cal.engineer >
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com >
2026-01-28 18:10:50 +00:00
Calum H.
a869086ce9
polish(frontend): technical review QA ( #5097 )
...
* feat: filtering + sorting alignment
* polish: malicious summary modal changes
* feat: better filter row using floating panel
* fix: re-enable request
* fix: lint
* polish: jump back to files tab qol
* feat: scroll to top of next card when done
* fix: show lock icon on preview msg
* feat: download no _blank
* feat: show also marked in notif
* feat: auto expand if only one class in the file
* feat: proper page titles
* fix: text-contrast typo
* fix: lint
* feat: QA changes
* feat: individual report page + more qa
* fix: back btn
* fix: broken import
* feat: quick reply msgs
* fix: in other queue filter
* fix: caching threads wrongly
* fix: flag filter
* feat: toggle enabled by default
* fix: dont make btns opacity 50
---------
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com >
2026-01-20 19:56:24 +00:00
Prospector
1bbb01bd42
devex: migrate to vue-i18n ( #4966 )
...
* sample languages refactor
* feat: consistency + dedupe impl of i18n
* fix: broken imports
* fix: intl formatted component
* fix: use relative imports
* fix: imports
* fix: comment out incomplete locales + fix imports
* feat: cleanup
* fix: ui imports
* fix: lint
* fix: admonition import
* make footer a component, fix language reactivity
* make copyright notice untranslatable
---------
Co-authored-by: Calum H. <contact@cal.engineer >
2025-12-27 21:37:37 +00:00
aecsocket
39f2b0ecb6
Technical review queue ( #4775 )
...
* chore: fix typo in status message
* feat(labrinth): overhaul malware scanner report storage and routes
* chore: address some review comments
* feat: add Delphi to Docker Compose `with-delphi` profile
* chore: fix unused import Clippy lint
* feat(labrinth/delphi): use PAT token authorization with project read scopes
* chore: expose file IDs in version queries
* fix: accept null decompiled source payloads from Delphi
* tweak(labrinth): expose base62 file IDs more consistently for Delphi
* feat(labrinth/delphi): support new Delphi report severity field
* chore(labrinth): run `cargo sqlx prepare` to fix Docker build errors
* tweak: add route for fetching Delphi issue type schema, abstract Labrinth away from issue types
* chore: run `cargo sqlx prepare`
* chore: fix typo on frontend generated state file message
* feat: update to use new Delphi issue schema
* wip: tech review endpoints
* wip: add ToSchema for dependent types
* wip: report issues return
* wip
* wip: returning more data
* wip
* Fix up db query
* Delphi configuration to talk to Labrinth
* Get Delphi working with Labrinth
* Add Delphi dummy fixture
* Better Delphi logging
* Improve utoipa for tech review routes
* Add more sorting options for tech review queue
* Oops join
* New routes for fetching issues and reports
* Fix which kind of ID is returned in tech review endpoints
* Deduplicate tech review report rows
* Reduce info sent for projects
* Fetch more thread info
* Address PR comments
* fix ci
* fix postgres version mismatch
* fix version creation
* Implement routes
* fix up tech review
* Allow adding a moderation comment to Delphi rejections
* fix up rebase
* exclude rejected projects from tech review
* add status change msg to tech review thread
* cargo sqlx prepare
* also ignore withheld projects
* More filtering on issue search
* wip: report routes
* Fix up for build
* cargo sqlx prepare
* fix thread message privacy
* New tech review search route
* submit route
* details have statuses now
* add default to drid status
* dedup issue details
* fix sqlx query on empty files
* fixes
* Dedupe issue detail statuses and message on entering tech rev
* Fix qa issues
* Fix qa issues
* fix review comments
* typos
* fix ci
* feat: tech review frontend (#4781 )
* chore: fix typo in status message
* feat(labrinth): overhaul malware scanner report storage and routes
* chore: address some review comments
* feat: add Delphi to Docker Compose `with-delphi` profile
* chore: fix unused import Clippy lint
* feat(labrinth/delphi): use PAT token authorization with project read scopes
* chore: expose file IDs in version queries
* fix: accept null decompiled source payloads from Delphi
* tweak(labrinth): expose base62 file IDs more consistently for Delphi
* feat(labrinth/delphi): support new Delphi report severity field
* chore(labrinth): run `cargo sqlx prepare` to fix Docker build errors
* tweak: add route for fetching Delphi issue type schema, abstract Labrinth away from issue types
* chore: run `cargo sqlx prepare`
* chore: fix typo on frontend generated state file message
* feat: update to use new Delphi issue schema
* wip: tech review endpoints
* wip: add ToSchema for dependent types
* wip: report issues return
* wip
* wip: returning more data
* wip
* Fix up db query
* Delphi configuration to talk to Labrinth
* Get Delphi working with Labrinth
* Add Delphi dummy fixture
* Better Delphi logging
* Improve utoipa for tech review routes
* Add more sorting options for tech review queue
* Oops join
* New routes for fetching issues and reports
* Fix which kind of ID is returned in tech review endpoints
* Deduplicate tech review report rows
* Reduce info sent for projects
* Fetch more thread info
* Address PR comments
* fix ci
* fix ci
* fix postgres version mismatch
* fix version creation
* Implement routes
* feat: batch scan alert
* feat: layout
* feat: introduce surface variables
* fix: theme selector
* feat: rough draft of tech review card
* feat: tab switcher
* feat: batch scan btn
* feat: api-client module for tech review
* draft: impl
* feat: auto icons
* fix: layout issues
* feat: fixes to code blocks + flag labels
* feat: temp remove mock data
* fix: search sort types
* fix: intl & lint
* chore: re-enable mock data
* fix: flag badges + auto open first issue in file tab
* feat: update for new routes
* fix: more qa issues
* feat: lazy load sources
* fix: re-enable auth middleware
* feat: impl threads
* fix: lint & severity
* feat: download btn + switch to using NavTabs with new local mode option
* feat: re-add toplevel btns
* feat: reports page consistency
* fix: consistency on project queue
* fix: icons + sizing
* fix: colors and gaps
* fix: impl endpoints
* feat: load all flags on file tab
* feat: thread generics changes
* feat: more qa
* feat: fix collapse
* fix: qa
* feat: msg modal
* fix: ISO import
* feat: qa fixes
* fix: empty state basic
* fix: collapsible region
* fix: collapse thread by default
* feat: rough draft of new process/flow
* fix labrinth build
* fix thread message privacy
* New tech review search route
* feat: qa fixes
* feat: QA changes
* fix: verdict on detail not whole issue
* fix: lint + intl
* fix: lint
* fix: thread message for tech rev verdict
* feat: use anim frames
* fix: exports + typecheck
* polish: qa changes
* feat: qa
* feat: qa polish
* feat: fix malic modal
* fix: lint
* fix: qa + lint
* fix: pagination
* fix: lint
* fix: qa
* intl extract
* fix ci
---------
Signed-off-by: Calum H. <contact@cal.engineer >
Co-authored-by: Alejandro González <me@alegon.dev >
Co-authored-by: aecsocket <aecsocket@tutanota.com >
---------
Signed-off-by: Calum H. <contact@cal.engineer >
Co-authored-by: Alejandro González <me@alegon.dev >
Co-authored-by: Calum H. <contact@cal.engineer >
2025-12-20 11:43:04 +00:00
Cal H.
2aabcf36ee
refactor: migrate to common eslint+prettier configs ( #4168 )
...
* refactor: migrate to common eslint+prettier configs
* fix: prettier frontend
* feat: config changes
* fix: lint issues
* fix: lint
* fix: type imports
* fix: cyclical import issue
* fix: lockfile
* fix: missing dep
* fix: switch to tabs
* fix: continue switch to tabs
* fix: rustfmt parity
* fix: moderation lint issue
* fix: lint issues
* fix: ui intl
* fix: lint issues
* Revert "fix: rustfmt parity"
This reverts commit cb99d2376c321d813d4b7fc7e2a213bb30a54711.
* feat: revert last rs
2025-08-14 20:48:38 +00:00
IMB11
17c9e4a721
revert: dont use local storage for filters ( #4129 )
2025-08-08 21:30:39 +00:00
IMB11
6387fb21c6
feat: Moderation Dashboard Overhaul ( #4059 )
...
* feat: Moderation Dashboard Overhaul
* fix: lint issues
* fix: issues
* fix: report layout
* fix: lint
* fix: impl quick replies
* fix: remove test qr
* feat: individual report page + use new backend
* feat: memoize filtering
* feat: apply optimizations to moderation queue
* fix: lint issues
* feat: impl quick reply functionality
* fix: top level await
* fix: dep issue
* fix: dep issue x2
* fix: dep issue
* feat: intl extract
* fix: dev-187
* fix: dev-186 & review project btn
* fix: dev-176
* remove redundant moderation button from user dropdown
* correct a msg and add admin to read filter
---------
Co-authored-by: coolbot100s <76798835+coolbot100s@users.noreply.github.com >
2025-07-29 21:19:25 +00:00