Commit Graph

37 Commits

Author SHA1 Message Date
87e13f71f5
fix(styles): animation issues 2023-05-02 17:02:31 +01:00
5b86ebbf7e
fix(styles): resolve font not found 2023-05-02 16:21:09 +01:00
d26b429ee8
refactor(components)
BREAKING CHANGES
- Refactored `App.tsx` to import `Component` from `solid-js`, and use a new component `TitleBar`.
- Added new component `AnimateView` under `src/components/design`, and renamed old `AnimateView` to `Loader`.
- Added new component `Button` under `src/components/design`.
- Added new component `Image` under `src/components/design`.
- Moved old `Image`, `Loader`, and `Button` components under `src/components/design`.
- Refactored `Downloader` component to use `Motion` from `@motionone/solid`, moved it under `Downloader` folder, and used it to create a slick hover effect.
- Removed `Downloaders/Button`.

Notes:
- Used `createSignal` instead of `useState` for SolidJS in `Downloaders.tsx`.
- Used `type` keyword to explicitly define the type of the component props or objects where it makes the code clearer.
2023-05-02 15:49:05 +01:00
6ba06e09d2
feat(components|public): Add Design Loader and change Downloaders popup style
This commit adds a Design Loader to Downloaders component and modifies the popup  style with new classes. The loader is shown when the user clicks the Download GameData button. The popup is now centered and uses flex to position its content. Additionally, it now displays a message that depends on the state of the download process, and the close button's style is also modified.
2023-04-28 14:42:51 +01:00
fbf1a5dc7b
refactor(controllers): classes and parse libraries, sets and palettes
- Refactored several classes in controllers directory and modified parsing of libraries, sets and palettes.
2023-04-28 14:41:16 +01:00
a25d278115
refactor(tools): parsing - writing games data
This commit refactors the code to parse and write data from WoW game files. It creates a new function `parseData` which correctly parses the data and writes the output files to a new folder called `output`. The code now handles both `JSON` and `XML` data from game files. It also makes use of optional chaining to prevent null pointers while parsing the data. Finally, it removes an unused `callback` message without any effect.
2023-04-28 14:40:45 +01:00
868e675f8e
refactor(config): organization/naming conventions
- Modified Convertion.ts to simplify directory configuration into outputDir, gamedataDir, and genericDir for versioned folders, and removed gamedataConfigDir.
- Updated Endpoints.ts to include furniture data source from Habbo using JSON format.
2023-04-28 14:35:52 +01:00
1206af1e1d
feat(components/design): implement Loader 2023-04-28 14:34:46 +01:00
2b2a5483e5
refactor(types): enhance + switch from static types to KeyValuePairs type definitions 2023-04-28 12:57:23 +01:00
069a37b550
fix(tools): fs-path for parseData 2023-04-23 23:29:02 +01:00
cb66593b2c
refactor(tools): rename fetchGamedataConfig 2023-04-23 23:28:28 +01:00
4f6b2045f2
refactor(controllers): add data parser 2023-04-23 23:27:49 +01:00
51ba8d4fcb
feat(config): implement Convertion 2023-04-23 23:26:49 +01:00
b26459feeb
refactor: clean up 2023-04-23 20:18:16 +01:00
a946baf1d7
fix(indexes): missing index for imports 2023-04-23 20:17:57 +01:00
2909cbe3c4
fix(types/Converters): remove furniType property 2023-04-23 20:17:33 +01:00
1919787c11
feat(hooks): implement useOutsideClickEventHandler 2023-04-23 20:16:56 +01:00
052ad1c6ab
feat(controllers): integrate EffectMap/FigureData/FigureMap/FurniData 2023-04-23 20:16:45 +01:00
63d9921dd5
refactor(types/Endpoint): add parser xml return type 2023-04-23 20:15:23 +01:00
22ecfdd9a5
feat(types): add global types 2023-04-23 20:14:32 +01:00
6e253823ba
feat(components/system): implement Window 2023-04-23 20:14:12 +01:00
4b9290636f
feat(components/system): implement TitleBar 2023-04-23 20:14:05 +01:00
2771e7b4cc
feat(components/system): implement Button 2023-04-23 20:13:57 +01:00
1272b00014
feat(components/system): implement Image 2023-04-23 20:13:52 +01:00
3ae150f448
feat(components/system): implement AnimatedView 2023-04-23 20:13:44 +01:00
508e999a0c
feat(components/system): implement Popup 2023-04-23 20:13:36 +01:00
7d5b2cbc89
refactor(Downloader(s)): seperate components 2023-04-23 20:13:12 +01:00
bdcf825de7
refactor(all-in-one): clean up 2023-04-23 20:12:45 +01:00
deb1ca5ad9
fix(components): render UI 2023-04-20 15:56:49 +00:00
9652ec9122
refactor(components): add window dragging + remove resize 2023-04-20 15:56:29 +00:00
32dfc41589
fix(src): temp unused vars 2023-04-19 17:16:05 +00:00
4b4f58a426
refactor(components): enhance Downloader UI 2023-04-19 17:15:11 +00:00
b8dcbc4f5d
refactor(config-types): clean up 2023-04-19 17:14:55 +00:00
c058b1d1e7
feat(mapping): add convertTXT 2023-04-19 17:14:34 +00:00
36ea248c9f
refactor(utils): clean up fetchGameData 2023-04-19 17:14:11 +00:00
0315f32a25
test(config): implement registered keys 2023-04-07 20:44:17 +00:00
4500993c3a
feat: 🎉 initial commit 2023-04-06 14:18:26 +00:00