Luke
c9c90efaf8
Revert "refactor(client/context): rename lastHoveredContextItem variable"
...
This reverts commit 61db40c07d .
2023-02-10 18:11:06 +01:00
Luke
407cfd8eb2
refactor(web/radial): radial menu back on rmb
2023-02-10 18:10:43 +01:00
Luke
ec62398e55
Revert "refactor(web/menu): radial menu onHover"
...
This reverts commit f20e3a288f .
2023-02-10 18:09:26 +01:00
Luke
f20e3a288f
refactor(web/menu): radial menu onHover
2023-02-08 10:17:44 +01:00
Luke
61db40c07d
refactor(client/context): rename lastHoveredContextItem variable
2023-02-08 10:06:02 +01:00
masonschafercodes
7a22da68e6
feat(web/context): mouse enter and mouse leave events ( #218 )
...
* feat(web/context): mouse enter and mouse leave events
* chore(web/context): condense into one function for onHover
* feat(resource/context): cache last hovered option
2023-02-08 10:05:30 +01:00
Luke
de7cf1ccef
refactor(web/menu): improve radial menu transitions
2023-02-07 13:51:42 +01:00
Marcel
4a9137ad04
feat(web/progress): progress bar in context menu's metadata ( #217 )
...
* feature: progress bar in context menu's metadata
* undefined check `metadata.progress`
2023-02-06 15:42:19 +01:00
Luke
be99e16e34
refactor(web/menu): radial sub menu chaining
...
still some quirks to figure out but it's working well
2023-02-04 22:13:22 +01:00
Luke
a44142333e
refactor(web/menu): radial menu item removing and refreshing
2023-02-02 12:23:48 +01:00
Luke
ada2a35c0b
refactor(client/interface): initial lua radial menu implementation
...
linden pls don't kill me
2023-01-31 14:07:52 +01:00
Luke
1b2e287153
refactor(web/menu): always draw full radial menu circle
2023-01-30 19:38:20 +01:00
Luke
054dc2688c
refactor(web/menu): remove unused code
2023-01-30 19:23:14 +01:00
Luke
3fb66f30d4
refactor(web/menu): radial menu item onClick
2023-01-30 19:22:45 +01:00
Luke
26a1ecb93d
refactor(web/menu): radial menu visibility handling
2023-01-29 13:06:57 +01:00
Luke
ea74e5705f
refactor(web/menu): display bg circle when there's less than 3 item
2023-01-28 18:03:51 +01:00
Luke
f5617abbb6
refactor(web/menu): rename planet menu to radial menu
2023-01-27 22:03:00 +01:00
Luke
a8abefa2d0
refactor(web/menu): reduce center circle size
2023-01-27 21:59:03 +01:00
Luke
c7ec1b7307
refactor(web/menu): remove unused radial menu styling
2023-01-27 21:58:04 +01:00
Luke
5e4d36d1ab
refactor(web/menu): radial menu center button
2023-01-25 21:47:04 +01:00
DokaDoka
b09ca41001
refactor(web/menu): fix alignment
...
I am web dev now
2023-01-23 00:33:39 +11:00
Luke
819bb60bd3
refactor(web/menu): attempt alignment
...
doka pls fix
2023-01-22 14:00:44 +01:00
Luke
1be71ea6ba
refactor(web/menu): properly align circle menu labels
2023-01-21 22:01:22 +01:00
Luke
6c9d3d21cc
refactor(web/menu): wip radial menu
...
i hate circles
2023-01-21 15:06:25 +01:00
Luke
aac17fd4af
refactor(web/menu): move planet menu styling
2023-01-20 12:26:50 +01:00
Luke
6485ede5f8
refactor(web/menu): planet menu data passing
2023-01-20 12:08:46 +01:00
Luke
b3c84d94c4
feat(web/menu): initial planet menu design
2023-01-16 15:07:17 +01:00
Luke
e68d8d311c
refactor(web/menu): cap tooltip width
2023-01-10 21:44:36 +01:00
Luke
d7cadfb030
refactor(web/context): strict undefined check for progress
2023-01-10 21:36:10 +01:00
Luke
a73d3e63da
refactor(web): remove all borders from buttons
2023-01-08 10:56:49 +01:00
Luke
9e7bf72f3a
refactor(web/menu): adjust header icon color ternary
2023-01-04 20:00:29 +01:00
Luke
0d442a5b8d
refactor(web/menu): remove borders from context menu buttons
2023-01-04 19:57:08 +01:00
Luke
d48b5e199b
refactor(web/menu): list menu mantine rewrite
2023-01-02 13:45:19 +01:00
Luke
2a1e7ff632
refactor(web): scale fade transition
2022-12-31 15:03:16 +01:00
Luke
102d58cbb1
refactor(web): context button description class
2022-12-21 14:53:25 +01:00
Luke
e7d86af637
refactor(web/context): context menu mantine rewrite
2022-12-17 14:27:55 +01:00
david
49bb2a00a1
feat(web): notify and context markdown wrapper ( #174 )
...
Co-authored-by: davidxd33 <dponce@gmail.com >
2022-12-15 23:43:14 +01:00
Jag
34022ce81e
fix(web/menu): combine initial select and first render checks ( #172 )
...
* fix(web/menu): Combine initial select and first render
* Combining these checks should fix an issue of having to toggle a checkbox multiple times before it is recognized as being toggled
* Change firstRenderRef current value before first menu movement
* Too many async on change functions are happening let's handle this once the user decides to interact with the menu
* fix(web/menu): remove first render ref check for onSelected
Co-authored-by: Luke <sabolukas03@gmail.com >
2022-12-14 18:59:49 +01:00
Luke
e806781dde
fix(web/menu): fix onSideScroll getting called on open
...
Potentially fixes an issue where if your first item in the menu was a side scroll the onSideScroll would get instantly called when opening
2022-12-08 11:23:49 +01:00
ItsANoBrainer
a6f47cfe59
feat(web): context and list menu progress bars ( #166 )
...
* Initial Commit
Adds support for progress bars to items in both context and and list menus.
* Default Color Scheme & Description Weight
Added default color scheming, and made the description for context menues a lighter font weight for separating the title vs description better.
* iconColor to Menu & Small Syntax Changes
* Update Item.tsx
* fix(web/context): syntax error
also reformat with prettier
* chore(web/menu): reformat with prettier
Co-authored-by: Luke <sabolukas03@gmail.com >
2022-12-04 10:33:25 +01:00
Luke
39668aa26a
fix(web/menu): fix button tooltip not displaying on side scroll button
2022-11-12 13:58:34 +01:00
Luke
306b7b3670
feat(web/context): disabled buttons
2022-11-06 11:01:39 +01:00
Luke
33b70b6f1c
refactor(web/context): cache context option into a variable
2022-11-05 11:20:59 +01:00
Luke
765fff3598
fix(web/menu): show values description without requiring button desc
2022-10-30 10:16:28 +01:00
Luke
00465d2e7a
perf(web/menu): memoize button and header components
...
Drops the render times for a 9 button menu down from 12ms to 1.6ms
2022-10-29 16:15:58 +02:00
Luke
6b8cfa990f
fix(web/menu): fix vertical icon alignment
2022-10-29 16:00:35 +02:00
Luke
9cc7b9270e
refactor(web/menu)!: pass scrollIndex or checked in the same value
...
If the button is a scroll button then `isScroll` is passed into args, if a button is a checkbox then `isCheck` is passed into args.
Requires `args` to always be of type `table`
2022-10-29 15:55:08 +02:00
Luke
c227282ce0
refactor(web/menu): update checkbox styling
2022-10-29 15:55:08 +02:00
BerkieBb
5ba1a3b8f9
feat(interface/menu): checkbox
...
feat(package/interface/menu): checkbox
feat(web/menu/list): checkbox
feat(web/menu/list): checkbox option for ListItem
feat(web/menu/list): custom checkbox
2022-10-29 15:55:08 +02:00
Jag
de23227ea7
fix(web/menu): move firstRengerRef check earlier in the function ( #145 )
...
* This fixes a case where, if the first option selected in a menu doesn't have side scroll values, the first time that you *did* side scroll on an item in that menu it would no trigger onSideScroll
2022-10-29 10:11:40 +02:00