feat: shared components for worlds + p2p instances (#5135)

* feat: base content card component

* fix: tooltips + colors

* feat: fix orgs

* feat: add ContentModpackCard

* fix: extract types

* feat: selection v-model

* add show icon in selected for combobox with stories

* feat: add project combobox

* clean up project combobox

* feat: start install to play modal

* fix: events

* feat: figma alignments

* feat: migrate toggle to tailwind

* fix: row borders

* feat: disabled state

* feat: virtual list impl for card table based on window scroll

* fix: lint

* feat: virtualization + smaller contentcard items

* feat: fix gap + border issues on last elm

* fix: use TeleportOverflowMenu

* fix: hasUpdate type

* fix: fallback to svg if src is invalid on avatar component

* fix: storybook

* feat: start on updater modal

* feat: finish content updater modal

* feat: i18n pass

* remove install to play modal from ui package

* pnpm prepr

* feat: reusable table component

* feat: add column width prop for table and fix stories

* feat: add table overflow menu story example

* feat: add surface-1.5 and use in table

* chore: export table in index

* fix: allow more loose typing on columns

* feat: update table component to derive key from column instead of data

* feat: surface 1.5 for oled + refactor story for contentcardtable + yeet sorting funcs

* fix: lint

* feat: add no padding story for new modal

---------

Signed-off-by: Calum H. <contact@cal.engineer>
Co-authored-by: tdgao <mr.trumgao@gmail.com>
This commit is contained in:
Calum H.
2026-01-28 20:09:24 +00:00
committed by GitHub
parent 728f8db7b9
commit 78aca7e5c0
52 changed files with 4097 additions and 939 deletions

View File

@@ -146,6 +146,9 @@
"button.unfollow": {
"defaultMessage": "Unfollow"
},
"button.update": {
"defaultMessage": "Update"
},
"button.upload-image": {
"defaultMessage": "Upload image"
},
@@ -299,9 +302,57 @@
"instance.worlds.game_mode.unknown": {
"defaultMessage": "Unknown game mode"
},
"instances.modpack-card.unlink": {
"defaultMessage": "Unlink modpack"
},
"instances.updater-modal.badge.current": {
"defaultMessage": "Current"
},
"instances.updater-modal.badge.incompatible": {
"defaultMessage": "Incompatible"
},
"instances.updater-modal.downgrade-to": {
"defaultMessage": "Downgrade to v{version}"
},
"instances.updater-modal.header": {
"defaultMessage": "Update version"
},
"instances.updater-modal.hide-incompatible": {
"defaultMessage": "Hide incompatible"
},
"instances.updater-modal.no-changelog": {
"defaultMessage": "No changelog provided for this version."
},
"instances.updater-modal.no-versions": {
"defaultMessage": "No versions found"
},
"instances.updater-modal.search-placeholder": {
"defaultMessage": "Search version..."
},
"instances.updater-modal.select-version": {
"defaultMessage": "Select a version to view its changelog"
},
"instances.updater-modal.show-incompatible": {
"defaultMessage": "Show incompatible"
},
"instances.updater-modal.update-to": {
"defaultMessage": "Update to v{version}"
},
"instances.updater-modal.warning.app": {
"defaultMessage": "We can't guarantee updates are safe for your instance. Review the changelog for all intermediate versions and consider a backup."
},
"instances.updater-modal.warning.web": {
"defaultMessage": "We can't guarantee updates are safe for your worlds. Review the changelog for all intermediate versions and consider a backup."
},
"label.actions": {
"defaultMessage": "Actions"
},
"label.available": {
"defaultMessage": "{amount} available."
},
"label.changelog": {
"defaultMessage": "Changelog"
},
"label.changes-saved": {
"defaultMessage": "Changes saved"
},
@@ -311,6 +362,9 @@
"label.confirm-password": {
"defaultMessage": "Confirm password"
},
"label.content": {
"defaultMessage": "Content"
},
"label.created-ago": {
"defaultMessage": "Created {ago}"
},
@@ -350,6 +404,9 @@
"label.no": {
"defaultMessage": "No"
},
"label.no-items": {
"defaultMessage": "No items"
},
"label.notifications": {
"defaultMessage": "Notifications"
},
@@ -362,6 +419,9 @@
"label.played": {
"defaultMessage": "Played {time}"
},
"label.project": {
"defaultMessage": "Project"
},
"label.public": {
"defaultMessage": "Public"
},
@@ -404,9 +464,15 @@
"label.unlisted": {
"defaultMessage": "Unlisted"
},
"label.update-available": {
"defaultMessage": "Update available"
},
"label.username": {
"defaultMessage": "Username"
},
"label.version": {
"defaultMessage": "Version"
},
"label.visibility": {
"defaultMessage": "Visibility"
},