Commit Graph

572 Commits

Author SHA1 Message Date
melvinchia3636
e9776c3fd6 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:53:34 +08:00
melvinchia3636
67440a8443 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:53:34 +08:00
melvinchia3636
5307c5cb25 feat: rework on module route registration and forge api proxy client SDK 2026-06-25 08:53:34 +08:00
melvinchia3636
14ce399440 feat(client): move widgets into its dedicated utility widgets module 2026-06-25 08:53:34 +08:00
melvinchia3636
32a78eb98a fix(ui): fix some noticable issues related to fab and pagination component 2026-06-25 08:53:34 +08:00
melvinchia3636
727160974a fix(ui): fix bug in bg resolution for card component 2026-06-25 08:53:34 +08:00
melvinchia3636
d5516d23c5 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:53:34 +08:00
melvinchia3636
2d932a2c66 refactor(ui): unify input surface styles with surface tokens, standardize input heights, and adjust hover opacity 2026-06-25 08:53:34 +08:00
melvinchia3636
b7e2270e9b chore: remove Tailwind badge from README, lower FAB z-index, add listbox stopPropagation, add ModalWrapper overflow hidden, darken Bordered border 2026-06-25 08:53:34 +08:00
melvinchia3636
e8e55d6dc1 fix(ui): move Card bg prop after spread to allow overrides 2026-06-25 08:53:34 +08:00
melvinchia3636
889680e5a7 fix(ui): improve DateInput calendar — add stopPropagation, set month/year width, remove duplicate mobile month selector, fix popper z-index 2026-06-25 08:53:34 +08:00
melvinchia3636
fed85e24ed chore: minor stuff 2026-06-25 08:53:34 +08:00
melvinchia3636
0b152f36ba feat(server): add checkModuleAvailability endpoint and contracts 2026-06-25 08:53:34 +08:00
melvinchia3636
0e7ba3e778 fix(ui): add errorMsg to LocationField, add whitespace to form fields 2026-06-25 08:53:33 +08:00
melvinchia3636
cc37403c29 fix(ui): remove position absolute wrapper, classic variant paddingLeft, and clear selection on empty query in ComboboxInput 2026-06-25 08:53:33 +08:00
melvinchia3636
04696693e1 fix(ComboboxInput): fix dropdown positioning and classic variant padding 2026-06-25 08:53:33 +08:00
melvinchia3636
976b97f1e0 fix(ui): misc fixes - surface colors, print styles, WithDivide indent, export vars 2026-06-25 08:53:33 +08:00
melvinchia3636
2d7f942ccd fix(server): widen AI provider type and use OpenAI message type 2026-06-25 08:53:33 +08:00
melvinchia3636
60b9cb2a12 fix(server): remove body/existenceCheck from query routes and strip propertyNames from contract schemas 2026-06-25 08:53:33 +08:00
melvinchia3636
f9862648c2 docs(ui): add title to all Storybook stories 2026-06-25 08:53:33 +08:00
melvinchia3636
b26e6b2972 feat(ui): add PrintArea utility component with Storybook stories 2026-06-25 08:53:33 +08:00
melvinchia3636
d76e876f98 fix(ui): reduce WithDivide dark mode opacity from 70% to 50% 2026-06-25 08:53:33 +08:00
melvinchia3636
93f0a106e3 fix(ui): increase ModalHeader bottom margin from sm to md 2026-06-25 08:53:33 +08:00
melvinchia3636
4b66936769 fix(ui): prevent text selection on ContextMenuItem 2026-06-25 08:53:33 +08:00
melvinchia3636
c012928e07 refactor(ui): remove explicit icon size in Tabs and SidebarCancelButton 2026-06-25 08:53:33 +08:00
melvinchia3636
d8b6a1d00d refactor(ui): add FlexProps support to Widget and remove unused className 2026-06-25 08:53:33 +08:00
melvinchia3636
460bbacb12 feat(ui): add PrintArea utility component with Storybook stories 2026-06-25 08:53:33 +08:00
melvinchia3636
8f73983ae0 fix: fix type inferencing system 2026-06-25 08:53:33 +08:00
melvinchia3636
04133f23df feat: add 202 to output status, improve migration guide 2026-06-25 08:53:33 +08:00
melvinchia3636
509b774f97 fix: miscellaneous fixes and improvements 2026-06-25 08:53:33 +08:00
melvinchia3636
3a114ba608 fix(ui): minor layout fix to Location Input component 2026-06-25 08:53:33 +08:00
melvinchia3636
1436da06a6 feat(ui): miscellaneous improvements 2026-06-25 08:53:33 +08:00
melvinchia3636
515a1314c7 feat(ui): a lot more work to the new form system 2026-06-25 08:53:33 +08:00
melvinchia3636
3c1caf258f fix(server-utils): fml 2026-06-25 08:53:33 +08:00
melvinchia3636
5f62154e14 feat(ui): refactor NumberInput component to utilize the react-number-format library instead of reinventing the wheel for number parsing logic 2026-06-25 08:53:33 +08:00
melvinchia3636
4aa831bcfe feat(ui): form system overhaul 2026-06-25 08:53:33 +08:00
melvinchia3636
8e579ab8a4 refactor: some more miscellaneous bug fixing and refactoring 2026-06-25 08:53:33 +08:00
melvinchia3636
2d49d1a7b7 feat(server): new API contract DSL should be stable 2026-06-25 08:53:33 +08:00
melvinchia3636
8441d66af2 feat(server): introduce new DSL 2026-06-25 08:53:33 +08:00
melvinchia3636
e822963a74 feat(server): fuck my life 2026-06-25 08:53:33 +08:00
melvinchia3636
a2434b5578 fix(ui): fix bg color brightness detection for the button component 2026-06-25 08:53:32 +08:00
melvinchia3636
8da48370bc feat: client codebase refactoring completed 2026-06-25 08:53:32 +08:00
melvinchia3636
60042df248 feat: refactor client codebase in progress 2026-06-25 08:53:32 +08:00
melvinchia3636
aba9d5b54e feat: refactor client codebase in progress 2026-06-25 08:53:32 +08:00
melvinchia3636
c814476ec5 feat(ui): some more progress and feature increment 2026-06-25 08:53:32 +08:00
melvinchia3636
cbb4428427 feat: refactor client codebase in progress 2026-06-25 08:53:32 +08:00
melvinchia3636
4ba885e61c feat: refactor client codebase in progress 2026-06-25 08:53:32 +08:00
melvinchia3636
60b7e0395c refactor(ui): post-tailwind refactoring started 2026-06-25 08:53:32 +08:00
melvinchia3636
757d001f9e refactor(ui): detailwind for lifeforge-ui officially completed 2026-06-25 08:53:32 +08:00
melvinchia3636
7ee66cc81b refactor(ui): export cleanup and remaining detailwind done 2026-06-25 08:53:32 +08:00