Commit graph

16 commits

Author SHA1 Message Date
0c16b43ec7 feat: Update app and windows
- Move setAttributesAccordingToPosition to HippieTaskbar
- Use TimeDisplay inside HippieTaskbar
- Add readJsonFile and loadJson to app
- Initialize taskbar with config from data/windows.json
- Update jshint globals
2026-04-05 14:20:14 +02:00
2091dc4f30 feat: Change mouse to pointer for windows 2026-03-10 22:15:08 +01:00
7912b002a2 feat: Change edge detection for HippieTaskBar
- Add position to options
- New function for edge detection according to mouse position
- set and use options.position
2026-02-09 21:08:30 +01:00
9696442a91 feat: Remove cases that cannot happen
Optimize HippieTaskBar by removing cases that cannot happen.
2026-02-09 19:09:02 +01:00
50b43cdc2f feat: More styling for placeholder 2025-11-02 13:12:04 +01:00
a18b42bb2a feat: More dynamic styling for placeholder
- Create global setAttributesAccordingToPosition
- Change style of placeholder to show snap side
2025-11-02 12:22:08 +01:00
3dc836656a fix: Placeholder moving away from cursor
- Create global centerElementUnderCursor for centering
- Change order of actions for mouse move
2025-11-02 11:57:04 +01:00
aa5d095e64 feat: Change placeholder while dragging
- Move edge detection to global function
- Change placeholder style during mouse move
2025-11-02 11:40:54 +01:00
13b1924360 refactor: Move stuff around and rename
- DragAdv is now HippieTaskBar
- Remove previous version
- Move unused stuff
- Replace Clock with TimeDisplay
2025-11-02 10:20:51 +01:00
77178886cd feat: Update DateDisplay
- formatDate now distinguishes direction
- Update task bar options with hierarchy
- Add direction to options
- Rename setPosition to setOptions
2025-11-02 10:14:54 +01:00
20b43b8d35 feat: Integrate date in task bar
- Date format can now be changed dynamically
- Date element is now created in task bar class
- Class can accept options, currently only for date
- Date format is changed according to position
- Changed dom structure for clock
- Refactor setPosition method to be more flexible
- Changed flex style for task bar items to inherit the direction
2025-11-02 09:26:19 +01:00
abf393191c style: Reformat and comment 2025-11-02 09:18:12 +01:00
bac4b73c08 feat: Add time to task bar
- Add app.js to windows screen
- Add time display to task bar
- Add new TimeDisplay class to app.js
- Add play and pause buttons as example
- Fix event handlers of task bar according to bubbling and propagation
2025-11-01 11:21:19 +01:00
1ada62f6ec feat: Optimize DragAdv class
- Only use left mouse button
- Handle element and placeholder together
2025-10-27 23:24:37 +01:00
0996ace34f fix: Task bar drag behaviour
- Placeholder is centered to mouse cursor
- Placeholder is positioned on mouse down not only on move
2025-10-27 21:54:36 +01:00
e0cfcfac13 feat: Add and rename screens
- Add windows screen
- Add windows.js
- Different variants of classes for drag and edge snap behaviour
- Rename js files to better distinguish usage
2025-10-27 21:33:38 +01:00