**added logos:**
- alibaba (wan video and qwen)
- fal
- higgsfield
- krea
- openart
- replicate
- tencent (logo for their AI model instead of company logo)
- tensorart
- vidu
- generic model icon
... also removed **IMAGE_MODELS_BY_LABEL** and **VIDEO_MODELS_BY_LABEL**
- canvas snapshot aspect ratio is fixed (it was snapshotting only as
squared images)
- added reference/context images in the lightbox under prompt, hovering
shows a larger preview
- added generation details: model used with logo and provider
- 2D reset canvas button under the left side toolbar. on click prompts a
confirmation to clear the canvas.
- all prompt boxes persist prompts, aspect ratio, system prompt and
reference images for that session until refreshed.
**fixes:**
- moved canvas fit to screen button to inside prompt box
- canvas fit to screen logic works properly and always centered
- canvas doesnt overflow screen and annoyingly scroll anymore
- brush now has an active state and border and shows brush icon when not
active
- hidden eraser button for now since it doesn't work
TODO:
- missing features
- bug fix for expanded modal conflicting with resized size (not going full screen)
- gallery modal now resizable with set minimum size
- set a minimum size for lightbox resize
Model router priority tab in settings:
- drag and drop to update
- function calls on order change
Login refactor:
- fixed login (opens modal on log out)
- fixes bug where login modal opens even before login state is checked
(annoying)
- uses zustand states now
- pricing modal with tiers: free, plus, pro and max
- set up and ready to integrate with stripe
- small bug fix with the library modal buttons being squished
- upgrade button in TopBar is commented out for now
Moved Login to top level.
Minor bug fix later., logout after login in and exiting, log out and the button
won't trigger the modal
---------
Co-authored-by: CrossPr0duct <alicextensor@gmail.com>