Commit Graph

926 Commits

Author SHA1 Message Date
jelveh 8a697652d9 Use regular UIWindow component in UIWindowTaskManager 2025-07-25 23:59:29 -07:00
jelveh cadaff441c Remove unnecessary onAppend callbacks 2025-07-25 23:39:21 -07:00
jelveh dd76ac27ae Update UITaskbar.js 2025-07-25 20:22:38 -07:00
jelveh 01e4faa762 Update UITaskbar.js 2025-07-24 12:54:45 -07:00
jelveh 261bfd1c03 Adjust taskbar items' height and width based on number of items in the taskbar 2025-07-24 12:06:38 -07:00
Nariman Jelveh bfd1f8faab Configurable taskbar position (#1372)
* feat(gui): Enhance taskbar functionality and positioning

- Implement dynamic taskbar position management with options for left, bottom, and right placements.
- Update desktop dimensions and window positioning based on taskbar position.
- Add context menu options for changing taskbar position on desktop devices.
- Ensure mobile devices always display the taskbar at the bottom.
- Introduce CSS styles for taskbar positioning and adjust desktop padding accordingly.

* feat(gui): Reinitialize tooltips based on taskbar position

- Implement dynamic tooltip positioning for taskbar items based on the current taskbar location (left, right, bottom).
- Ensure tooltips are destroyed and recreated when the taskbar position is updated, enhancing user experience and consistency.

* feat(gui): Improve taskbar and tooltip positioning

- Add support for dynamic tooltip positioning for the 'top' taskbar location.
- Adjust CSS styles for arrow tooltips to enhance visual alignment and positioning.
- Refine taskbar item positioning for left and right placements to ensure consistent appearance.

* Improve popover positioning based on taskbar location

- Improve `UIPopover` positioning logic to account for left and right taskbar placements.
- Adjust Y position of popovers to ensure they appear correctly below toolbars for left/right taskbars.
- Update CSS styles for arrow tooltips to enforce consistent positioning with !important declarations.

* Refactor context menu positioning logic in UITaskbarItem

- Introduce a helper function to dynamically calculate context menu position based on the taskbar's location (top, bottom, left, right).
- Ensure context menus are positioned correctly relative to the taskbar item, improving usability across different taskbar placements.

* Fix UITaskbar window height calculation for consistent positioning

- Adjust the height calculation for windows in the UITaskbar to remove an unnecessary offset, ensuring accurate window sizing relative to the toolbar height.
- This change improves the visual consistency of maximized windows across different taskbar placements.

* Enhance window snapping and positioning based on taskbar location

- Introduce a new function to calculate snap dimensions and positions dynamically based on the taskbar's location (left, right, bottom).
- Update window snapping logic to ensure windows are positioned correctly relative to the taskbar, improving usability and visual consistency.
- Adjust boundary checks for window placement to account for taskbar height and position, enhancing the overall user experience.

* Update default taskbar position to 'left' and adjust CSS padding for desktop layout

- Change the default taskbar position from 'bottom' to 'left' in UITaskbar.
- Modify CSS to increase left padding for desktop taskbar positioning, enhancing layout consistency.

* Improve CSS for desktop layout with height adjustments

- Update CSS styles for input fields and desktop taskbar to set height to 100vh, ensuring consistent full-page layout across different screen sizes.
- This change improves the visual consistency and usability of the interface.

* Improve desktop selectable interactivity and taskbar tooltip behavior

- Add functionality to mark the desktop as selectable active, improving user interaction with desktop elements.
- Update tooltip display logic to only show when the desktop is not in a selectable state, enhancing usability.
- Adjust CSS styles for desktop layout, ensuring consistent behavior and appearance when the desktop is active or inactive.

* Update default taskbar position logic for first-time and existing users

- Set the taskbar position to 'left' for first-time visitors and default to 'bottom' for returning users without a saved preference.
- This change improves the user experience by providing a more intuitive initial layout for new users while maintaining consistency for existing users.
2025-07-23 15:48:23 -07:00
Nariman Jelveh e14e1acd95 Revert "feat(gui): Add animation effects to the taskbar (#1365)" (#1366)
This reverts commit 212bc88c8f.
2025-07-19 11:12:28 -07:00
GitHubliuzhijie 212bc88c8f feat(gui): Add animation effects to the taskbar (#1365)
- Add new animation functionality to the taskbar; icons will enlarge when the mouse hovers over them
- Introduce new CSS properties and styles to support the animation effects
- Implement mouse move and leave event handling in UITaskbar
- Add UITaskBarCreateCurve and UITask components
2025-07-19 11:11:57 -07:00
jelveh 5a7ba5d4ad Do not show file operations in the context menu of root dir 2025-07-15 18:04:04 -07:00
jelveh e387abe2f6 Make 'Signup' window draggable 2025-07-11 16:28:37 -07:00
jelveh 1fb1edd621 remove unused tests from GUI 2025-07-05 10:26:56 -07:00
jelveh 4ca7e852d8 fix toolbar showing scroll on disabling autohide 2025-07-05 09:41:00 -07:00
Nariman Jelveh 3eef18c578 Remove captcha from frotnend (#1335) 2025-07-04 16:31:42 -07:00
jelveh 62e786faa6 Do not activate toolbar when desktop selectable is active 2025-07-02 16:14:18 -07:00
jelveh 7285a27be4 Fix toolbar autohide/hide timing 2025-07-01 22:42:50 -07:00
Nariman Jelveh 2103374854 Dynamic toolbar: allow users to customize toolbar sticky (#1330)
* close #1329
2025-07-01 18:37:36 -07:00
Nariman Jelveh 485f9a6f14 Don't hide the toolbar on mobile and tablet (#1328) 2025-06-30 17:18:56 -07:00
Nariman Jelveh 9700488aff Merge pull request #1324 from HeyPuter/dynamic-toolbar
Dynamic toolbar
2025-06-30 16:53:35 -07:00
jelveh edf00a5fd4 Update style.css 2025-06-30 10:24:24 -07:00
jelveh 278bb29ee5 better coloring and delay 2025-06-30 07:01:16 -07:00
jelveh 0864be054c When a window is being dragged don't activate toolbar (duh!) 2025-06-29 19:36:03 -07:00
jelveh 40260a9fb2 full support for fullpage mode 2025-06-29 19:17:58 -07:00
jelveh ad68ddeacc make window snap animation appear faster 2025-06-29 17:36:58 -07:00
jelveh 54ae9c1ca9 the first time toolbar is shown, keep it open until user hovers over it at least once 2025-06-29 16:57:24 -07:00
jelveh b1de89e1ec Update tr.js 2025-06-29 16:03:41 -07:00
jelveh 3db99aa67b Puter will now support only one type of menubar, and that's the in-window type 2025-06-29 15:58:53 -07:00
jelveh 0895418f0c Improve the logic behind hiding the toolbar after clicks and other interactions 2025-06-29 15:18:20 -07:00
jelveh b0fdf1f63d Implement the basics of a dynamic toolbar
Dynamic toolbar will hide and show automatically depending on user actions and state of the app. This is to save screen real estate.
2025-06-29 14:21:40 -07:00
Nariman Jelveh 2ddd26b13d Merge pull request #1319 from Krisss46/fixing-arrow-key-behaviour
fix: arrow key navigation in Explorer (#1089)
2025-06-28 20:44:56 -07:00
Krisss46 5fd5017080 fix: arrow keys unresponsive when selecting items with offset center points 2025-06-29 03:05:17 +01:00
jelveh 9a847760bc Fix #1231 2025-06-28 12:38:39 -07:00
Krisss46 ae07a5e316 fix: arrow key navigation 2025-06-28 16:12:12 +01:00
jelveh c4e32474b2 Remove some redundant checks and favicon handling logic 2025-06-27 23:05:53 -07:00
jelveh ad62182566 Update new_context_menu_item.js 2025-06-27 22:53:49 -07:00
jelveh 1df874c581 remove refresh_item_container since it's not used 2025-06-27 22:49:58 -07:00
jelveh aeac392a7c Remove mods and favicons 2025-06-27 22:46:34 -07:00
Nariman Jelveh 196f996435 Merge branch 'main' into feature/desktop-shortcut-link 2025-06-27 22:45:38 -07:00
Bilal 807d7bd698 fix: complete Norwegian Nynorsk translation 2025-06-22 12:25:22 +05:00
KernelDeimos 659879812d fix: necessary updates happen for move save too 2025-06-18 00:21:23 -04:00
KernelDeimos 8b56d1131c clean: move handle_url_save for readability 2025-06-17 22:16:00 -04:00
KernelDeimos 771eb37c7f dev: add save file by moving from appdata 2025-06-17 22:14:40 -04:00
KernelDeimos 0eb436678b move: handle_same_name_exists to helpers.js 2025-06-17 21:11:44 -04:00
KernelDeimos a4b412dc46 refactor: IPC/showSaveFilePicker 2025-06-17 21:03:32 -04:00
KernelDeimos 1a0718028b dev: migrate toolbar labels to i18n 2025-05-26 13:04:10 -04:00
KernelDeimos 9c78c0d3f7 dev: rename 'puter.log' to 'puter.logger' 2025-05-26 11:31:16 -04:00
jelveh 951bc0ea7a Only show Puter Dialog when needed 2025-05-23 19:50:47 -07:00
jelveh 93645cd0ae remove redundant console.logs 2025-05-18 17:37:40 -07:00
jelveh ea405e5cb6 Update style.css 2025-05-17 15:47:50 -07:00
jelveh 84e190cb59 Revert broken code for deleting profile picture 2025-05-17 15:20:59 -07:00
jelveh d7b9f1e866 Remove the Flexer component from the Security tab in settings 2025-05-17 14:30:57 -07:00