melvinchia3636
7544bdc99f
refactor: codebase linting
2026-06-25 08:54:16 +08:00
melvinchia3636
b8ac80b9be
refactor: codebase linting
2026-06-25 08:54:16 +08:00
melvinchia3636
9f5d9f4a7d
style: apply eslint local/padding-react-hooks auto-fix across codebase
...
Automatically fix padding lines around React hook calls per the new
local/padding-react-hooks rule: remove blank lines between consecutive
hooks, add blank lines after hooks before const/expression statements,
and remove trailing blank lines after const/expression blocks.
2026-06-25 08:54:16 +08:00
melvinchia3636
91207e7d48
refactor(localization): extract i18n into @lifeforge/localization package
...
- Create new @lifeforge/localization package with client-i18n-config, I18nInitProvider, and useModuleTranslation hook
- Rename ModuleHeaderStateProvider -> ModuleMetadataProvider and move to @lifeforge/federation
- Move I18nInitProvider from apps/web to @lifeforge/localization with configurable init/fallbacks
- Add module name to ModuleMetadataProvider context for scoped translations
- Wire up @lifeforge/localization and @lifeforge/federation as dependencies in @lifeforge/ui
- Update ModuleHeader to use useModuleTranslation for scoped i18n namespaces
- Register @lifeforge/localization in shared-packages config
- Update docs vite config with federation plugin
2026-06-25 08:54:15 +08:00
melvinchia3636
1df83d76b9
refactor: massive codebase folder restructuring
2026-06-25 08:54:15 +08:00
melvinchia3636
9f97f15971
build: introduce to turborepo
2026-06-25 08:54:15 +08:00
melvinchia3636
2ec50fc3e1
refactor: move traceRouteStack to server-utils
2026-06-25 08:54:14 +08:00
melvinchia3636
9f81719476
fix: some fixes
2026-06-25 08:54:14 +08:00
melvinchia3636
f6a43a5f2c
refactor: some more sdk update
2026-06-25 08:54:14 +08:00
melvinchia3636
5159d67057
refactor(ui): migrate toast from react-toastify to @lifeforge/ui
2026-06-25 08:54:14 +08:00
melvinchia3636
a95bab80a3
fix: update locale keys
2026-06-25 08:54:14 +08:00
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
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
c1927f6501
feat: rework on module route registration and forge api proxy client SDK
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
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
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
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
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
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
330687dacb
feat(ui): add PrintArea utility component with Storybook stories
2026-06-25 08:54:13 +08:00
melvinchia3636
285201dcb4
fix: fix type inferencing system
2026-06-25 08:54:13 +08:00
melvinchia3636
cedcbb192e
feat: add 202 to output status, improve migration guide
2026-06-25 08:54:13 +08:00
melvinchia3636
947c8bfcbf
fix: miscellaneous fixes and improvements
2026-06-25 08:54:13 +08:00
melvinchia3636
22a6d48a3e
fix(ui): minor layout fix to Location Input component
2026-06-25 08:54:13 +08:00
melvinchia3636
aab1c10733
feat(ui): miscellaneous improvements
2026-06-25 08:54:13 +08:00