Commit Graph

52 Commits

Author SHA1 Message Date
Qing
870376e4bf pnpm build 2023-05-19 21:49:09 +08:00
Qing
25bf0cbbc4 pnpm build 2023-04-02 16:11:44 +08:00
Qing
3022797602 pnpm build 2023-03-30 21:07:34 +08:00
Qing
5c3b643280 pnpm build 2023-03-01 21:56:30 +08:00
Qing
4f371d3547 pnpm build 2023-02-19 21:09:17 +08:00
Qing
14d9918ef1 pnpm build 2023-02-07 21:38:46 +08:00
Qing
cd58f2984f pnpm build 2023-02-01 21:51:11 +08:00
Qing
449e599df5 yarn build 2023-01-11 21:17:21 +08:00
Qing
70dfc3d2b4 yarn build 2023-01-08 22:20:49 +08:00
Qing
aa5ace4099 yarn build 2023-01-08 21:14:26 +08:00
Qing
ec596ffd39 yarn build 2023-01-07 22:26:28 +08:00
Qing
92f7cca08e yarn build 2022-12-11 22:04:42 +08:00
Qing
eadb79af83 yarn build 2022-12-04 20:50:04 +08:00
Qing
513f008a33 yarn build 2022-12-02 20:45:51 +08:00
Qing
ad9ff13d61 yarn build 2022-11-22 22:13:00 +08:00
Qing
139afabfab yarn build 2022-11-18 22:26:01 +08:00
Qing
495ef941ea yarn build 2022-11-17 22:12:22 +08:00
Qing
f774bad17f yarn build 2022-11-16 18:01:18 +08:00
Qing
8351fd3b0d yarn build 2022-11-15 21:54:32 +08:00
Qing
084f70c712 yarn build 2022-11-08 08:36:33 +08:00
Qing
265f4c90dc yarn build 2022-10-27 22:51:43 +08:00
Qing
53b5d29db3 yarn build 2022-10-20 22:42:58 +08:00
Qing
67076c3636 yarn build 2022-10-20 22:25:56 +08:00
Qing
84208c00a5 yarn build 2022-10-09 21:38:17 +08:00
Qing
75162712c3 0.22.0 2022-10-08 22:27:09 +08:00
Qing
093401818b 0.20.0 2022-09-25 22:33:09 +08:00
Qing
c97f32bd13 0.19.0 2022-09-25 21:58:00 +08:00
Qing
2a94150f59 0.18.0 2022-09-22 22:59:30 +08:00
Qing
3ac6ee7f44 0.17.0 2022-09-05 20:48:05 +08:00
Qing
80366ebb55 0.16.0 2022-08-24 21:43:16 +08:00
Qing
47596b0a60 yarn build 2022-07-24 10:30:52 +08:00
Qing
9acfbed0a0 yarn build 2022-06-29 21:56:39 +08:00
Qing
9a9e1fe2b7 yarn build 2022-06-12 22:13:33 +08:00
Qing
7826bda89c yarn build 2022-05-30 10:51:34 +08:00
Qing
1d9b9d05e1 yarn build 2022-05-23 21:16:59 +08:00
Sanster
00381ceaa2 yarn build 2022-04-24 22:40:34 +08:00
Sanster
1bfdec4acf yarn build 2022-04-19 21:35:52 +08:00
Sanster
c283b05b8e yarn build 2022-04-18 22:19:33 +08:00
blessedcoolant
e3e151716c new build 2022-04-08 17:05:58 +12:00
Sanster
10b35a3f0a style refine 2022-04-06 23:01:18 +08:00
blessedcoolant
ca9e393989 Inpainted State Fix 2022-03-30 19:14:32 +13:00
blessedcoolant
b282421c98 Complete GUI Refactor # Patch 1 2022-03-30 12:45:34 +13:00
blessedcoolant
eea85b834e Complete GUI Refactor
This patch brings in a massive number of changes to the frontend of the application. Please feel free to discuss the proposed changes with me at any time.

Implemented Recoil as a state management system.
Why Recoil? It is a robust library built by developers at Facebook for state management. It has an  extremely simple API for implementation that is in sync with React syntax compared to any other state management system out there and works amazingly well. While the official release status is beta as it becomes fully featured, the library is already used in various systems at Facebook and is very stable for the use cases of this application.

Why global state management? One of the major issues I saw with the current file structure is that there is minimal code splitting and it makes further development of the frontend a cumbersome task. I have broken down the frontend into various easy to access components isolating the GUI from the logic. To avoid prop drilling, we need global state management to handle the necessary tasks. This will also facilitate the addition of any new features greatly.

Code Splitting. Majority of the components that can be isolated in the application have now been done so.
All New Custom CSS & Removal of Tailwind
While Tailwind is a great way to deploy beautiful interfaces quickly, anyone trying to stylize the application further needs to be familiar with Tailwind which makes it harder for more people to work on it. Not to mention, I am not a particular fan of flooding JSX elements with inline CSS classes. That makes reading the code extremely hard and bloats up component code drastically.

As a replacement to Tailwind, I implemented a custom styling system using SCSS as a developer dependency.

In the new system, all the general and shared styles are in the styles folder and all the component styles are in the same folder as the component for easy access.The _index.scss file now acts as a central import for every other stylesheet that needs to be loaded.

What Changed?
The entire application looks and feels like the current implementation with minimal changes.
The green (#bdff01) highlight used in the application has now been changed to a bright yellow (rgb(255, 190, 0)) because I felt it better suited the new Dark Mode (see below).
The swipe bar for comparing before and after images has now been removed and instead the comparison is a smooth fade effect. I felt this was better to analyze image changes rather than a swiper. // Can add the swipe back if needed.

Dark Mode
A brand new Dark Mode has been added for the application. Users can enable and disable by tapping the button in the header or by using the Shift + D hotkey.

Other Misc New Features
When the editor image is now zoomed out to its default size, the image now also gets centered back.

TODO
The currently used react-zoom-pinch-pan module is not mobile friendly. It does not allow brush strokes. Need to figure out a way to fix this.
Further optimization of the frontend code with better code splitting and performance.
When using the LaMa model, the first stroke has a delayed response from the backend but the ones that follow are almost immediate. I believe this is happening because of the initialization of the model on the first stroke. I wonder if either of us can look at it and see if this can somehow be preloaded so the user experience is smooth from the first stroke.
Enable threading for the desktop application mode so flaskwebgui does not block the main applications Python console.
2022-03-28 17:52:05 +13:00
Sanster
6913ad169b yarn build 2022-03-27 13:56:23 +08:00
blessedcoolant
d0f025f2d4 Add User Input Image Support
Users can now supply the --input argument to load their image by default to the application.
2022-03-25 07:33:13 +13:00
blessedcoolant
44e131f9ac Added desktop application mode
Run lama-cleaner as a desktop application.
2022-03-24 05:07:33 +13:00
blessedcoolant
3fac27712a New build with brush size hotkeys 2022-03-17 13:00:36 +08:00
blessedcoolant
ffd39a7300
Deleting the old build folder 2022-03-17 05:58:28 +13:00
Sanster
5f8b23cd4f 0.4.0 build 2022-02-09 18:12:22 +08:00
Sanster
c09ac0c17a build app 2021-12-12 14:57:10 +08:00