melvinchia3636
c2e2b535d5
refactor(shared): remove this library
2026-06-25 08:54:14 +08:00
melvinchia3636
4cc7fa6b39
refactor(api): extract API client and providers from @lifeforge/shared into @lifeforge/api
...
- Create new @lifeforge/api package with forge proxy, endpoint, encryption, fetchAPI, and API providers
- Move AuthProvider from shared to client-local
- Move WidgetConfig/widgetConfigSchema from shared to @lifeforge/configs
- Add @lifeforge/api as peerDependency in all apps and dependent packages
- Update all imports across client, apps, ui, and federation
- Add build-api script to postinstall
2026-06-25 08:54:14 +08:00
melvinchia3636
4b5af6c08c
refactor(shared): remove reexport of react-router and nuqs
2026-06-25 08:54:14 +08:00
melvinchia3636
77b19df154
refactor(ui): move ui related providers from shared library to @lifeforge/ui
2026-06-25 08:54:14 +08:00
melvinchia3636
aca770b039
refactor: move contract file outside src folder
2026-06-25 08:54:14 +08:00
melvinchia3636
e38e3af120
refactor: some prettier and eslint formatting
2026-06-25 08:54:14 +08:00
melvinchia3636
5e4887788e
feat(configs): add vanilla extract vite plugin as part of base module config
2026-06-25 08:54:14 +08:00
melvinchia3636
e1494d9559
refactor: improve folder structure for @lifeforge/configs
2026-06-25 08:54:14 +08:00
melvinchia3636
57a24a52a7
refactor: extract shared configs & federation packages; rename log/server-utils
...
- Create @lifeforge/configs package with shared client/module Vite configs
and the `@` path alias resolver extracted from client/vite.config.ts
- Create @lifeforge/federation package with module loading, federation
provider, and route utilities moved out of the client app
- Rename packages/lifeforge-log → packages/log
- Rename packages/lifeforge-server-utils → packages/server-utils
- Update all imports, tsconfig references, Dockerfiles, and workspace
scripts to reflect the new package names and locations
2026-06-25 08:54:14 +08:00
melvinchia3636
7f1b2f0593
refactor: extract shared packages and clean up monorepo dependencies
...
- Add new packages: @lifeforge/configs, @lifeforge/federation,
@lifeforge/log, @lifeforge/server-utils with their package.json
- Strip framework-specific deps (react, i18next, react-query, etc.)
from shared/client/ui/server packages — these belong in individual apps
- Update workspace scripts to match renamed package directories
(packages/log → @lifeforge/log, packages/server-utils → @lifeforge/server-utils)
- Add rollup-plugin-visualizer to client devDependencies
2026-06-25 08:54:14 +08:00
melvinchia3636
395dd045f4
chore: remove redundant files
2026-06-25 08:54:14 +08:00
melvinchia3636
c1927f6501
feat: rework on module route registration and forge api proxy client SDK
2026-06-25 08:54:14 +08:00
melvinchia3636
4a2f5b0525
chore(tools): remove outdated templates (to be added back in the future)
2026-06-25 08:54:14 +08:00
melvinchia3636
a06974f282
feat(client): move widgets into its dedicated utility widgets module
2026-06-25 08:54:14 +08:00
melvinchia3636
e95416946b
fix(ui): fix some noticable issues related to fab and pagination component
2026-06-25 08:54:14 +08:00
melvinchia3636
5fe6db35a1
fix(ui): fix bug in bg resolution for card component
2026-06-25 08:54:14 +08:00
melvinchia3636
363e6fff0b
chore: remove redundant file
2026-06-25 08:54:14 +08:00
melvinchia3636
73fee69571
docs(ui): add primitives-first rule, update color tokens to 'primary', bump vite-plugin to 5.2.2
2026-06-25 08:54:14 +08:00
melvinchia3636
6a308de1e1
chore: add AGENTS.md with opencode instructions
2026-06-25 08:54:14 +08:00
melvinchia3636
61ecf2e9a0
refactor(ui): replace custom-500 with primary semantic color token, enhance TagChip/Text/Ring components
...
Key changes:
- Replace all color="custom-500", borderColor="custom-500", ringColor="custom-500" with "primary" token across 20+ components/stories
- Export BorderedOwnProps interface from Bordered
- TagChip: add generic <ElementType> support, switch to anyColorToHex from shared, fix style merging
- Text: add layout props (overflow, position) and sprinkles
- Ring: add _ring className to scope focus-outline removal
- ViewModeSelector: fix darkHover color, add height="4em"
- Prose: remove hardcoded max-width: 65ch
- InputFocusContext: simplify with direct InputFocusContext (no .Provider)
- global.css: limit outline removal to non-._ring elements
2026-06-25 08:54:14 +08:00
melvinchia3636
699dfc06cf
refactor(ui): unify input surface styles with surface tokens, standardize input heights, and adjust hover opacity
2026-06-25 08:54:14 +08:00
melvinchia3636
1d8a1a2d63
fix: fix typescript errors
2026-06-25 08:54:14 +08:00
melvinchia3636
6e71930d49
chore: remove irrelevant stuff
2026-06-25 08:54:14 +08:00
melvinchia3636
0565e05972
chore: remove Tailwind badge from README, lower FAB z-index, add listbox stopPropagation, add ModalWrapper overflow hidden, darken Bordered border
2026-06-25 08:54:14 +08:00
melvinchia3636
34e7fb3e52
fix(ui): move Card bg prop after spread to allow overrides
2026-06-25 08:54:14 +08:00
melvinchia3636
fea4e2b228
docs(readme): remove Tailwind CSS badge from MS, ZH-CN, and ZH-TW translations
2026-06-25 08:54:14 +08:00
melvinchia3636
051d3d7531
fix(ui): improve DateInput calendar — add stopPropagation, set month/year width, remove duplicate mobile month selector, fix popper z-index
2026-06-25 08:54:14 +08:00
melvinchia3636
f2b6b892cd
chore: minor stuff
2026-06-25 08:54:14 +08:00
melvinchia3636
f089de17d3
feat(server): add checkModuleAvailability endpoint and contracts
2026-06-25 08:54:14 +08:00
melvinchia3636
8a7915bce3
fix(ui): add errorMsg to LocationField, add whitespace to form fields
2026-06-25 08:54:14 +08:00
melvinchia3636
3f7225d9f7
fix(ui): remove position absolute wrapper, classic variant paddingLeft, and clear selection on empty query in ComboboxInput
2026-06-25 08:54:14 +08:00
melvinchia3636
09eca24272
fix(ComboboxInput): fix dropdown positioning and classic variant padding
2026-06-25 08:54:14 +08:00
melvinchia3636
0b760e0e70
feat(client): improve lauout for module required list modal in api key vault
2026-06-25 08:54:14 +08:00
melvinchia3636
1f469d1d08
fix(client): fix tiny component layout issue
2026-06-25 08:54:13 +08:00
melvinchia3636
7651410f88
client: fix issue related to api key fetching
2026-06-25 08:54:13 +08:00
melvinchia3636
27fa0d53e9
chore: remove irrelevant stuff
2026-06-25 08:54:13 +08:00
melvinchia3636
3a2c0ed92d
fix(ui): misc fixes - surface colors, print styles, WithDivide indent, export vars
2026-06-25 08:54:13 +08:00
melvinchia3636
86afa1116a
fix(server): widen AI provider type and use OpenAI message type
2026-06-25 08:54:13 +08:00
melvinchia3636
d221a2cd13
fix(server): remove body/existenceCheck from query routes and strip propertyNames from contract schemas
2026-06-25 08:54:13 +08:00
melvinchia3636
3fe662c9b5
chore: add @vanilla-extract/css as dependency
2026-06-25 08:54:13 +08:00
melvinchia3636
672ab223b2
feat(server): refactor AI provider into pluggable architecture with deepseek, groq, ollama, openai support
2026-06-25 08:54:13 +08:00
melvinchia3636
a09c1ca272
chore: improve instructions
2026-06-25 08:54:13 +08:00
melvinchia3636
9cc11548d7
docs(ui): add title to all Storybook stories
2026-06-25 08:54:13 +08:00
melvinchia3636
b7ff42e985
feat(ui): add PrintArea utility component with Storybook stories
2026-06-25 08:54:13 +08:00
melvinchia3636
f94080200f
fix(ui): reduce WithDivide dark mode opacity from 70% to 50%
2026-06-25 08:54:13 +08:00
melvinchia3636
9daa4c236f
fix(ui): increase ModalHeader bottom margin from sm to md
2026-06-25 08:54:13 +08:00
melvinchia3636
51e0562d61
fix(ui): prevent text selection on ContextMenuItem
2026-06-25 08:54:13 +08:00
melvinchia3636
dcd45db9b2
refactor(ui): remove explicit icon size in Tabs and SidebarCancelButton
2026-06-25 08:54:13 +08:00
melvinchia3636
8235b23af7
refactor(ui): add FlexProps support to Widget and remove unused className
2026-06-25 08:54:13 +08:00
melvinchia3636
ccb02c5c32
fix(server): return nullable string instead of 404 for missing entry
2026-06-25 08:54:13 +08:00